-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #156 from coding-bunny/upgrade
Adding support for latest ruby and Rails 5
- Loading branch information
Showing
10 changed files
with
56 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
language: ruby | ||
rvm: | ||
- 2.2 | ||
- 2.3 | ||
- 2.4.1 | ||
- 2.5.7 | ||
- 2.6.5 | ||
- jruby | ||
- rbx-2 | ||
|
||
gemfile: | ||
- gemfiles/sidekiq52_rails42.gemfile | ||
- gemfiles/sidekiq52_rails52.gemfile | ||
- gemfiles/sidekiq60_rails52.gemfile | ||
|
||
script: "bundle exec rspec spec" | ||
|
||
before_install: | ||
- gem install bundler | ||
- gem install bundler:1.17.3 | ||
|
||
matrix: | ||
allow_failures: | ||
- rvm: jruby | ||
- rvm: rbx-2 | ||
include: | ||
- rvm: 2.0 | ||
gemfile: gemfiles/ruby20.gemfile | ||
- rvm: 2.4 | ||
gemfile: gemfiles/sidekiq4.gemfile |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'sidekiq', '~> 5.2.2' | ||
gem 'nokogiri', '~> 1.8.5' | ||
gem 'rspec-core', '~> 3.8' | ||
gem 'activejob', '~> 4.2' | ||
gem 'actionmailer', '~> 4.2' | ||
gem 'activerecord', '~> 4.2' | ||
gem "activemodel", "~> 4.2" | ||
gem "railties", "~> 4.2" | ||
|
||
gemspec :path => '../' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'sidekiq', '~> 5.2.2' | ||
gem 'nokogiri', '~> 1.8.5' | ||
gem 'rspec-core', '~> 3.8' | ||
gem 'activejob', '~> 5.2' | ||
gem 'actionmailer', '~> 5.2' | ||
gem 'activerecord', '~> 5.2' | ||
gem "activemodel", "~> 5.2" | ||
gem "railties", "~> 5.2" | ||
|
||
gemspec :path => '../' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'sidekiq', '~> 6.0' | ||
gem 'nokogiri', '~> 1.8.5' | ||
gem 'rspec-core', '~> 3.8' | ||
gem 'activejob', '~> 5.2' | ||
gem 'actionmailer', '~> 5.2' | ||
gem 'activerecord', '~> 5.2' | ||
gem "activemodel", "~> 5.2" | ||
gem "railties", "~> 5.2" | ||
|
||
gemspec :path => '../' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
class TestResource | ||
include GlobalID::Identification | ||
|
||
attr_reader :global_id | ||
|
||
def initialize | ||
@global_id = GlobalID.create(self, { app: 'rspec-sidekiq' }) | ||
end | ||
|
||
def self.find(id) | ||
end | ||
|
||
def id | ||
rand(36**10).to_s 36 | ||
@id ||= rand(36**10).to_s 36 | ||
end | ||
end |