Skip to content

Commit 086582b

Browse files
authored
Merge pull request #40 from OneSignal/fix/ruby_3.0
Fixing the CLI in Ruby 3.0+
2 parents 6619794 + b50e325 commit 086582b

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

DEVELOPING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The primary tests are located in `spec/osproject_spec.rb`, which contains the au
1414
Using RSpec, you can run test cases using `bin/rspec spec/osproject_spec.rb`. Note that the require paths are resolved according to the dir you're in when you're executing the code so running `bin/rspec spec/osproject_spec.rb` from inside the spec folder will not work.
1515

1616
## CLI
17-
CLI Behavior and business logic tests are located in `spec/oscli.rb`.
17+
CLI Behavior and business logic tests are located in `spec/osproject_spec.rb`.
1818

1919
## API
2020
API calls are not tested, as the API Client Library codebase handles this.

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ source 'https://rubygems.org'
33
gem 'rspec'
44
gem 'clamp'
55
gem 'xcodeproj'
6+
gem 'rexml'

Gemfile.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ GEM
88
colored2 (3.1.2)
99
diff-lcs (1.4.4)
1010
nanaimo (0.3.0)
11+
rexml (3.2.4)
1112
rspec (3.10.0)
1213
rspec-core (~> 3.10.0)
1314
rspec-expectations (~> 3.10.0)
@@ -35,6 +36,7 @@ PLATFORMS
3536

3637
DEPENDENCIES
3738
clamp
39+
rexml
3840
rspec
3941
xcodeproj
4042

0 commit comments

Comments
 (0)