active_currency 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cfc5f4cd4fb66fb4bf8792dacfd16014f2bb5bb44d603a4b5cd72985999b1729
4
- data.tar.gz: 20995e8b1c9b3d4935bc1e6f1d9a2832fd0cd703e4fcb60de44b413e78995dae
3
+ metadata.gz: 938c7b875052bf9d26b9ade8d9f1f268a94da7949a1685961a4265b01ed70a1c
4
+ data.tar.gz: cd167c1b911156c2025d75b29be92cfdfceed15aac7533b736db5bb63a59d3bc
5
5
  SHA512:
6
- metadata.gz: 8804e7be48d851288b48efb05d7dbba0c57b62d3b71937d5e375c98de4485bbcab9a2de042abe4614e37d77cfc0a709b310faca4d6245156373c4924c4311b80
7
- data.tar.gz: 3843245a24efe3d2eec8ae19a834b4d7e1e7b82d48c7203c5f41326e894c42228b524c6379f38beee9732448587b58392f814894dfbc75a1b5199d344a9290a0
6
+ metadata.gz: 51af4e890792d65780f3ce822ca6bef58465b2a34578b7edb0c6776d8d104ba569ef282dd7004715944e7d388b44a3935c5e0659ae87fdbf3f01ce1b36fd1cec
7
+ data.tar.gz: 2b66ea9433ccf5e35b54e22296b95a765dd9b249930e02c056d49afcc0c9f8a6731e7340db6db606fcbda33be7b4bc5d4f6fac53dc75dbae7e4a1b6991f634cc
data/README.md CHANGED
@@ -130,19 +130,14 @@ Update `CHANGELOG.md`, update version in `lib/active_currency/version.rb`.
130
130
  Then:
131
131
 
132
132
  ```sh
133
- gem install bundler:1.17.2
133
+ gem install bundler:1.3.0
134
134
  BUNDLE_GEMFILE=Gemfile-rails3.2 bundle update
135
135
  BUNDLE_GEMFILE=Gemfile-rails4.2 bundle update
136
+ BUNDLE_GEMFILE=Gemfile-rails5.2 bundle update
136
137
 
137
138
  gem install bundler:2.1.2
138
- BUNDLE_GEMFILE=Gemfile-rails5.2 bundle update
139
139
  BUNDLE_GEMFILE=Gemfile-rails6.0 bundle update
140
140
 
141
- BUNDLE_GEMFILE=Gemfile-rails3.2 bundle exec rake
142
- BUNDLE_GEMFILE=Gemfile-rails4.2 bundle exec rake
143
- BUNDLE_GEMFILE=Gemfile-rails5.2 bundle exec rake
144
- BUNDLE_GEMFILE=Gemfile-rails6.0 bundle exec rake
145
-
146
141
  git add CHANGELOG.md lib/active_currency/version.rb Gemfile-rails*.lock
147
142
  git commit -m v`ruby -r./lib/active_currency/version <<< 'puts ActiveCurrency::VERSION'`
148
143
  bin/rake release
@@ -5,13 +5,13 @@ module ActiveCurrency
5
5
  isolate_namespace ActiveCurrency
6
6
 
7
7
  initializer :append_migrations do |app|
8
- # This prevents migrations from being loaded twice from the inside of the
9
- # gem itself (dummy test app)
10
- if app.root.to_s !~ /#{root}/
11
- config.paths['db/migrate'].expanded.each do |migration_path|
12
- app.config.paths['db/migrate'] << migration_path
13
- end
8
+ next if app.root.to_s.match(root.to_s)
9
+
10
+ paths = ActiveRecord::Migrator.migrations_paths
11
+ config.paths['db/migrate'].expanded.each do |path|
12
+ paths << path
14
13
  end
14
+ paths.uniq!
15
15
  end
16
16
  end
17
17
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveCurrency
4
- VERSION = '1.2.0'
4
+ VERSION = '1.2.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_currency
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sunny Ripert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-22 00:00:00.000000000 Z
11
+ date: 2020-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: rspec-rails
71
85
  requirement: !ruby/object:Gem::Requirement