attributes_for 0.7.6 → 0.7.8

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
2
  SHA1:
3
- metadata.gz: b4d3ac411807dd5b6171004d1fcc93b45945b6ef
4
- data.tar.gz: 6f826cd02a2937a8c886facd0df5890e4b1893aa
3
+ metadata.gz: 5e5fe97540f34cab0c837173cf6ae14a0c83f558
4
+ data.tar.gz: e2179e07cbd38423895d6ef1796df5429788e9cf
5
5
  SHA512:
6
- metadata.gz: 27d7c3946a51fc0b5335d44673a033eb0eaaff0051998c2a428ee67606f100944784bf17872df86ada436cb31dc3528f5ea09bd5bebd81c2e102d1559b98ecc7
7
- data.tar.gz: 408ffb242bd77338c37febdc5ecad2ced903b1a6a632f2162c4f85740e1fd4317dac9004a1e6eebec5fccc547d8986547fdf9ccc9a630698fe5506d960a2fec0
6
+ metadata.gz: 4834d9c5512d2e4896787b60e26607053cd1931a6b67b731bc5a332be627d0cc74a4e81d9a125800d0c87ced0b5f1b384fc350746b02222ad8908cd92eca1aea
7
+ data.tar.gz: 72683a7e093ef8e66b05c152f234a6b1391dcfeb4aec8322d31561d07df4f7b2c602b5a441b808496c4cba4fbe7d135554bd5030de9d5ab83b9d0d1d108d110d
@@ -1,8 +1,9 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
4
- - 2.1.0
5
- - 2.2.2
6
- - 2.2.3
7
- - 2.3.0
3
+ - 2.2.6
4
+ - 2.3.3
5
+ - 2.4.0
8
6
  before_install: gem install bundler -v 1.10.3
7
+ notifications:
8
+ slack:
9
+ secure: fEv1kPzEblj9lKdIFrwWqhvFBO/9D4ELDQPMAvxPcBnuxt/67R++Cz0YoirAmtrbXWJm059BVJuEDcyRavLd5jc08qpsDjASxToKVE6f7fPjLKOCcmwGkLzQM+Sg9h9O6qnpOBOkIEQndWSRZtc3sRiHAT6A09iqcdQ8QjV/jp4KO8Qu5jbk7wNzVXp1QTDKMHgrnyjZaEri6AudmkL5AzDbuGzRD8pC1DGAPX4N3LFDgPv0QHjlTTdr4rMHzMxVl8ElqcKwhT1StxrRIXO1D6wd4qvFQJndw3FTrqNhPKXLcglErhx3JiD0A5Znbq2exnnJ9TDESEcRyvtnabkHUghDE00u/NmcX0N+tNEvGr4SdDnuMLfHc7mQk5cb9Pn6AtU8+M2niPRuretJFbnAWZgMnODoO5xvOzqfCwskQVrWwH4Qb17Xo64PobDNf2VUdGNayaGqm0kHj1HzSPH2mO2MYZyeeekciLOSoSgJkaTx8Pv251n2jT88NE0/OiQnI4oOlHcV5+917nE2V9IOJTbMIRA8RqvEmHgUN8E/rx8ME1pWu3j0xCF4QtqyoS6gOqL5cZGCx9TLGWYeTR1wKk4L54b5WI5qMpN/YM7BU9SE5qWMVJZdZKIxzbKztjl9nWRe2+lHzM5xeGxubMx9aawGIEslLNJErDPyWNc6p4I=
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- attributes_for (0.7.6)
4
+ attributes_for (0.7.8)
5
5
  chronic_duration (~> 0.10)
6
6
  font-awesome-rails (~> 4.0)
7
7
  phony (~> 2.0)
@@ -10,132 +10,120 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actionmailer (4.2.5.1)
14
- actionpack (= 4.2.5.1)
15
- actionview (= 4.2.5.1)
16
- activejob (= 4.2.5.1)
13
+ actionmailer (4.2.8)
14
+ actionpack (= 4.2.8)
15
+ actionview (= 4.2.8)
16
+ activejob (= 4.2.8)
17
17
  mail (~> 2.5, >= 2.5.4)
18
18
  rails-dom-testing (~> 1.0, >= 1.0.5)
19
- actionpack (4.2.5.1)
20
- actionview (= 4.2.5.1)
21
- activesupport (= 4.2.5.1)
19
+ actionpack (4.2.8)
20
+ actionview (= 4.2.8)
21
+ activesupport (= 4.2.8)
22
22
  rack (~> 1.6)
23
23
  rack-test (~> 0.6.2)
24
24
  rails-dom-testing (~> 1.0, >= 1.0.5)
25
25
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
26
- actionview (4.2.5.1)
27
- activesupport (= 4.2.5.1)
26
+ actionview (4.2.8)
27
+ activesupport (= 4.2.8)
28
28
  builder (~> 3.1)
29
29
  erubis (~> 2.7.0)
30
30
  rails-dom-testing (~> 1.0, >= 1.0.5)
31
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
32
- activejob (4.2.5.1)
33
- activesupport (= 4.2.5.1)
31
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
32
+ activejob (4.2.8)
33
+ activesupport (= 4.2.8)
34
34
  globalid (>= 0.3.0)
35
- activemodel (4.2.5.1)
36
- activesupport (= 4.2.5.1)
35
+ activemodel (4.2.8)
36
+ activesupport (= 4.2.8)
37
37
  builder (~> 3.1)
38
- activerecord (4.2.5.1)
39
- activemodel (= 4.2.5.1)
40
- activesupport (= 4.2.5.1)
38
+ activerecord (4.2.8)
39
+ activemodel (= 4.2.8)
40
+ activesupport (= 4.2.8)
41
41
  arel (~> 6.0)
42
- activesupport (4.2.5.1)
42
+ activesupport (4.2.8)
43
43
  i18n (~> 0.7)
44
- json (~> 1.7, >= 1.7.7)
45
44
  minitest (~> 5.1)
46
45
  thread_safe (~> 0.3, >= 0.3.4)
47
46
  tzinfo (~> 1.1)
48
- arel (6.0.3)
49
- builder (3.2.2)
47
+ arel (6.0.4)
48
+ builder (3.2.3)
50
49
  chronic_duration (0.10.6)
51
50
  numerizer (~> 0.1.1)
52
- concurrent-ruby (1.0.1)
53
- coveralls (0.8.10)
54
- json (~> 1.8)
55
- rest-client (>= 1.6.8, < 2)
56
- simplecov (~> 0.11.0)
51
+ concurrent-ruby (1.0.5)
52
+ coveralls (0.8.20)
53
+ json (>= 1.8, < 3)
54
+ simplecov (~> 0.14.1)
57
55
  term-ansicolor (~> 1.3)
58
- thor (~> 0.19.1)
59
- tins (~> 1.6.0)
56
+ thor (~> 0.19.4)
57
+ tins (~> 1.6)
60
58
  docile (1.1.5)
61
- domain_name (0.5.25)
62
- unf (>= 0.0.5, < 1.0.0)
63
59
  erubis (2.7.0)
64
- font-awesome-rails (4.5.0.0)
65
- railties (>= 3.2, < 5.0)
66
- globalid (0.3.6)
60
+ font-awesome-rails (4.7.0.1)
61
+ railties (>= 3.2, < 5.1)
62
+ globalid (0.3.7)
67
63
  activesupport (>= 4.1.0)
68
- http-cookie (1.0.2)
69
- domain_name (~> 0.5)
70
- i18n (0.7.0)
71
- json (1.8.3)
64
+ i18n (0.8.1)
65
+ json (2.0.3)
72
66
  loofah (2.0.3)
73
67
  nokogiri (>= 1.5.9)
74
- mail (2.6.3)
75
- mime-types (>= 1.16, < 3)
76
- mime-types (2.99)
77
- mini_portile2 (2.0.0)
78
- minitest (5.8.4)
79
- netrc (0.11.0)
80
- nokogiri (1.6.7.2)
81
- mini_portile2 (~> 2.0.0.rc2)
68
+ mail (2.6.4)
69
+ mime-types (>= 1.16, < 4)
70
+ mime-types (3.1)
71
+ mime-types-data (~> 3.2015)
72
+ mime-types-data (3.2016.0521)
73
+ mini_portile2 (2.1.0)
74
+ minitest (5.10.1)
75
+ nokogiri (1.7.1)
76
+ mini_portile2 (~> 2.1.0)
82
77
  numerizer (0.1.1)
83
- phony (2.15.15)
84
- rack (1.6.4)
78
+ phony (2.15.42)
79
+ rack (1.6.5)
85
80
  rack-test (0.6.3)
86
81
  rack (>= 1.0)
87
- rails (4.2.5.1)
88
- actionmailer (= 4.2.5.1)
89
- actionpack (= 4.2.5.1)
90
- actionview (= 4.2.5.1)
91
- activejob (= 4.2.5.1)
92
- activemodel (= 4.2.5.1)
93
- activerecord (= 4.2.5.1)
94
- activesupport (= 4.2.5.1)
82
+ rails (4.2.8)
83
+ actionmailer (= 4.2.8)
84
+ actionpack (= 4.2.8)
85
+ actionview (= 4.2.8)
86
+ activejob (= 4.2.8)
87
+ activemodel (= 4.2.8)
88
+ activerecord (= 4.2.8)
89
+ activesupport (= 4.2.8)
95
90
  bundler (>= 1.3.0, < 2.0)
96
- railties (= 4.2.5.1)
91
+ railties (= 4.2.8)
97
92
  sprockets-rails
98
93
  rails-deprecated_sanitizer (1.0.3)
99
94
  activesupport (>= 4.2.0.alpha)
100
- rails-dom-testing (1.0.7)
95
+ rails-dom-testing (1.0.8)
101
96
  activesupport (>= 4.2.0.beta, < 5.0)
102
- nokogiri (~> 1.6.0)
97
+ nokogiri (~> 1.6)
103
98
  rails-deprecated_sanitizer (>= 1.0.1)
104
99
  rails-html-sanitizer (1.0.3)
105
100
  loofah (~> 2.0)
106
- railties (4.2.5.1)
107
- actionpack (= 4.2.5.1)
108
- activesupport (= 4.2.5.1)
101
+ railties (4.2.8)
102
+ actionpack (= 4.2.8)
103
+ activesupport (= 4.2.8)
109
104
  rake (>= 0.8.7)
110
105
  thor (>= 0.18.1, < 2.0)
111
- rake (10.5.0)
112
- rest-client (1.8.0)
113
- http-cookie (>= 1.0.2, < 2.0)
114
- mime-types (>= 1.16, < 3.0)
115
- netrc (~> 0.7)
116
- simplecov (0.11.1)
106
+ rake (12.0.0)
107
+ simplecov (0.14.1)
117
108
  docile (~> 1.1.0)
118
- json (~> 1.8)
109
+ json (>= 1.8, < 3)
119
110
  simplecov-html (~> 0.10.0)
120
111
  simplecov-html (0.10.0)
121
- sprockets (3.5.2)
112
+ sprockets (3.7.1)
122
113
  concurrent-ruby (~> 1.0)
123
114
  rack (> 1, < 3)
124
- sprockets-rails (3.0.4)
115
+ sprockets-rails (3.2.0)
125
116
  actionpack (>= 4.0)
126
117
  activesupport (>= 4.0)
127
118
  sprockets (>= 3.0.0)
128
- sqlite3 (1.3.11)
129
- term-ansicolor (1.3.2)
119
+ sqlite3 (1.3.13)
120
+ term-ansicolor (1.5.0)
130
121
  tins (~> 1.0)
131
- thor (0.19.1)
132
- thread_safe (0.3.5)
133
- tins (1.6.0)
134
- tzinfo (1.2.2)
122
+ thor (0.19.4)
123
+ thread_safe (0.3.6)
124
+ tins (1.13.2)
125
+ tzinfo (1.2.3)
135
126
  thread_safe (~> 0.1)
136
- unf (0.1.4)
137
- unf_ext
138
- unf_ext (0.0.7.1)
139
127
 
140
128
  PLATFORMS
141
129
  ruby
@@ -146,4 +134,4 @@ DEPENDENCIES
146
134
  sqlite3
147
135
 
148
136
  BUNDLED WITH
149
- 1.11.2
137
+ 1.14.5
@@ -36,7 +36,7 @@ module AttributesFor
36
36
  private
37
37
 
38
38
  def empty_value
39
- @empty || I18n.t('attributes_for.not_set')
39
+ @empty ||= I18n.t('attributes_for.not_set')
40
40
  end
41
41
 
42
42
  def build_value(method, attribute_name, options = {}, &block)
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.required_ruby_version = '>= 1.9.3'
21
+ spec.required_ruby_version = '>= 2.0'
22
22
 
23
23
  spec.add_dependency 'rails', '>= 3.2', '< 5.0'
24
24
  spec.add_dependency 'font-awesome-rails', '~> 4.0'
@@ -1,3 +1,3 @@
1
1
  module AttributesFor
2
- VERSION = "0.7.6"
2
+ VERSION = "0.7.8"
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.6
4
+ version: 0.7.8
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: 2016-03-10 00:00:00.000000000 Z
11
+ date: 2017-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -143,7 +143,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - ">="
145
145
  - !ruby/object:Gem::Version
146
- version: 1.9.3
146
+ version: '2.0'
147
147
  required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  requirements:
149
149
  - - ">="
@@ -151,8 +151,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  version: '0'
152
152
  requirements: []
153
153
  rubyforge_project:
154
- rubygems_version: 2.5.1
154
+ rubygems_version: 2.5.2
155
155
  signing_key:
156
156
  specification_version: 4
157
157
  summary: ActiveView Helper to present formatted ActiveModel attributes with icons.
158
158
  test_files: []
159
+ has_rdoc: