i18n-migrations 0.2.3 → 0.2.4

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
- SHA1:
3
- metadata.gz: 9c4a2b5e44a50d5964357bb129e0c6962b8fe1ef
4
- data.tar.gz: 4ce6af1bb0c7306f3232a8c8457359bbc8cfd48a
2
+ SHA256:
3
+ metadata.gz: 8c95c8d9301a3e3a6ab97029ae9364fd2c81691202b0eecb1d9f9aefa9f70197
4
+ data.tar.gz: 4fa547aa1f4d965d714263492f37410f533af2cdd04cc6a2c2bb0965adf42bee
5
5
  SHA512:
6
- metadata.gz: 062f502cee7369d9633614cb81fad1f4337640fc890c3ccb396fdbcdc287121b0274e7679368401750820f52b0ee8fd701b83163edf75dcf9bc95c9ab6028274
7
- data.tar.gz: 71fce5f7ac6ec1555b74684141e106168f4c36f56138bebb65480df45c991a6b0b924d7653883ffb5c59f9fde02fa183215ed8ed265eb54b313a4f577b1b3cfb
6
+ metadata.gz: aeedf137ad548fee7e4a8e8da9433ba82ccb175aedf5a44f25feed660d9aad51a9f8039b4daa28a6472e6530204bb55855ab161f246a34959b40ffd79c2cedaa
7
+ data.tar.gz: 7df7ad7561c9c6afe16854e85898b28154c39b7f07f056ad6c5faefa5d804b7c789418240341e1ff2d5b006fc45a898518e5ef33c820816cd74699fdd6daf614
@@ -40,7 +40,8 @@ module I18n
40
40
  puts "Creating migration directory #{config.migration_dir} because it didn't exist."
41
41
  FileUtils.mkdir_p(config.migration_dir)
42
42
  end
43
- File.open(File.join(config.migration_dir, file_name), 'w') do |f|
43
+ full_file_name = File.join(config.migration_dir, file_name)
44
+ File.open(full_file_name, 'w') do |f|
44
45
  f << <<-CONTENTS
45
46
  require 'i18n-migrations'
46
47
 
@@ -51,7 +52,7 @@ class #{name.camelcase} < I18n::Migrations::Migration
51
52
  end
52
53
  CONTENTS
53
54
  end
54
- puts "Wrote new migration to #{file_name}"
55
+ puts "Wrote new migration to #{full_file_name}"
55
56
  end
56
57
 
57
58
  def migrate(locale_or_all = 'all')
@@ -1,5 +1,5 @@
1
1
  module I18n
2
2
  module Migrations
3
- VERSION = "0.2.3"
3
+ VERSION = "0.2.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n-migrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Lightsmith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-02 00:00:00.000000000 Z
11
+ date: 2018-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  version: '0'
148
148
  requirements: []
149
149
  rubyforge_project:
150
- rubygems_version: 2.6.11
150
+ rubygems_version: 2.7.7
151
151
  signing_key:
152
152
  specification_version: 4
153
153
  summary: Migrations for doing i18n.