i18n_scaffold_generator 1.0.4 → 1.1.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
- SHA1:
3
- metadata.gz: f2489511ebb85f585e0070b4604afa3f25bc4292
4
- data.tar.gz: 405d54df2cd7f5a2221cf96bd315c4a4b6bfe258
2
+ SHA256:
3
+ metadata.gz: fea6009acd159dde5edf15198ef8a19152f771934ffdb7f39d164ecfac6b32b2
4
+ data.tar.gz: b60ef9734368c438afca345e7079a0605cc7e81a886ac9e67b2e2095b36d6fcd
5
5
  SHA512:
6
- metadata.gz: 770e9e21bb1237e7428c49b141277a4b202e4a0af929d6492be999847d5e9625b75b24046eda2f03aa43038b3028e12d1375aeb1dd276eba43d65f8f6519ad70
7
- data.tar.gz: b632d7b3bc2ee06bf71b530dc605940f91206069d85d244bf4b10b5abbf613ca8b8d8b3ab374dee3e7ee6b30921d7f84be55c0dba927401d18dbedda7375e89c
6
+ metadata.gz: 411a077f946aaccf10b68ad297524b72330145756cd9d418993653b0fbe8a860ed7072905e75ba3f65f27a8f68eb328b1af835fb40a30d4e54920fa5adb36d5a
7
+ data.tar.gz: d01bfbd03b2bbee51007b258dbf64fd79f015d8b962be4efb775946a699b7de1267e50a2c3b098059d2f702ae382f5f5d82c8a8333f49360aa6ae94bd336ae14
data/Rakefile CHANGED
@@ -21,6 +21,7 @@ Jeweler::Tasks.new do |gem|
21
21
  gem.description = %Q{Generates translation file in /config/locales for the scafolding model and for the controller}
22
22
  gem.email = "dima@koulikoff.ru"
23
23
  gem.authors = ["Dmitri Koulikoff"]
24
+ gem.version = File.exist?('VERSION') ? File.read('VERSION') : ""
24
25
  # dependencies defined in Gemfile
25
26
  end
26
27
  Jeweler::RubygemsDotOrgTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.4
1
+ 1.1.0
@@ -2,18 +2,18 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: i18n_scaffold_generator 1.0.4 ruby lib
5
+ # stub: i18n_scaffold_generator 1.1.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
- s.name = "i18n_scaffold_generator"
9
- s.version = "1.0.4"
8
+ s.name = "i18n_scaffold_generator".freeze
9
+ s.version = "1.1.0"
10
10
 
11
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
- s.require_paths = ["lib"]
13
- s.authors = ["Dmitri Koulikoff"]
14
- s.date = "2015-06-14"
15
- s.description = "Generates translation file in /config/locales for the scafolding model and for the controller"
16
- s.email = "dima@koulikoff.ru"
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib".freeze]
13
+ s.authors = ["Dmitri Koulikoff".freeze]
14
+ s.date = "2019-05-22"
15
+ s.description = "Generates translation file in /config/locales for the scafolding model and for the controller".freeze
16
+ s.email = "dima@koulikoff.ru".freeze
17
17
  s.extra_rdoc_files = [
18
18
  "LICENSE.txt",
19
19
  "README.rdoc"
@@ -33,33 +33,33 @@ Gem::Specification.new do |s|
33
33
  "spec/i18n_scaffold_generator_spec.rb",
34
34
  "spec/spec_helper.rb"
35
35
  ]
36
- s.homepage = "http://github.com/dima4p/i18n_scaffold_generator"
37
- s.licenses = ["MIT"]
38
- s.rubygems_version = "2.2.2"
39
- s.summary = "Generates translation file in /config/locales"
36
+ s.homepage = "http://github.com/dima4p/i18n_scaffold_generator".freeze
37
+ s.licenses = ["MIT".freeze]
38
+ s.rubygems_version = "3.0.3".freeze
39
+ s.summary = "Generates translation file in /config/locales".freeze
40
40
 
41
41
  if s.respond_to? :specification_version then
42
42
  s.specification_version = 4
43
43
 
44
44
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
45
- s.add_development_dependency(%q<rspec>, ["~> 3.1"])
46
- s.add_development_dependency(%q<rdoc>, ["~> 4.1"])
47
- s.add_development_dependency(%q<bundler>, ["~> 1.6"])
48
- s.add_development_dependency(%q<jeweler>, ["~> 2.0"])
49
- s.add_development_dependency(%q<simplecov>, ["~> 0.0"])
45
+ s.add_development_dependency(%q<rspec>.freeze, ["~> 3.1"])
46
+ s.add_development_dependency(%q<rdoc>.freeze, ["~> 4.1"])
47
+ s.add_development_dependency(%q<bundler>.freeze, ["~> 1.6"])
48
+ s.add_development_dependency(%q<jeweler>.freeze, ["~> 2.0"])
49
+ s.add_development_dependency(%q<simplecov>.freeze, ["~> 0.0"])
50
50
  else
51
- s.add_dependency(%q<rspec>, ["~> 3.1"])
52
- s.add_dependency(%q<rdoc>, ["~> 4.1"])
53
- s.add_dependency(%q<bundler>, ["~> 1.6"])
54
- s.add_dependency(%q<jeweler>, ["~> 2.0"])
55
- s.add_dependency(%q<simplecov>, ["~> 0.0"])
51
+ s.add_dependency(%q<rspec>.freeze, ["~> 3.1"])
52
+ s.add_dependency(%q<rdoc>.freeze, ["~> 4.1"])
53
+ s.add_dependency(%q<bundler>.freeze, ["~> 1.6"])
54
+ s.add_dependency(%q<jeweler>.freeze, ["~> 2.0"])
55
+ s.add_dependency(%q<simplecov>.freeze, ["~> 0.0"])
56
56
  end
57
57
  else
58
- s.add_dependency(%q<rspec>, ["~> 3.1"])
59
- s.add_dependency(%q<rdoc>, ["~> 4.1"])
60
- s.add_dependency(%q<bundler>, ["~> 1.6"])
61
- s.add_dependency(%q<jeweler>, ["~> 2.0"])
62
- s.add_dependency(%q<simplecov>, ["~> 0.0"])
58
+ s.add_dependency(%q<rspec>.freeze, ["~> 3.1"])
59
+ s.add_dependency(%q<rdoc>.freeze, ["~> 4.1"])
60
+ s.add_dependency(%q<bundler>.freeze, ["~> 1.6"])
61
+ s.add_dependency(%q<jeweler>.freeze, ["~> 2.0"])
62
+ s.add_dependency(%q<simplecov>.freeze, ["~> 0.0"])
63
63
  end
64
64
  end
65
65
 
@@ -2,5 +2,5 @@ require 'rails/generators/rails/scaffold/scaffold_generator'
2
2
 
3
3
  class Rails::Generators::ScaffoldGenerator
4
4
  class_option :i18n, desc: 'Internalization Engine', default: 'i18n'
5
- hook_for :i18n
5
+ hook_for :i18n, required: true
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n_scaffold_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitri Koulikoff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-14 00:00:00.000000000 Z
11
+ date: 2019-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -121,8 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  - !ruby/object:Gem::Version
122
122
  version: '0'
123
123
  requirements: []
124
- rubyforge_project:
125
- rubygems_version: 2.2.2
124
+ rubygems_version: 3.0.3
126
125
  signing_key:
127
126
  specification_version: 4
128
127
  summary: Generates translation file in /config/locales