data-migration 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c310b238ffce7232c8d7e043b3bb05c22c7fc9feb1a202653172152e0eafe54f
4
- data.tar.gz: c177a8be4fb4805a0cdac0683ea2b1711f8e78df14176f271d834869c9d7eb0f
3
+ metadata.gz: 37438001715cc268d2f647d68ee27c6a49d3a4c879187d61a2779523b1d34fb9
4
+ data.tar.gz: 55d7277c0848aa1395ab004ec986a3d268e18feebbe5fdbe7766b5658ef2a561
5
5
  SHA512:
6
- metadata.gz: 5c3653642986c3de1ac483875541c433f44fc604fe648dcf3b22a9065b16d0370b83c6a55ad20c7a41ed78dee646c14f69eacd9cf2f3f3fa49f7e9b8e944fb44
7
- data.tar.gz: f604aa6ac2c1993c04b7f993eabf4f56f81c0db9b1c0a892e46f390a75fe4c11a0f8d237b2e80de190b497a07b68d0f7e3d08b162682245234120e1e40a6e58f
6
+ metadata.gz: 1d655d2e86118b04fdb4f778e3afa611caab5dc95bd048e71f24baf6235b4c7c8fad1cdc2a70d8a15fb6f5491f942d7f272f91bb2b618f9e1541dfae4a443310
7
+ data.tar.gz: 72542f7c60d054c70b62b39468edb645c1a3cf777ea07fd30ca710f90bdc9aa8ca66d89979ace38ed2eb48f97740757c836cda7a31169e83031a7b84609c542c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.1.0
2
+
3
+ - Fix gem main file name to be `data-migration.rb` instead of `data_migration.rb`
4
+
1
5
  # 1.0.0
2
6
 
3
7
  - Initial version
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- data-migration (1.0.0)
4
+ data-migration (1.1.0)
5
5
  activejob (> 5)
6
6
  activerecord (> 5)
7
7
  activesupport (> 5)
data/README.md CHANGED
@@ -129,7 +129,7 @@ Contribution policy:
129
129
  Prefer using script `usr/bin/release.sh`, it will ensure that repository is synced and after publishing gem will create a tag.
130
130
 
131
131
  ```sh
132
- GEM_VERSION=$(grep -Eo "VERSION\s*=\s*\".+\"" lib/data_migration.rb | grep -Eo "[0-9.]{5,}")
132
+ GEM_VERSION=$(grep -Eo "VERSION\s*=\s*\".+\"" lib/data-migration.rb | grep -Eo "[0-9.]{5,}")
133
133
  rm data-migration-*.gem
134
134
  gem build data-migration.gemspec
135
135
  gem push data-migration-$GEM_VERSION.gem
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = "data-migration"
3
- gem.version = File.read(File.expand_path("../lib/data_migration.rb", __FILE__)).match(/VERSION\s*=\s*"(.*?)"/)[1]
3
+ gem.version = File.read(File.expand_path("../lib/data-migration.rb", __FILE__)).match(/VERSION\s*=\s*"(.*?)"/)[1]
4
4
 
5
5
  repository_url = "https://github.com/amkisko/data-migration.rb"
6
6
  root_files = %w[CHANGELOG.md LICENSE.md README.md]
@@ -3,7 +3,7 @@ require "data_migration/job"
3
3
  require "data_migration/task"
4
4
 
5
5
  module DataMigration
6
- VERSION = "1.0.0".freeze
6
+ VERSION = "1.1.0".freeze
7
7
 
8
8
  module_function
9
9
 
data/spec/rails_helper.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require "active_record"
2
2
 
3
- require "data_migration"
3
+ require "data-migration"
4
4
 
5
5
  require "support/rails_helpers"
6
6
 
data/spec/spec_helper.rb CHANGED
@@ -9,7 +9,7 @@ SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter
9
9
 
10
10
  require "active_record"
11
11
 
12
- require "data_migration"
12
+ require "data-migration"
13
13
 
14
14
  Dir[File.expand_path("support/**/*.rb", __dir__)].each { |f| require_relative f }
15
15
 
data/usr/bin/release.sh CHANGED
@@ -18,7 +18,7 @@ if [[ $(git diff --shortstat 2>/dev/null | tail -n1) != "" ]]; then
18
18
  fi
19
19
 
20
20
  GEM_NAME="data-migration"
21
- VERSION=$(grep -Eo "VERSION\s*=\s*\".+\"" lib/data_migration.rb | grep -Eo "[0-9.]{5,}")
21
+ VERSION=$(grep -Eo "VERSION\s*=\s*\".+\"" lib/data-migration.rb | grep -Eo "[0-9.]{5,}")
22
22
  GEM_FILE="$GEM_NAME-$VERSION.gem"
23
23
 
24
24
  e "gem build $GEM_NAME.gemspec"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data-migration
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Makarov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-08 00:00:00.000000000 Z
11
+ date: 2024-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -176,7 +176,7 @@ files:
176
176
  - LICENSE.md
177
177
  - README.md
178
178
  - data-migration.gemspec
179
- - lib/data_migration.rb
179
+ - lib/data-migration.rb
180
180
  - lib/data_migration/config.rb
181
181
  - lib/data_migration/job.rb
182
182
  - lib/data_migration/task.rb