activerecord-quiet_schema_version 0.1.0 → 0.2.0

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
  SHA1:
3
- metadata.gz: 074ac37067a082fba2f6159575e60501f6675a59
4
- data.tar.gz: b0290eab271acb2106fbd756f5e2e8b4427460a8
3
+ metadata.gz: 8d1e55456ce0303fd1917baa1c5458d1518bf177
4
+ data.tar.gz: cab9d0e10d09d53c944bfa546c0ad66dbffaf9e3
5
5
  SHA512:
6
- metadata.gz: f753e3a49f7329d97201559ded1ec82c28a2fe4b16fbd8ea69c1ee21a1f4fc70e468fe177a873ce334c3198b4d995fd3d4b593f8c05f43ffea740ec15ef495b3
7
- data.tar.gz: 46aa85d3c35ce3bc54fe577171693bd30bbb5f3d5a620ae318ee270bcc0bfc4ef6519551440f9ce83bd7192c9a882c3168bb0c2fe389d8c7c96c5724e6b361d8
6
+ metadata.gz: 3aae1e213d04fbf3796383625b3d6a1c824831b675fd7dbd9295c6f6208db77ecbaa4068556ccc9586e1b01e6aa7e0419f7124d431d7cf03e6ddbcaebf37a373
7
+ data.tar.gz: 40c8d554a47e92ce7d3726e91cc6e34465a2d8cf29c88a79d15560c28ab00da761c98bfa7dc5ad3d7bced6c3c488389fb879fc08daff01127e1e84f85cf3f12b
@@ -0,0 +1,12 @@
1
+ # CHANGELOG
2
+
3
+ ## master (unreleased)
4
+
5
+ ## v0.2.0 (2017-05-18)
6
+
7
+ * [#3](https://github.com/onk/activerecord-quiet_schema_version/pull/3): Detect maximum version in subdirectories (@kamipo)
8
+
9
+
10
+ ## v0.1.0 (2017-05-07)
11
+
12
+ * Initial Release
@@ -15,7 +15,7 @@ module Activerecord
15
15
 
16
16
  def detect_maximum_version
17
17
  migrations_paths = ActiveRecord::Migrator.migrations_paths
18
- paths = migrations_paths.map { |p| "#{p}/[0-9]*_*.rb" }
18
+ paths = migrations_paths.map { |p| "#{p}/**/[0-9]*_*.rb" }
19
19
  versions = Dir[*paths].map do |filename|
20
20
  filename.split("/").last.split("_").first.to_i
21
21
  end
@@ -1,5 +1,5 @@
1
1
  module Activerecord
2
2
  module QuietSchemaVersion
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-quiet_schema_version
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takafumi ONAKA
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-07 00:00:00.000000000 Z
11
+ date: 2017-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -90,6 +90,7 @@ files:
90
90
  - ".gitignore"
91
91
  - ".rspec"
92
92
  - ".travis.yml"
93
+ - CHANGELOG.md
93
94
  - Gemfile
94
95
  - LICENSE.txt
95
96
  - README.md
@@ -129,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
130
  version: '0'
130
131
  requirements: []
131
132
  rubyforge_project:
132
- rubygems_version: 2.6.11
133
+ rubygems_version: 2.6.12
133
134
  signing_key:
134
135
  specification_version: 4
135
136
  summary: Turns off Rails DB schema version.