i18n_scaffold_controller_template 2.1.0 → 2.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
  SHA256:
3
- metadata.gz: 8d5caf74c781674fb8e4ba3bb7f4c04941eb7d784bc497938955c51a10882e5f
4
- data.tar.gz: 5a938e367f79e619c93c5ed171925c0eaf64208a9928b0d6980deecc2547c75e
3
+ metadata.gz: a4bfe006d3f8b93cf2f27cced44ae92f1527058670a585a0292d6844dda72d3f
4
+ data.tar.gz: 89f52d254292be21e8670d619905cccdc61f9eae1c5a94bed9c3918c5bad99a0
5
5
  SHA512:
6
- metadata.gz: c4b00c8679c2fab57426a278c2c929b53138fccd8f8df18118f66c6b96a8d37350b4d1a98e49ede750366766affa4b607dfb62d6e2244ad8fc764f21a2f96dd5
7
- data.tar.gz: 6d70d51d1283675238ea69511749640a27bec8d85a6fe4d8e8046ece4fb4219355a0041d1f3af2e01ec3b14c4cc5650d47fbb7120ebe5d565d20e610184a6e36
6
+ metadata.gz: 273d2437bef4466893f0da642b0c45c35e73edfedcc0beb7eef64a95b9005041ac60fe782a0783f33d104a63594ae910abbffcfa0367156301be3d5a706f7f8c
7
+ data.tar.gz: b6dab953a1cc9d0f60b72023ae6408140553681cfd91904d710c66834008e387a7506b431e6a4ae51fa2ef4b16fff927e60ec17aa6074b017cb94b7a9311432e
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.0
1
+ 2.2.0
@@ -2,16 +2,16 @@
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_controller_template 2.1.0 ruby lib
5
+ # stub: i18n_scaffold_controller_template 2.2.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "i18n_scaffold_controller_template".freeze
9
- s.version = "2.1.0"
9
+ s.version = "2.2.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Dmitri Koulikoff".freeze]
14
- s.date = "2020-01-05"
14
+ s.date = "2024-05-18"
15
15
  s.description = "Scaffold controller template expoiting i18n and aware of cancan and WiceGrid".freeze
16
16
  s.email = "dima@koulikoff.ru".freeze
17
17
  s.extra_rdoc_files = [
@@ -37,25 +37,19 @@ Gem::Specification.new do |s|
37
37
  ]
38
38
  s.homepage = "http://github.com/dima4p/i18n_scaffold_controller_template".freeze
39
39
  s.licenses = ["MIT".freeze]
40
- s.rubygems_version = "3.0.3".freeze
40
+ s.rubygems_version = "3.1.4".freeze
41
41
  s.summary = "Scaffold controller template expoiting i18n and aware of cancan and WiceGrid".freeze
42
42
 
43
43
  if s.respond_to? :specification_version then
44
44
  s.specification_version = 4
45
+ end
45
46
 
46
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
47
- s.add_development_dependency(%q<rspec>.freeze, ["~> 3.1"])
48
- s.add_development_dependency(%q<rdoc>.freeze, ["~> 4.1"])
49
- s.add_development_dependency(%q<bundler>.freeze, ["~> 1.6"])
50
- s.add_development_dependency(%q<jeweler>.freeze, ["~> 2.0"])
51
- s.add_development_dependency(%q<simplecov>.freeze, ["~> 0.0"])
52
- else
53
- s.add_dependency(%q<rspec>.freeze, ["~> 3.1"])
54
- s.add_dependency(%q<rdoc>.freeze, ["~> 4.1"])
55
- s.add_dependency(%q<bundler>.freeze, ["~> 1.6"])
56
- s.add_dependency(%q<jeweler>.freeze, ["~> 2.0"])
57
- s.add_dependency(%q<simplecov>.freeze, ["~> 0.0"])
58
- end
47
+ if s.respond_to? :add_runtime_dependency then
48
+ s.add_development_dependency(%q<rspec>.freeze, ["~> 3.1"])
49
+ s.add_development_dependency(%q<rdoc>.freeze, ["~> 4.1"])
50
+ s.add_development_dependency(%q<bundler>.freeze, ["~> 1.6"])
51
+ s.add_development_dependency(%q<jeweler>.freeze, ["~> 2.0"])
52
+ s.add_development_dependency(%q<simplecov>.freeze, ["~> 0.0"])
59
53
  else
60
54
  s.add_dependency(%q<rspec>.freeze, ["~> 3.1"])
61
55
  s.add_dependency(%q<rdoc>.freeze, ["~> 4.1"])
@@ -71,7 +71,7 @@ class <%= controller_class_name %>Controller < ApplicationController
71
71
  format.html { redirect_to @<%= singular_table_name %>, notice: t('<%= table_name %>.was_created') }
72
72
  format.json { render :show, status: :created, location: @<%= singular_table_name %> }
73
73
  else
74
- format.html { render :new }
74
+ format.html { render :new, status: :unprocessable_entity }
75
75
  format.json { render json: <%= "@#{orm_instance.errors}" %>, status: :unprocessable_entity }
76
76
  end
77
77
  <% end -%>
@@ -91,7 +91,7 @@ class <%= controller_class_name %>Controller < ApplicationController
91
91
  format.html { redirect_to @<%= singular_table_name %>, notice: t('<%= table_name %>.was_updated') }
92
92
  format.json { render :show, status: :ok, location: @<%= singular_table_name %> }
93
93
  else
94
- format.html { render :edit }
94
+ format.html { render :edit, status: :unprocessable_entity }
95
95
  format.json { render json: <%= "@#{orm_instance.errors}" %>, status: :unprocessable_entity }
96
96
  end
97
97
  <% end -%>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n_scaffold_controller_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitri Koulikoff
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-05 00:00:00.000000000 Z
11
+ date: 2024-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -107,7 +107,7 @@ homepage: http://github.com/dima4p/i18n_scaffold_controller_template
107
107
  licenses:
108
108
  - MIT
109
109
  metadata: {}
110
- post_install_message:
110
+ post_install_message:
111
111
  rdoc_options: []
112
112
  require_paths:
113
113
  - lib
@@ -122,8 +122,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  - !ruby/object:Gem::Version
123
123
  version: '0'
124
124
  requirements: []
125
- rubygems_version: 3.0.3
126
- signing_key:
125
+ rubygems_version: 3.1.4
126
+ signing_key:
127
127
  specification_version: 4
128
128
  summary: Scaffold controller template expoiting i18n and aware of cancan and WiceGrid
129
129
  test_files: []