html_attributes 0.1.1 → 0.1.2

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: 3a6baf11341a53c2fbaf3b9eeaa4e9014c02c03b
4
- data.tar.gz: 66e843524f79e704981eb48995fe495225369c57
3
+ metadata.gz: b0cc3e332bedbdb00de3adcc982681d8270639c0
4
+ data.tar.gz: 0b58cee7381ccfdc5c197d4bd73e58859ed36183
5
5
  SHA512:
6
- metadata.gz: 09a16ceab9f4ea667cd4d58d1fcac9cbd9418dd5769584c9b451d4d8591a4e8d832d51b00cc5a9c0e0a26e2766c017b92ac926ac64ef228d67684a026a13dd70
7
- data.tar.gz: 8a8d71e8ecdedabf72d859b8bf625fba773363b39ba895e021a5a0d27790f6fb2158376e10ca969c088bc0af4a8bd29296f512bde63cba234f2ee416a86bd14f
6
+ metadata.gz: d37cfa42a49808ae49abbc96b5c46776ff98120f08da74f0dad9b4f04019127784a09c3ee7b7536a5ae253696b2f6e8c92714ad53917d9eaea46b1beb71688fa
7
+ data.tar.gz: 7c1c129aaf18225453fc44c360e8761b8fcc9aa353bb053c1f718e8a9b114d306f595794cd100a136e2ee18e05e81a05b62af53102bdcda678ad91b292d64582
data/Gemfile.lock CHANGED
@@ -1,12 +1,41 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- html_attributes (0.1.0)
4
+ html_attributes (0.1.2)
5
+ actionview (>= 4.0, < 5.2)
5
6
 
6
7
  GEM
7
8
  remote: https://rubygems.org/
8
9
  specs:
10
+ actionview (5.1.4)
11
+ activesupport (= 5.1.4)
12
+ builder (~> 3.1)
13
+ erubi (~> 1.4)
14
+ rails-dom-testing (~> 2.0)
15
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
16
+ activesupport (5.1.4)
17
+ concurrent-ruby (~> 1.0, >= 1.0.2)
18
+ i18n (~> 0.7)
19
+ minitest (~> 5.1)
20
+ tzinfo (~> 1.1)
21
+ builder (3.2.3)
22
+ concurrent-ruby (1.0.5)
23
+ crass (1.0.2)
9
24
  diff-lcs (1.1.3)
25
+ erubi (1.6.1)
26
+ i18n (0.8.6)
27
+ loofah (2.1.1)
28
+ crass (~> 1.0.2)
29
+ nokogiri (>= 1.5.9)
30
+ mini_portile2 (2.3.0)
31
+ minitest (5.10.3)
32
+ nokogiri (1.8.1)
33
+ mini_portile2 (~> 2.3.0)
34
+ rails-dom-testing (2.0.3)
35
+ activesupport (>= 4.2.0)
36
+ nokogiri (>= 1.6)
37
+ rails-html-sanitizer (1.0.3)
38
+ loofah (~> 2.0)
10
39
  rspec (2.11.0)
11
40
  rspec-core (~> 2.11.0)
12
41
  rspec-expectations (~> 2.11.0)
@@ -15,6 +44,9 @@ GEM
15
44
  rspec-expectations (2.11.3)
16
45
  diff-lcs (~> 1.1.3)
17
46
  rspec-mocks (2.11.2)
47
+ thread_safe (0.3.6)
48
+ tzinfo (1.2.3)
49
+ thread_safe (~> 0.1)
18
50
 
19
51
  PLATFORMS
20
52
  ruby
@@ -22,3 +54,6 @@ PLATFORMS
22
54
  DEPENDENCIES
23
55
  html_attributes!
24
56
  rspec
57
+
58
+ BUNDLED WITH
59
+ 1.15.4
@@ -19,6 +19,8 @@ Gem::Specification.new do |gem|
19
19
  gem.version = HtmlAttributes::VERSION
20
20
  gem.platform = Gem::Platform::RUBY
21
21
 
22
+ gem.add_dependency "actionview", ">= 4.0", "< 5.2"
23
+
22
24
  gem.add_development_dependency "rspec"
23
25
 
24
26
  end
@@ -8,7 +8,8 @@ module HtmlAttributes #:nodoc:
8
8
  module TagHelper #:nodoc:
9
9
 
10
10
  def self.included(base) #:nodoc:
11
- base.alias_method_chain :tag_options, :html_attributes
11
+ base.alias_method :tag_options_without_html_attributes, :tag_options
12
+ base.alias_method :tag_options, :tag_options_with_html_attributes
12
13
  end
13
14
 
14
15
  def tag_options_with_html_attributes(options, escape = true) #:nodoc:
@@ -1,5 +1,5 @@
1
1
  module HtmlAttributes
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
 
4
4
  module Version
5
5
  version = VERSION.to_s.split(".").map { |i| i.to_i }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html_attributes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Sebastian Siwy
@@ -10,8 +10,28 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-11-26 00:00:00.000000000 Z
13
+ date: 2017-10-04 00:00:00.000000000 Z
14
14
  dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: actionview
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: '4.0'
22
+ - - "<"
23
+ - !ruby/object:Gem::Version
24
+ version: '5.2'
25
+ type: :runtime
26
+ prerelease: false
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: '4.0'
32
+ - - "<"
33
+ - !ruby/object:Gem::Version
34
+ version: '5.2'
15
35
  - !ruby/object:Gem::Dependency
16
36
  name: rspec
17
37
  requirement: !ruby/object:Gem::Requirement
@@ -68,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
88
  version: '0'
69
89
  requirements: []
70
90
  rubyforge_project:
71
- rubygems_version: 2.2.2
91
+ rubygems_version: 2.4.5.1
72
92
  signing_key:
73
93
  specification_version: 4
74
94
  summary: html_attributes provide helper methods to convert arrays and hashes to valid
@@ -77,4 +97,3 @@ test_files:
77
97
  - spec/html_attributes/array_spec.rb
78
98
  - spec/html_attributes/hash_spec.rb
79
99
  - spec/spec_helper.rb
80
- has_rdoc: