data_attributes 1.3.0 → 1.3.1

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. metadata +3 -4
  4. data/lib/spec_helper.rb +0 -27
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 55f227bc4334e44d47f850c52b47b6bed500c41a
4
- data.tar.gz: 17c65041fafabed28fce083f0377b5bc84b57534
3
+ metadata.gz: d0e7e49c22db7f854e866f3fd63f108c02064b34
4
+ data.tar.gz: baf7bf90d900e83ea6d12033e68c9ab891d5c089
5
5
  SHA512:
6
- metadata.gz: 3f570b310459285ca3cef0c993fd75fbc8761fb48cf5d9de21b7a71edfd99195eea51f1278bb2ed12b1543b62f69805c40a329632afd6d8763e46eaa715303c7
7
- data.tar.gz: 8e9e45890a74c13268f800c4029825b7671c2359f7e7f07b1ec05d2efbef7943679079045d2fa70bd7399b0eab0713202a68af9139a1163928af9d990f2862bd
6
+ metadata.gz: 5e958c24d3aabbc6e0c8c17547c0b376703e18050abf7048631da5d6a0d457de6808144e1ffceb0c37b8c52b3d4940fea6a7587f3b060e22788645266c0d7490
7
+ data.tar.gz: be0998dac69b4fa71431ffb7e5f436c69236730e50a662b2a14dd3ad75adc162ca2093dd4343a9e8ac6a2d9708fff15bada5fc32677394d6acd091828f6e7918
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.3.1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_attributes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexis Toulotte
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-18 00:00:00.000000000 Z
11
+ date: 2017-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -143,7 +143,6 @@ files:
143
143
  - lib/data_attributes.rb
144
144
  - lib/data_attributes/helper.rb
145
145
  - lib/data_attributes/model.rb
146
- - lib/spec_helper.rb
147
146
  homepage: https://github.com/alexistoulotte/data_attributes
148
147
  licenses:
149
148
  - MIT
@@ -164,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
163
  version: '0'
165
164
  requirements: []
166
165
  rubyforge_project:
167
- rubygems_version: 2.5.2
166
+ rubygems_version: 2.5.1
168
167
  signing_key:
169
168
  specification_version: 4
170
169
  summary: Provides HTML data attributes from model to view
data/lib/spec_helper.rb DELETED
@@ -1,27 +0,0 @@
1
- require File.expand_path("#{__dir__}/../lib/data_attributes")
2
- require 'byebug'
3
-
4
- # Support
5
- require "#{__dir__}/support/mocks/content"
6
- require "#{__dir__}/support/mocks/category"
7
- require "#{__dir__}/support/mocks/article"
8
- require "#{__dir__}/support/mocks/view"
9
-
10
- RSpec.configure do |config|
11
- config.raise_errors_for_deprecations!
12
-
13
- config.before(:each) do
14
- [Article, Category, Content].each do |mock_class|
15
- next unless mock_class.respond_to?(:__data_attributes, true)
16
- mock_class.class_eval(%Q{
17
- class << self
18
- private
19
-
20
- def __data_attributes
21
- []
22
- end
23
- end
24
- })
25
- end
26
- end
27
- end