Skip to content

Commit

Permalink
update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeta committed Apr 14, 2018
1 parent 514763d commit 3c5b521
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: ruby
cache: bundler
rvm:
- 2.2.6
- 2.3.3
- 2.2.7
- 2.3.4
before_script:
- mysql -e 'create database enju_test DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;'
- psql -c 'create database enju_test;' -U postgres
Expand All @@ -17,4 +17,3 @@ notifications:
slack:
secure: H47CWe0kjyXGsaSOtjt22kVvJ8ixbMrvF9imV2nxCUzqK7oens8xNE6VqB3JQ2Rb5n6NMZHpR2cCcG8jcSRm9ZmGgOHLaUdxRxVqTJ1dgD64j1/wNlpNGUp3eAo8XurarmF+06DBOLgiNG65mNmcQ2HFxDC0Vbhxwt4F1IvTlLU=
sudo: false
dist: precise
2 changes: 1 addition & 1 deletion app/models/inter_library_loan.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def state_machine
InterLibraryLoanStateMachine.new(self, transition_class: InterLibraryLoanTransition)
end

has_many :inter_library_loan_transitions
has_many :inter_library_loan_transitions, autosave: false

delegate :can_transition_to?, :transition_to!, :transition_to, :current_state,
to: :state_machine
Expand Down
8 changes: 4 additions & 4 deletions enju_inter_library_loan.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ Gem::Specification.new do |s|
s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc"]
s.test_files = Dir["spec/**/*"] - Dir["spec/dummy/log/*"] - Dir["spec/dummy/solr/{data,pids,default,development,test}/*"] - Dir["spec/dummy/tmp/*"]

s.add_dependency "enju_circulation", "~> 0.2.4"
s.add_dependency "enju_circulation", "~> 0.2.5"

s.add_development_dependency "enju_leaf", "~> 1.2.1"
s.add_development_dependency "enju_leaf", "~> 1.2.2"
s.add_development_dependency "sqlite3"
s.add_development_dependency "mysql2"
s.add_development_dependency "pg"
s.add_development_dependency "mysql2", "~> 0.4.10"
s.add_development_dependency "pg", "~> 0.21"
s.add_development_dependency "rspec-rails", "~> 3.5"
s.add_development_dependency "factory_bot_rails"
s.add_development_dependency "sunspot_solr", "2.2.0"
Expand Down

0 comments on commit 3c5b521

Please sign in to comment.