attributes_for 0.7.11 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e60c930bcf0c7c1672fb3d6fa34bfb01cd9c0d2e
4
- data.tar.gz: b19b28b1888a6c4c57704a578fc26b138b964615
2
+ SHA256:
3
+ metadata.gz: d65a8ec9bf3d47d66770350a7a1a11b90a07518c62c044879cfd1b1af43787f9
4
+ data.tar.gz: d5d5cbf769d294b6e1b4abdacc3b66f27d8ceb93bafa6b7e02d4363d7a5d9f13
5
5
  SHA512:
6
- metadata.gz: 75d4446405c8d1f0b6175fb8f795e84c1840d9675b03159e2835d4ac0d9aa2445d9ef49058f64665c1062ca73ed88156bc32731c50cdce018c35b53b766e762f
7
- data.tar.gz: 327645407422fe9e2ffa89bdbec2923a33d8d20db45846b0e70bf8f09f6e01624ad88d9ee7f2e3db99d8bf52dd0dcc0433509da7242dd3624be6d984630dc097
6
+ metadata.gz: 94e30e9be942fa0c126a8f49c516f75cd696e3b5fc0ffcb641283b2f8ce18c2f574da88351a38d36c1876aaf4616e3a8dbd5d875ded2d71ae33ee55da12a2ba6
7
+ data.tar.gz: 689190053296f08ca8f3784acdb8749963332ee2e9e8338b77ec2495335e29324163f0ad8bab9a56b9dde1d87537b806ecf489d3a6a093d6a4f85db39f1aa2b4
@@ -1,8 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.8.0] - 2018-05-06
4
+ ### Added
5
+ - Add no_colon option
6
+
3
7
  ## [0.7.10] - 2017-07-04
4
- ### Fixed
5
- - Update Rails-specific lockfiles
8
+ ### fixed
9
+ - update rails-specific lockfiles
6
10
 
7
11
  ## [0.7.10] - 2017-07-04
8
12
  ### Fixed
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- attributes_for (0.7.11)
4
+ attributes_for (0.8.0)
5
5
  chronic_duration (~> 0.10)
6
6
  font-awesome-rails (~> 4.0)
7
7
  phony (~> 2.0)
@@ -10,48 +10,52 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actioncable (5.1.2)
14
- actionpack (= 5.1.2)
13
+ actioncable (5.2.0)
14
+ actionpack (= 5.2.0)
15
15
  nio4r (~> 2.0)
16
- websocket-driver (~> 0.6.1)
17
- actionmailer (5.1.2)
18
- actionpack (= 5.1.2)
19
- actionview (= 5.1.2)
20
- activejob (= 5.1.2)
16
+ websocket-driver (>= 0.6.1)
17
+ actionmailer (5.2.0)
18
+ actionpack (= 5.2.0)
19
+ actionview (= 5.2.0)
20
+ activejob (= 5.2.0)
21
21
  mail (~> 2.5, >= 2.5.4)
22
22
  rails-dom-testing (~> 2.0)
23
- actionpack (5.1.2)
24
- actionview (= 5.1.2)
25
- activesupport (= 5.1.2)
23
+ actionpack (5.2.0)
24
+ actionview (= 5.2.0)
25
+ activesupport (= 5.2.0)
26
26
  rack (~> 2.0)
27
- rack-test (~> 0.6.3)
27
+ rack-test (>= 0.6.3)
28
28
  rails-dom-testing (~> 2.0)
29
29
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
30
- actionview (5.1.2)
31
- activesupport (= 5.1.2)
30
+ actionview (5.2.0)
31
+ activesupport (= 5.2.0)
32
32
  builder (~> 3.1)
33
33
  erubi (~> 1.4)
34
34
  rails-dom-testing (~> 2.0)
35
35
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
36
- activejob (5.1.2)
37
- activesupport (= 5.1.2)
36
+ activejob (5.2.0)
37
+ activesupport (= 5.2.0)
38
38
  globalid (>= 0.3.6)
39
- activemodel (5.1.2)
40
- activesupport (= 5.1.2)
41
- activerecord (5.1.2)
42
- activemodel (= 5.1.2)
43
- activesupport (= 5.1.2)
44
- arel (~> 8.0)
45
- activesupport (5.1.2)
39
+ activemodel (5.2.0)
40
+ activesupport (= 5.2.0)
41
+ activerecord (5.2.0)
42
+ activemodel (= 5.2.0)
43
+ activesupport (= 5.2.0)
44
+ arel (>= 9.0)
45
+ activestorage (5.2.0)
46
+ actionpack (= 5.2.0)
47
+ activerecord (= 5.2.0)
48
+ marcel (~> 0.3.1)
49
+ activesupport (5.2.0)
46
50
  concurrent-ruby (~> 1.0, >= 1.0.2)
47
- i18n (~> 0.7)
51
+ i18n (>= 0.7, < 2)
48
52
  minitest (~> 5.1)
49
53
  tzinfo (~> 1.1)
50
54
  appraisal (2.2.0)
51
55
  bundler
52
56
  rake
53
57
  thor (>= 0.14.0)
54
- arel (8.0.0)
58
+ arel (9.0.0)
55
59
  builder (3.2.3)
56
60
  chronic_duration (0.10.6)
57
61
  numerizer (~> 0.1.1)
@@ -62,52 +66,57 @@ GEM
62
66
  term-ansicolor (~> 1.3)
63
67
  thor (~> 0.19.4)
64
68
  tins (~> 1.6)
69
+ crass (1.0.4)
65
70
  docile (1.1.5)
66
- erubi (1.6.1)
67
- font-awesome-rails (4.7.0.2)
68
- railties (>= 3.2, < 5.2)
69
- globalid (0.4.0)
71
+ erubi (1.7.1)
72
+ font-awesome-rails (4.7.0.4)
73
+ railties (>= 3.2, < 6.0)
74
+ globalid (0.4.1)
70
75
  activesupport (>= 4.2.0)
71
- i18n (0.8.4)
76
+ i18n (1.0.1)
77
+ concurrent-ruby (~> 1.0)
72
78
  json (2.1.0)
73
- loofah (2.0.3)
79
+ loofah (2.2.2)
80
+ crass (~> 1.0.2)
74
81
  nokogiri (>= 1.5.9)
75
- mail (2.6.6)
76
- mime-types (>= 1.16, < 4)
77
- method_source (0.8.2)
78
- mime-types (3.1)
79
- mime-types-data (~> 3.2015)
80
- mime-types-data (3.2016.0521)
81
- mini_portile2 (2.2.0)
82
- minitest (5.10.2)
83
- nio4r (2.1.0)
84
- nokogiri (1.8.0)
85
- mini_portile2 (~> 2.2.0)
82
+ mail (2.7.0)
83
+ mini_mime (>= 0.1.1)
84
+ marcel (0.3.2)
85
+ mimemagic (~> 0.3.2)
86
+ method_source (0.9.0)
87
+ mimemagic (0.3.2)
88
+ mini_mime (1.0.0)
89
+ mini_portile2 (2.3.0)
90
+ minitest (5.11.3)
91
+ nio4r (2.3.1)
92
+ nokogiri (1.8.2)
93
+ mini_portile2 (~> 2.3.0)
86
94
  numerizer (0.1.1)
87
- phony (2.15.46)
88
- rack (2.0.3)
89
- rack-test (0.6.3)
90
- rack (>= 1.0)
91
- rails (5.1.2)
92
- actioncable (= 5.1.2)
93
- actionmailer (= 5.1.2)
94
- actionpack (= 5.1.2)
95
- actionview (= 5.1.2)
96
- activejob (= 5.1.2)
97
- activemodel (= 5.1.2)
98
- activerecord (= 5.1.2)
99
- activesupport (= 5.1.2)
100
- bundler (>= 1.3.0, < 2.0)
101
- railties (= 5.1.2)
95
+ phony (2.16.4)
96
+ rack (2.0.5)
97
+ rack-test (1.0.0)
98
+ rack (>= 1.0, < 3)
99
+ rails (5.2.0)
100
+ actioncable (= 5.2.0)
101
+ actionmailer (= 5.2.0)
102
+ actionpack (= 5.2.0)
103
+ actionview (= 5.2.0)
104
+ activejob (= 5.2.0)
105
+ activemodel (= 5.2.0)
106
+ activerecord (= 5.2.0)
107
+ activestorage (= 5.2.0)
108
+ activesupport (= 5.2.0)
109
+ bundler (>= 1.3.0)
110
+ railties (= 5.2.0)
102
111
  sprockets-rails (>= 2.0.0)
103
112
  rails-dom-testing (2.0.3)
104
113
  activesupport (>= 4.2.0)
105
114
  nokogiri (>= 1.6)
106
- rails-html-sanitizer (1.0.3)
107
- loofah (~> 2.0)
108
- railties (5.1.2)
109
- actionpack (= 5.1.2)
110
- activesupport (= 5.1.2)
115
+ rails-html-sanitizer (1.0.4)
116
+ loofah (~> 2.2, >= 2.2.2)
117
+ railties (5.2.0)
118
+ actionpack (= 5.2.0)
119
+ activesupport (= 5.2.0)
111
120
  method_source
112
121
  rake (>= 0.8.7)
113
122
  thor (>= 0.18.1, < 2.0)
@@ -120,7 +129,7 @@ GEM
120
129
  sprockets (3.7.1)
121
130
  concurrent-ruby (~> 1.0)
122
131
  rack (> 1, < 3)
123
- sprockets-rails (3.2.0)
132
+ sprockets-rails (3.2.1)
124
133
  actionpack (>= 4.0)
125
134
  activesupport (>= 4.0)
126
135
  sprockets (>= 3.0.0)
@@ -130,11 +139,11 @@ GEM
130
139
  thor (0.19.4)
131
140
  thread_safe (0.3.6)
132
141
  tins (1.15.0)
133
- tzinfo (1.2.3)
142
+ tzinfo (1.2.5)
134
143
  thread_safe (~> 0.1)
135
- websocket-driver (0.6.5)
144
+ websocket-driver (0.7.0)
136
145
  websocket-extensions (>= 0.1.0)
137
- websocket-extensions (0.1.2)
146
+ websocket-extensions (0.1.3)
138
147
 
139
148
  PLATFORMS
140
149
  ruby
@@ -146,4 +155,4 @@ DEPENDENCIES
146
155
  sqlite3
147
156
 
148
157
  BUNDLED WITH
149
- 1.15.1
158
+ 1.16.1
@@ -102,9 +102,11 @@ module AttributesFor
102
102
  )
103
103
 
104
104
  unless options[:label] === false
105
+ text = default_options[:no_colon] === true ? label : "#{label}:"
106
+
105
107
  content = content_tag(
106
108
  wrappers[:label],
107
- "#{label}:",
109
+ text,
108
110
  apply_default_options(:label_html, label_html_options)
109
111
  ) + ' ' + content
110
112
  end
@@ -1,3 +1,3 @@
1
1
  module AttributesFor
2
- VERSION = '0.7.11'.freeze
2
+ VERSION = '0.8.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: attributes_for
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.11
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ole J. Rosendahl
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-04 00:00:00.000000000 Z
11
+ date: 2018-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  version: '0'
173
173
  requirements: []
174
174
  rubyforge_project:
175
- rubygems_version: 2.6.8
175
+ rubygems_version: 2.7.6
176
176
  signing_key:
177
177
  specification_version: 4
178
178
  summary: ActiveView Helper to present formatted ActiveModel attributes with icons.