-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update all gem to support rails 5 (#21)
* - Update all gem to support rails 5 - Ruby version support only for >= 2 - Better handling for nulldb - Add bin/console for better console access - Add support for scoped in all version of Rails >= 3 - Fix time parsing bug * Fix travis
- Loading branch information
1 parent
1122d29
commit a4e3382
Showing
12 changed files
with
100 additions
and
75 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,5 +1,5 @@ | ||
sudo: false | ||
language: ruby | ||
rvm: | ||
- 2.1.5 | ||
before_install: gem install bundler -v 1.15.1 | ||
- 2.2.2 | ||
before_install: gem install bundler -v 1.16.1 |
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,72 +1,73 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
salesforce-orm (1.2.6) | ||
activerecord (~> 3) | ||
activerecord-nulldb-adapter (~> 0) | ||
restforce (~> 2.5) | ||
salesforce-orm (1.3.0) | ||
activerecord | ||
activerecord-nulldb-adapter | ||
restforce | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
activemodel (3.2.22.5) | ||
activesupport (= 3.2.22.5) | ||
builder (~> 3.0.0) | ||
activerecord (3.2.22.5) | ||
activemodel (= 3.2.22.5) | ||
activesupport (= 3.2.22.5) | ||
arel (~> 3.0.2) | ||
tzinfo (~> 0.3.29) | ||
activemodel (5.1.4) | ||
activesupport (= 5.1.4) | ||
activerecord (5.1.4) | ||
activemodel (= 5.1.4) | ||
activesupport (= 5.1.4) | ||
arel (~> 8.0) | ||
activerecord-nulldb-adapter (0.3.7) | ||
activerecord (>= 2.0.0) | ||
activesupport (3.2.22.5) | ||
i18n (~> 0.6, >= 0.6.4) | ||
multi_json (~> 1.0) | ||
arel (3.0.3) | ||
builder (3.0.4) | ||
byebug (9.0.5) | ||
activesupport (5.1.4) | ||
concurrent-ruby (~> 1.0, >= 1.0.2) | ||
i18n (~> 0.7) | ||
minitest (~> 5.1) | ||
tzinfo (~> 1.1) | ||
arel (8.0.0) | ||
byebug (10.0.0) | ||
concurrent-ruby (1.0.5) | ||
diff-lcs (1.3) | ||
faraday (0.13.1) | ||
faraday (0.14.0) | ||
multipart-post (>= 1.2, < 3) | ||
faraday_middleware (0.12.2) | ||
faraday (>= 0.7.4, < 1.0) | ||
hashie (3.5.6) | ||
i18n (0.9.1) | ||
hashie (3.5.7) | ||
i18n (0.9.3) | ||
concurrent-ruby (~> 1.0) | ||
json (2.1.0) | ||
multi_json (1.12.2) | ||
minitest (5.11.3) | ||
multipart-post (2.0.0) | ||
rake (10.4.2) | ||
rake (12.3.0) | ||
restforce (2.5.3) | ||
faraday (>= 0.9.0, <= 1.0) | ||
faraday_middleware (>= 0.8.8, <= 1.0) | ||
hashie (>= 1.2.0, < 4.0) | ||
json (>= 1.7.5) | ||
rspec (3.6.0) | ||
rspec-core (~> 3.6.0) | ||
rspec-expectations (~> 3.6.0) | ||
rspec-mocks (~> 3.6.0) | ||
rspec-core (3.6.0) | ||
rspec-support (~> 3.6.0) | ||
rspec-expectations (3.6.0) | ||
rspec (3.7.0) | ||
rspec-core (~> 3.7.0) | ||
rspec-expectations (~> 3.7.0) | ||
rspec-mocks (~> 3.7.0) | ||
rspec-core (3.7.1) | ||
rspec-support (~> 3.7.0) | ||
rspec-expectations (3.7.0) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.6.0) | ||
rspec-mocks (3.6.0) | ||
rspec-support (~> 3.7.0) | ||
rspec-mocks (3.7.0) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.6.0) | ||
rspec-support (3.6.0) | ||
tzinfo (0.3.53) | ||
rspec-support (~> 3.7.0) | ||
rspec-support (3.7.1) | ||
thread_safe (0.3.6) | ||
tzinfo (1.2.4) | ||
thread_safe (~> 0.1) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
bundler (~> 1.15) | ||
byebug (~> 9) | ||
rake (~> 10.0) | ||
rspec (~> 3.0) | ||
bundler | ||
byebug | ||
rake | ||
rspec | ||
salesforce-orm! | ||
|
||
BUNDLED WITH | ||
1.15.1 | ||
1.16.1 |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env ruby | ||
|
||
require "bundler/setup" | ||
require "salesforce-orm" | ||
require "byebug" | ||
|
||
# You can add fixtures and/or initialization code here to make experimenting | ||
# with your gem easier. You can also use a different console, if you like. | ||
|
||
# (If you use this, don't forget to add pry to your Gemfile!) | ||
# require "pry" | ||
# Pry.start | ||
|
||
require "irb" | ||
IRB.start |
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,6 +1,9 @@ | ||
Dir[File.expand_path('salesforce-orm/*.rb', File.dirname(__FILE__))].each do |file| | ||
require file | ||
module SalesforceOrm | ||
def self.root | ||
File.dirname __dir__ | ||
end | ||
end | ||
|
||
module SalesforceOrm | ||
Dir[File.expand_path('salesforce-orm/*.rb', File.dirname(__FILE__))].each do |file| | ||
require file | ||
end |
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,3 +1,3 @@ | ||
module SalesforceOrm | ||
VERSION = '1.2.6'.freeze | ||
VERSION = '1.3.0'.freeze | ||
end |
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
File renamed without changes.