i18n_scaffold_controller_template 2.0.0 → 2.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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8d5caf74c781674fb8e4ba3bb7f4c04941eb7d784bc497938955c51a10882e5f
|
4
|
+
data.tar.gz: 5a938e367f79e619c93c5ed171925c0eaf64208a9928b0d6980deecc2547c75e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4b00c8679c2fab57426a278c2c929b53138fccd8f8df18118f66c6b96a8d37350b4d1a98e49ede750366766affa4b607dfb62d6e2244ad8fc764f21a2f96dd5
|
7
|
+
data.tar.gz: 6d70d51d1283675238ea69511749640a27bec8d85a6fe4d8e8046ece4fb4219355a0041d1f3af2e01ec3b14c4cc5650d47fbb7120ebe5d565d20e610184a6e36
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.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_controller_template 2.
|
5
|
+
# stub: i18n_scaffold_controller_template 2.1.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
|
-
s.name = "i18n_scaffold_controller_template"
|
9
|
-
s.version = "2.
|
8
|
+
s.name = "i18n_scaffold_controller_template".freeze
|
9
|
+
s.version = "2.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 = "
|
15
|
-
s.description = "Scaffold controller template expoiting i18n and aware of cancan and WiceGrid"
|
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 = "2020-01-05"
|
15
|
+
s.description = "Scaffold controller template expoiting i18n and aware of cancan and WiceGrid".freeze
|
16
|
+
s.email = "dima@koulikoff.ru".freeze
|
17
17
|
s.extra_rdoc_files = [
|
18
18
|
"LICENSE.txt",
|
19
19
|
"README.rdoc"
|
@@ -35,33 +35,33 @@ Gem::Specification.new do |s|
|
|
35
35
|
"spec/i18n_scaffold_controller_template_spec.rb",
|
36
36
|
"spec/spec_helper.rb"
|
37
37
|
]
|
38
|
-
s.homepage = "http://github.com/dima4p/i18n_scaffold_controller_template"
|
39
|
-
s.licenses = ["MIT"]
|
40
|
-
s.rubygems_version = "
|
41
|
-
s.summary = "Scaffold controller template expoiting i18n and aware of cancan and WiceGrid"
|
38
|
+
s.homepage = "http://github.com/dima4p/i18n_scaffold_controller_template".freeze
|
39
|
+
s.licenses = ["MIT".freeze]
|
40
|
+
s.rubygems_version = "3.0.3".freeze
|
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
45
|
|
46
46
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
47
|
-
s.add_development_dependency(%q<rspec
|
48
|
-
s.add_development_dependency(%q<rdoc
|
49
|
-
s.add_development_dependency(%q<bundler
|
50
|
-
s.add_development_dependency(%q<jeweler
|
51
|
-
s.add_development_dependency(%q<simplecov
|
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
52
|
else
|
53
|
-
s.add_dependency(%q<rspec
|
54
|
-
s.add_dependency(%q<rdoc
|
55
|
-
s.add_dependency(%q<bundler
|
56
|
-
s.add_dependency(%q<jeweler
|
57
|
-
s.add_dependency(%q<simplecov
|
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
58
|
end
|
59
59
|
else
|
60
|
-
s.add_dependency(%q<rspec
|
61
|
-
s.add_dependency(%q<rdoc
|
62
|
-
s.add_dependency(%q<bundler
|
63
|
-
s.add_dependency(%q<jeweler
|
64
|
-
s.add_dependency(%q<simplecov
|
60
|
+
s.add_dependency(%q<rspec>.freeze, ["~> 3.1"])
|
61
|
+
s.add_dependency(%q<rdoc>.freeze, ["~> 4.1"])
|
62
|
+
s.add_dependency(%q<bundler>.freeze, ["~> 1.6"])
|
63
|
+
s.add_dependency(%q<jeweler>.freeze, ["~> 2.0"])
|
64
|
+
s.add_dependency(%q<simplecov>.freeze, ["~> 0.0"])
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
@@ -86,8 +86,8 @@ class Api::<%= options[:api_version].camelcase + '::' if options[:api_version].p
|
|
86
86
|
<%- if attributes_names.empty? -%>
|
87
87
|
params.fetch(:<%= singular_table_name %>, {})
|
88
88
|
<%- else -%>
|
89
|
-
list = [
|
90
|
-
<%= attributes_names.
|
89
|
+
list = %i[
|
90
|
+
<%= attributes_names.join(' ') %>
|
91
91
|
]
|
92
92
|
params.require(:<%= singular_table_name %>).permit(*list)
|
93
93
|
<%- end -%>
|
@@ -130,8 +130,8 @@ class <%= controller_class_name %>Controller < ApplicationController
|
|
130
130
|
<%- if attributes_names.empty? -%>
|
131
131
|
params.fetch(:<%= singular_table_name %>, {})
|
132
132
|
<%- else -%>
|
133
|
-
list = [
|
134
|
-
<%= attributes_names.
|
133
|
+
list = %i[
|
134
|
+
<%= attributes_names.join(' ') %>
|
135
135
|
]
|
136
136
|
params.require(:<%= singular_table_name %>).permit(*list)
|
137
137
|
<%- 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.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:
|
11
|
+
date: 2020-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -122,8 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
122
|
- !ruby/object:Gem::Version
|
123
123
|
version: '0'
|
124
124
|
requirements: []
|
125
|
-
|
126
|
-
rubygems_version: 2.5.1
|
125
|
+
rubygems_version: 3.0.3
|
127
126
|
signing_key:
|
128
127
|
specification_version: 4
|
129
128
|
summary: Scaffold controller template expoiting i18n and aware of cancan and WiceGrid
|