advanced_haml_scaffold_generator 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
- SHA1:
3
- metadata.gz: da2ab79a54d6d1393e9546e9b3f3318b152d691a
4
- data.tar.gz: 234e3112ce5d1c8d878d0d9b00e8f4eb094b2c08
2
+ SHA256:
3
+ metadata.gz: c183d1b7dc02ae5fb0e30275c880b3f0c8699ef7bd4f88f315db5b80a36dc31b
4
+ data.tar.gz: 1bd387d662d538146b99cf4a5b7a171e1889515c543a03956268ae6bdc48ed8a
5
5
  SHA512:
6
- metadata.gz: a89aba0100bb4d798d9cfacc60212e5212cf8c8b34f1d866bc8e70a58b0c794451e31bd8a28df3d19f05b91d90c7cb225577d955d83cf57b84b2a7c4264babc5
7
- data.tar.gz: d72e79e518000869b3d549c80aea23256af7bc887f6ac652c04b7212b265017fb8ffb8a45a340adcb205d1a26da6a0d6a3a352fdd5b26b20d7236931105b7868
6
+ metadata.gz: 3ad5d8f632ef082f715893417362f37fbdb2526873b0f814172e967e246fbb6747d8faf148bbdfee54398d560f158b0eaef32c6fcd5b25bcf8f65ec134bdb49a
7
+ data.tar.gz: d7ddee7f274b4890686101f10d1343dba4fe2678a88a787631989a5dea9e4a7281f2b06341f58fb7ade5a51cf021eda4ad021f81c7454b171c650117a2d75db4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.0
1
+ 2.2.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: advanced_haml_scaffold_generator 2.1.0 ruby lib
5
+ # stub: advanced_haml_scaffold_generator 2.2.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
- s.name = "advanced_haml_scaffold_generator"
9
- s.version = "2.1.0"
8
+ s.name = "advanced_haml_scaffold_generator".freeze
9
+ s.version = "2.2.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 = "2016-09-16"
15
- s.description = "Extention of the haml generator that generates templates with the use of i18n, cancan and WiceGrid, adds classes to buttons and uses :title helper"
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-12-11"
15
+ s.description = "Extention of the haml generator that generates templates with the use of i18n, cancan and WiceGrid, adds classes to buttons and uses :title helper".freeze
16
+ s.email = "dima@koulikoff.ru".freeze
17
17
  s.extra_rdoc_files = [
18
18
  "LICENSE.txt",
19
19
  "README.rdoc"
@@ -39,33 +39,33 @@ Gem::Specification.new do |s|
39
39
  "spec/advanced_haml_scaffold_generator_spec.rb",
40
40
  "spec/spec_helper.rb"
41
41
  ]
42
- s.homepage = "http://github.com/dima4p/advanced_haml_scaffold_generator"
43
- s.licenses = ["MIT"]
44
- s.rubygems_version = "2.5.1"
45
- s.summary = "Extention of the haml generator that is aware of i18n and so forth"
42
+ s.homepage = "http://github.com/dima4p/advanced_haml_scaffold_generator".freeze
43
+ s.licenses = ["MIT".freeze]
44
+ s.rubygems_version = "3.0.3".freeze
45
+ s.summary = "Extention of the haml generator that is aware of i18n and so forth".freeze
46
46
 
47
47
  if s.respond_to? :specification_version then
48
48
  s.specification_version = 4
49
49
 
50
50
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
51
- s.add_development_dependency(%q<rspec>, ["~> 3.1"])
52
- s.add_development_dependency(%q<rdoc>, ["~> 4.1"])
53
- s.add_development_dependency(%q<bundler>, ["~> 1.6"])
54
- s.add_development_dependency(%q<jeweler>, ["~> 2.0"])
55
- s.add_development_dependency(%q<simplecov>, ["~> 0.0"])
51
+ s.add_development_dependency(%q<rspec>.freeze, ["~> 3.1"])
52
+ s.add_development_dependency(%q<rdoc>.freeze, ["~> 4.1"])
53
+ s.add_development_dependency(%q<bundler>.freeze, ["~> 1.6"])
54
+ s.add_development_dependency(%q<jeweler>.freeze, ["~> 2.0"])
55
+ s.add_development_dependency(%q<simplecov>.freeze, ["~> 0.0"])
56
56
  else
57
- s.add_dependency(%q<rspec>, ["~> 3.1"])
58
- s.add_dependency(%q<rdoc>, ["~> 4.1"])
59
- s.add_dependency(%q<bundler>, ["~> 1.6"])
60
- s.add_dependency(%q<jeweler>, ["~> 2.0"])
61
- s.add_dependency(%q<simplecov>, ["~> 0.0"])
57
+ s.add_dependency(%q<rspec>.freeze, ["~> 3.1"])
58
+ s.add_dependency(%q<rdoc>.freeze, ["~> 4.1"])
59
+ s.add_dependency(%q<bundler>.freeze, ["~> 1.6"])
60
+ s.add_dependency(%q<jeweler>.freeze, ["~> 2.0"])
61
+ s.add_dependency(%q<simplecov>.freeze, ["~> 0.0"])
62
62
  end
63
63
  else
64
- s.add_dependency(%q<rspec>, ["~> 3.1"])
65
- s.add_dependency(%q<rdoc>, ["~> 4.1"])
66
- s.add_dependency(%q<bundler>, ["~> 1.6"])
67
- s.add_dependency(%q<jeweler>, ["~> 2.0"])
68
- s.add_dependency(%q<simplecov>, ["~> 0.0"])
64
+ s.add_dependency(%q<rspec>.freeze, ["~> 3.1"])
65
+ s.add_dependency(%q<rdoc>.freeze, ["~> 4.1"])
66
+ s.add_dependency(%q<bundler>.freeze, ["~> 1.6"])
67
+ s.add_dependency(%q<jeweler>.freeze, ["~> 2.0"])
68
+ s.add_dependency(%q<simplecov>.freeze, ["~> 0.0"])
69
69
  end
70
70
  end
71
71
 
@@ -14,11 +14,11 @@
14
14
  <% for attribute in attributes.reject(&:password_digest?) -%>
15
15
  <% if attribute.reference? -%>
16
16
  - g.column name: <%= class_name %>.human_attribute_name(:<%= attribute.name %>),
17
- attribute: '<%= attribute.name %>_id' do |<%= singular_table_name %>|
17
+ class: '<%= attribute.name %>', attribute: '<%= attribute.name %>_id' do |<%= singular_table_name %>|
18
18
  - <%= singular_table_name %>.<%= attribute.name %>.try :name
19
19
  <% else -%>
20
20
  - g.column name: <%= class_name %>.human_attribute_name(:<%= attribute.name %>),
21
- attribute: '<%= attribute.name %>' do |<%= singular_table_name %>|
21
+ class: '<%= attribute.name %>', attribute: '<%= attribute.name %>' do |<%= singular_table_name %>|
22
22
  - <%= singular_table_name %>.<%= attribute.name %>
23
23
  <% end -%>
24
24
  <% end -%>
@@ -58,9 +58,9 @@
58
58
  %tr{class: cycle(:odd, :even)}
59
59
  <% for attribute in attributes.reject(&:password_digest?) -%>
60
60
  <% if attribute.reference? -%>
61
- %td= <%= singular_table_name %>.<%= attribute.name %>.try :name
61
+ %td.<%= attribute.name %>= <%= singular_table_name %>.<%= attribute.name %>.try :name
62
62
  <% else -%>
63
- %td= <%= singular_table_name %>.<%= attribute.name %>
63
+ %td.<%= attribute.name %>= <%= singular_table_name %>.<%= attribute.name %>
64
64
  <% end -%>
65
65
  <% end -%>
66
66
  <% if options[:cancan] -%>
@@ -15,8 +15,8 @@
15
15
  <% for attribute in attributes.reject(&:password_digest?) -%>
16
16
  %dt= <%= class_name %>.human_attribute_name :<%= attribute.name %>
17
17
  <% if attribute.reference? -%>
18
- %dd= @<%= singular_table_name %>.<%= attribute.name %>.try :name
18
+ %dd.<%= attribute.name %>= @<%= singular_table_name %>.<%= attribute.name %>.try :name
19
19
  <% else -%>
20
- %dd= @<%= singular_table_name %>.<%= attribute.name %>
20
+ %dd.<%= attribute.name %>= @<%= singular_table_name %>.<%= attribute.name %>
21
21
  <% end -%>
22
22
  <% end -%>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: advanced_haml_scaffold_generator
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
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-16 00:00:00.000000000 Z
11
+ date: 2019-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -127,8 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  - !ruby/object:Gem::Version
128
128
  version: '0'
129
129
  requirements: []
130
- rubyforge_project:
131
- rubygems_version: 2.5.1
130
+ rubygems_version: 3.0.3
132
131
  signing_key:
133
132
  specification_version: 4
134
133
  summary: Extention of the haml generator that is aware of i18n and so forth