decent_decoration 0.0.4 → 0.0.5

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: 90d0430f1cee38e0fae31e1b25e47d290afab09c
4
- data.tar.gz: 113deae413021de7e3dbde8b322907ef309691d7
3
+ metadata.gz: f1aa71247d2bf5b7309474433f88627901e73bac
4
+ data.tar.gz: 1e7a9e7e8a7979b5e3e116be0ce054f21d9ecfa4
5
5
  SHA512:
6
- metadata.gz: 03e355bf3778078a544e5d946d4152a6f4a3596fa6415a70a95342613ff40910bccacee50c4f67ac67b47a01e06cbc340f57f0c969924be8650621a3f91bbdb1
7
- data.tar.gz: ca9e72308a7692f83a0c55dcfbeaad07659b0bde77e4e1a3e55eff93e63270b2a21c4d16dbc28b3bade7097a2f1b6698797e5f9e692da5208e6d01c3c26895ee
6
+ metadata.gz: 60fceb31d6bba64463616ed8b15143be80e88869a9312be031ca53245fdc68c71eed90e49479e40c1346cb58fc0e882b14e2b1c8ab134a3498a35206a3cb8221
7
+ data.tar.gz: 5be114ab13afe495ceefdafe28d81ae1815f7da371c333500528ad3d6683c5ab12c0b2dbf759fcc576fafa208049b81f6a0bab306f87d4d6259ee2b881a03280
data/CHANGELOG.md ADDED
@@ -0,0 +1,6 @@
1
+ # Changelog
2
+
3
+ ## v0.0.5
4
+
5
+ * relaxed actionpack dependency allowing usage with rails 4
6
+ * fixed deprecation warnings in specs
data/Gemfile.lock CHANGED
@@ -1,41 +1,39 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- decent_decoration (0.0.3)
4
+ decent_decoration (0.0.4)
5
5
  decent_exposure (> 0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionmailer (3.2.13)
11
- actionpack (= 3.2.13)
10
+ actionmailer (4.0.0)
11
+ actionpack (= 4.0.0)
12
12
  mail (~> 2.5.3)
13
- actionpack (3.2.13)
14
- activemodel (= 3.2.13)
15
- activesupport (= 3.2.13)
16
- builder (~> 3.0.0)
13
+ actionpack (4.0.0)
14
+ activesupport (= 4.0.0)
15
+ builder (~> 3.1.0)
17
16
  erubis (~> 2.7.0)
18
- journey (~> 1.0.4)
19
- rack (~> 1.4.5)
20
- rack-cache (~> 1.2)
21
- rack-test (~> 0.6.1)
22
- sprockets (~> 2.2.1)
23
- activemodel (3.2.13)
24
- activesupport (= 3.2.13)
25
- builder (~> 3.0.0)
26
- activerecord (3.2.13)
27
- activemodel (= 3.2.13)
28
- activesupport (= 3.2.13)
29
- arel (~> 3.0.2)
30
- tzinfo (~> 0.3.29)
31
- activeresource (3.2.13)
32
- activemodel (= 3.2.13)
33
- activesupport (= 3.2.13)
34
- activesupport (3.2.13)
35
- i18n (= 0.6.1)
36
- multi_json (~> 1.0)
37
- arel (3.0.2)
38
- builder (3.0.4)
17
+ rack (~> 1.5.2)
18
+ rack-test (~> 0.6.2)
19
+ activemodel (4.0.0)
20
+ activesupport (= 4.0.0)
21
+ builder (~> 3.1.0)
22
+ activerecord (4.0.0)
23
+ activemodel (= 4.0.0)
24
+ activerecord-deprecated_finders (~> 1.0.2)
25
+ activesupport (= 4.0.0)
26
+ arel (~> 4.0.0)
27
+ activerecord-deprecated_finders (1.0.3)
28
+ activesupport (4.0.0)
29
+ i18n (~> 0.6, >= 0.6.4)
30
+ minitest (~> 4.2)
31
+ multi_json (~> 1.3)
32
+ thread_safe (~> 0.1)
33
+ tzinfo (~> 0.3.37)
34
+ arel (4.0.0)
35
+ atomic (1.1.13)
36
+ builder (3.1.4)
39
37
  colorize (0.5.8)
40
38
  coveralls (0.6.7)
41
39
  colorize
@@ -43,79 +41,75 @@ GEM
43
41
  rest-client
44
42
  simplecov (>= 0.7)
45
43
  thor
46
- decent_exposure (2.0.1)
47
- diff-lcs (1.2.3)
48
- draper (1.1.0)
44
+ decent_exposure (2.2.1)
45
+ diff-lcs (1.2.4)
46
+ draper (1.2.1)
49
47
  actionpack (>= 3.0)
50
48
  activesupport (>= 3.0)
51
49
  request_store (~> 1.0.3)
52
50
  erubis (2.7.0)
53
- hike (1.2.2)
54
- i18n (0.6.1)
55
- journey (1.0.4)
56
- json (1.7.7)
57
- mail (2.5.3)
58
- i18n (>= 0.4.0)
51
+ hike (1.2.3)
52
+ i18n (0.6.5)
53
+ mail (2.5.4)
59
54
  mime-types (~> 1.16)
60
55
  treetop (~> 1.4.8)
61
- mime-types (1.23)
62
- multi_json (1.7.2)
56
+ mime-types (1.25)
57
+ minitest (4.7.5)
58
+ multi_json (1.7.9)
63
59
  polyglot (0.3.3)
64
- rack (1.4.5)
65
- rack-cache (1.2)
66
- rack (>= 0.4)
67
- rack-ssl (1.3.3)
68
- rack
60
+ rack (1.5.2)
69
61
  rack-test (0.6.2)
70
62
  rack (>= 1.0)
71
- rails (3.2.13)
72
- actionmailer (= 3.2.13)
73
- actionpack (= 3.2.13)
74
- activerecord (= 3.2.13)
75
- activeresource (= 3.2.13)
76
- activesupport (= 3.2.13)
77
- bundler (~> 1.0)
78
- railties (= 3.2.13)
79
- railties (3.2.13)
80
- actionpack (= 3.2.13)
81
- activesupport (= 3.2.13)
82
- rack-ssl (~> 1.3.2)
63
+ rails (4.0.0)
64
+ actionmailer (= 4.0.0)
65
+ actionpack (= 4.0.0)
66
+ activerecord (= 4.0.0)
67
+ activesupport (= 4.0.0)
68
+ bundler (>= 1.3.0, < 2.0)
69
+ railties (= 4.0.0)
70
+ sprockets-rails (~> 2.0.0)
71
+ railties (4.0.0)
72
+ actionpack (= 4.0.0)
73
+ activesupport (= 4.0.0)
83
74
  rake (>= 0.8.7)
84
- rdoc (~> 3.4)
85
- thor (>= 0.14.6, < 2.0)
86
- rake (10.0.4)
87
- rdoc (3.12.2)
88
- json (~> 1.4)
75
+ thor (>= 0.18.1, < 2.0)
76
+ rake (10.1.0)
89
77
  request_store (1.0.5)
90
78
  rest-client (1.6.7)
91
79
  mime-types (>= 1.16)
92
- rspec (2.13.0)
93
- rspec-core (~> 2.13.0)
94
- rspec-expectations (~> 2.13.0)
95
- rspec-mocks (~> 2.13.0)
96
- rspec-core (2.13.1)
97
- rspec-expectations (2.13.0)
80
+ rspec (2.14.1)
81
+ rspec-core (~> 2.14.0)
82
+ rspec-expectations (~> 2.14.0)
83
+ rspec-mocks (~> 2.14.0)
84
+ rspec-core (2.14.5)
85
+ rspec-expectations (2.14.2)
98
86
  diff-lcs (>= 1.1.3, < 2.0)
99
- rspec-mocks (2.13.1)
100
- rspec-rails (2.13.0)
87
+ rspec-mocks (2.14.3)
88
+ rspec-rails (2.14.0)
101
89
  actionpack (>= 3.0)
102
90
  activesupport (>= 3.0)
103
91
  railties (>= 3.0)
104
- rspec-core (~> 2.13.0)
105
- rspec-expectations (~> 2.13.0)
106
- rspec-mocks (~> 2.13.0)
92
+ rspec-core (~> 2.14.0)
93
+ rspec-expectations (~> 2.14.0)
94
+ rspec-mocks (~> 2.14.0)
107
95
  simplecov (0.7.1)
108
96
  multi_json (~> 1.0)
109
97
  simplecov-html (~> 0.7.1)
110
98
  simplecov-html (0.7.1)
111
- sprockets (2.2.2)
99
+ sprockets (2.10.0)
112
100
  hike (~> 1.2)
113
101
  multi_json (~> 1.0)
114
102
  rack (~> 1.0)
115
103
  tilt (~> 1.1, != 1.3.0)
104
+ sprockets-rails (2.0.0)
105
+ actionpack (>= 3.0)
106
+ activesupport (>= 3.0)
107
+ sprockets (~> 2.8)
116
108
  thor (0.18.1)
117
- tilt (1.3.7)
118
- treetop (1.4.12)
109
+ thread_safe (0.1.2)
110
+ atomic
111
+ tilt (1.4.1)
112
+ treetop (1.4.15)
119
113
  polyglot
120
114
  polyglot (>= 0.3.1)
121
115
  tzinfo (0.3.37)
@@ -124,10 +118,10 @@ PLATFORMS
124
118
  ruby
125
119
 
126
120
  DEPENDENCIES
127
- activesupport (~> 3.2)
121
+ activesupport (>= 3.2)
128
122
  coveralls
129
123
  decent_decoration!
130
124
  draper (>= 1.0.0)
131
- rails (~> 3.2)
125
+ rails (>= 3.2)
132
126
  rspec (~> 2.13)
133
127
  rspec-rails (~> 2.13)
@@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
19
19
  gem.add_runtime_dependency 'decent_exposure', '> 0'
20
20
  gem.add_development_dependency 'rspec', '~> 2.13'
21
21
  gem.add_development_dependency 'rspec-rails', '~> 2.13'
22
- gem.add_development_dependency 'rails', '~> 3.2'
23
- gem.add_development_dependency 'activesupport', '~> 3.2'
22
+ gem.add_development_dependency 'rails', '>= 3.2'
23
+ gem.add_development_dependency 'activesupport', '>= 3.2'
24
24
  gem.add_development_dependency 'draper', '>= 1.0.0'
25
25
  end
@@ -1,3 +1,3 @@
1
1
  module DecentDecoration
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -32,7 +32,7 @@ describe DecentDecoration::Decoration do
32
32
  describe "#decorate_method" do
33
33
  describe "when name is plural" do
34
34
  subject { klass.new(:conferences, decorator: decorator) }
35
- let(:decorator) { stub }
35
+ let(:decorator) { double }
36
36
 
37
37
  it "should be :decorate_collection if decorator supports it" do
38
38
  decorator.stub(:decorate_collection)
@@ -58,7 +58,7 @@ describe DecentDecoration::Decoration do
58
58
 
59
59
  describe "when name is singular" do
60
60
  subject { klass.new(:conference, decorator: decorator) }
61
- let(:decorator) { stub }
61
+ let(:decorator) { double }
62
62
 
63
63
  it "should not be :decorate_collection even if decorator supports it" do
64
64
  decorator.stub(:decorate_collection)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decent_decoration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomasz Pewiński
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-28 00:00:00.000000000 Z
11
+ date: 2013-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decent_exposure
@@ -56,28 +56,28 @@ dependencies:
56
56
  name: rails
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '3.2'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3.2'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: activesupport
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '3.2'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '3.2'
83
83
  - !ruby/object:Gem::Dependency
@@ -103,6 +103,7 @@ extra_rdoc_files: []
103
103
  files:
104
104
  - .gitignore
105
105
  - .travis.yml
106
+ - CHANGELOG.md
106
107
  - Gemfile
107
108
  - Gemfile.lock
108
109
  - LICENSE.txt
@@ -139,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
140
  version: '0'
140
141
  requirements: []
141
142
  rubyforge_project:
142
- rubygems_version: 2.0.0
143
+ rubygems_version: 2.0.3
143
144
  signing_key:
144
145
  specification_version: 4
145
146
  summary: Use decent_exposure with decorators (e.g. Draper)