draper 0.11.0 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/draper.rb +1 -1
  2. data/lib/draper/version.rb +1 -1
  3. metadata +29 -51
data/lib/draper.rb CHANGED
@@ -7,5 +7,5 @@ require 'draper/helper_support'
7
7
  require 'draper/view_context'
8
8
  require 'draper/decorated_enumerable_proxy'
9
9
  require 'draper/rspec_integration' if defined?(RSpec) and RSpec.respond_to?(:configure)
10
- require 'draper/railtie'
10
+ require 'draper/railtie' if defined?(Rails)
11
11
 
@@ -1,3 +1,3 @@
1
1
  module Draper
2
- VERSION = "0.11.0"
2
+ VERSION = "0.11.1"
3
3
  end
metadata CHANGED
@@ -1,50 +1,36 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: draper
3
- version: !ruby/object:Gem::Version
4
- hash: 51
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.11.1
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 11
9
- - 0
10
- version: 0.11.0
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Jeff Casimir
14
9
  - Steve Klabnik
15
10
  autorequire:
16
11
  bindir: bin
17
12
  cert_chain: []
18
-
19
- date: 2012-03-14 00:00:00 Z
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
13
+ date: 2012-03-14 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
22
16
  name: activesupport
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &70289233390860 !ruby/object:Gem::Requirement
25
18
  none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 23
30
- segments:
31
- - 2
32
- - 3
33
- - 10
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
34
22
  version: 2.3.10
35
23
  type: :runtime
36
- version_requirements: *id001
24
+ prerelease: false
25
+ version_requirements: *70289233390860
37
26
  description: Draper implements a decorator or presenter pattern for Rails applications.
38
- email:
27
+ email:
39
28
  - jeff@casimircreative.com
40
29
  - steve@steveklabnik.com
41
30
  executables: []
42
-
43
31
  extensions: []
44
-
45
32
  extra_rdoc_files: []
46
-
47
- files:
33
+ files:
48
34
  - .gitignore
49
35
  - .rspec
50
36
  - .travis.yml
@@ -126,38 +112,29 @@ files:
126
112
  - spec/support/samples/widget_decorator.rb
127
113
  homepage: http://github.com/jcasimir/draper
128
114
  licenses: []
129
-
130
115
  post_install_message:
131
116
  rdoc_options: []
132
-
133
- require_paths:
117
+ require_paths:
134
118
  - lib
135
- required_ruby_version: !ruby/object:Gem::Requirement
119
+ required_ruby_version: !ruby/object:Gem::Requirement
136
120
  none: false
137
- requirements:
138
- - - ">="
139
- - !ruby/object:Gem::Version
140
- hash: 3
141
- segments:
142
- - 0
143
- version: "0"
144
- required_rubygems_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ! '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ required_rubygems_version: !ruby/object:Gem::Requirement
145
126
  none: false
146
- requirements:
147
- - - ">="
148
- - !ruby/object:Gem::Version
149
- hash: 3
150
- segments:
151
- - 0
152
- version: "0"
127
+ requirements:
128
+ - - ! '>='
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
153
131
  requirements: []
154
-
155
132
  rubyforge_project: draper
156
- rubygems_version: 1.8.15
133
+ rubygems_version: 1.8.16
157
134
  signing_key:
158
135
  specification_version: 3
159
136
  summary: Decorator pattern implementation for Rails.
160
- test_files:
137
+ test_files:
161
138
  - spec/draper/base_spec.rb
162
139
  - spec/draper/helper_support_spec.rb
163
140
  - spec/draper/model_support_spec.rb
@@ -182,3 +159,4 @@ test_files:
182
159
  - spec/support/samples/specific_product_decorator.rb
183
160
  - spec/support/samples/widget.rb
184
161
  - spec/support/samples/widget_decorator.rb
162
+ has_rdoc: