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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4bfe006d3f8b93cf2f27cced44ae92f1527058670a585a0292d6844dda72d3f
|
4
|
+
data.tar.gz: 89f52d254292be21e8670d619905cccdc61f9eae1c5a94bed9c3918c5bad99a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 273d2437bef4466893f0da642b0c45c35e73edfedcc0beb7eef64a95b9005041ac60fe782a0783f33d104a63594ae910abbffcfa0367156301be3d5a706f7f8c
|
7
|
+
data.tar.gz: b6dab953a1cc9d0f60b72023ae6408140553681cfd91904d710c66834008e387a7506b431e6a4ae51fa2ef4b16fff927e60ec17aa6074b017cb94b7a9311432e
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
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.
|
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.
|
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 = "
|
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.
|
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
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
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.
|
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:
|
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.
|
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: []
|