plastic_wrap 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e235f6ffb1ffff6ad6049feb6e8d7e67e4156ba
4
- data.tar.gz: 1ef314d6cf1e9d408018d7b355420f2786ac2b54
3
+ metadata.gz: e2e039d3b5842d9e89aad6704ee150d709476d5b
4
+ data.tar.gz: 594eca07f0a20ce73ac6329dce94268f9881344d
5
5
  SHA512:
6
- metadata.gz: f515601e76c533046ca02f877482decb854c08edfcbbd363f1f4e829ba318702c576090033a765b5493ae3a27a4b0cc5d0a3414e172513c0ab088036e2074aa5
7
- data.tar.gz: 231046aad569780ab92116f285ef53ab9f0cec0dab0930898b8cefbb90c19eb76a73023874c2877d1e0309f6c1db936ecbc4dab7fd53470d1ae0af3ef4809a9a
6
+ metadata.gz: fce4fc9cb3c7a97a047dfdd073f99d189e49007085d28487713ac8d94fc9fb22d2297ee31ef59566fe0922e1c797fc35c5ea72e9b2bc6cc09dc3e70786974827
7
+ data.tar.gz: 52566a6c36a5ab4d5a8848239a59ad45ca5a2b4cd00790383736f8aa92f30a4475783822b601bd7b2ed880e8094c4247c0593fd75ca7178e087d93c89323c7ff
@@ -3,9 +3,13 @@ module PlasticWrap
3
3
  extend ActiveSupport::Concern
4
4
 
5
5
  included do
6
- include Rails.application.routes.url_helpers
7
6
  include ActionView::Helpers
8
- include Sprockets::Helpers::RailsHelper
7
+ include Rails.application.routes.url_helpers
8
+ if Rails::VERSION::MAJOR >= 4
9
+ include Sprockets::Rails::Helper
10
+ else
11
+ include Sprockets::Helpers::RailsHelper
12
+ end
9
13
 
10
14
  attr_accessor :options, :output_buffer
11
15
  end
@@ -1,3 +1,3 @@
1
1
  module PlasticWrap
2
- VERSION = "0.0.2"
2
+ VERSION = "0.1.0"
3
3
  end
data/plastic_wrap.gemspec CHANGED
@@ -16,6 +16,6 @@ Gem::Specification.new do |gem|
16
16
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
- gem.add_dependency('actionpack', '~> 3.2.0')
20
- gem.add_dependency('activesupport', '~> 3.2.0')
19
+ gem.add_dependency('actionpack')
20
+ gem.add_dependency('activesupport')
21
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plastic_wrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Craig Savolainen
@@ -9,36 +9,36 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-07 00:00:00.000000000 Z
12
+ date: 2014-07-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ~>
18
+ - - '>='
19
19
  - !ruby/object:Gem::Version
20
- version: 3.2.0
20
+ version: '0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ~>
25
+ - - '>='
26
26
  - !ruby/object:Gem::Version
27
- version: 3.2.0
27
+ version: '0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: activesupport
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ~>
32
+ - - '>='
33
33
  - !ruby/object:Gem::Version
34
- version: 3.2.0
34
+ version: '0'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ~>
39
+ - - '>='
40
40
  - !ruby/object:Gem::Version
41
- version: 3.2.0
41
+ version: '0'
42
42
  description: Decorator to help with the boilerplate of using Rails helpers. It gently
43
43
  wraps your classes to keep your views fresh.
44
44
  email:
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  requirements: []
80
80
  rubyforge_project:
81
- rubygems_version: 2.0.3
81
+ rubygems_version: 2.1.11
82
82
  signing_key:
83
83
  specification_version: 4
84
84
  summary: ''