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 +4 -4
- data/lib/plastic_wrap/cardboard_tube.rb +6 -2
- data/lib/plastic_wrap/version.rb +1 -1
- data/plastic_wrap.gemspec +2 -2
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2e039d3b5842d9e89aad6704ee150d709476d5b
|
4
|
+
data.tar.gz: 594eca07f0a20ce73ac6329dce94268f9881344d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
data/lib/plastic_wrap/version.rb
CHANGED
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'
|
20
|
-
gem.add_dependency('activesupport'
|
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
|
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:
|
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:
|
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:
|
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:
|
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:
|
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.
|
81
|
+
rubygems_version: 2.1.11
|
82
82
|
signing_key:
|
83
83
|
specification_version: 4
|
84
84
|
summary: ''
|