plastic_wrap 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7e235f6ffb1ffff6ad6049feb6e8d7e67e4156ba
4
+ data.tar.gz: 1ef314d6cf1e9d408018d7b355420f2786ac2b54
5
+ SHA512:
6
+ metadata.gz: f515601e76c533046ca02f877482decb854c08edfcbbd363f1f4e829ba318702c576090033a765b5493ae3a27a4b0cc5d0a3414e172513c0ab088036e2074aa5
7
+ data.tar.gz: 231046aad569780ab92116f285ef53ab9f0cec0dab0930898b8cefbb90c19eb76a73023874c2877d1e0309f6c1db936ecbc4dab7fd53470d1ae0af3ef4809a9a
@@ -41,9 +41,13 @@ module PlasticWrap
41
41
  if wrappable.respond_to?(:map)
42
42
  wrappable.map {|x| wrap(x, options) }
43
43
  else
44
- new(wrappable, options)
44
+ wrap_type(wrappable).new(wrappable, options)
45
45
  end
46
46
  end
47
+
48
+ def wrap_type(wrappable)
49
+ self
50
+ end
47
51
  end
48
52
  end
49
53
  end
@@ -1,3 +1,3 @@
1
1
  module PlasticWrap
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plastic_wrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
5
- prerelease:
4
+ version: 0.0.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Craig Savolainen
@@ -10,12 +9,11 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2012-11-23 00:00:00.000000000 Z
12
+ date: 2013-08-07 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: actionpack
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
18
  - - ~>
21
19
  - !ruby/object:Gem::Version
@@ -23,7 +21,6 @@ dependencies:
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
25
  - - ~>
29
26
  - !ruby/object:Gem::Version
@@ -31,7 +28,6 @@ dependencies:
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: activesupport
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
32
  - - ~>
37
33
  - !ruby/object:Gem::Version
@@ -39,7 +35,6 @@ dependencies:
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
39
  - - ~>
45
40
  - !ruby/object:Gem::Version
@@ -66,26 +61,25 @@ files:
66
61
  - plastic_wrap.gemspec
67
62
  homepage: http://github.com/influitive/plastic_wrap
68
63
  licenses: []
64
+ metadata: {}
69
65
  post_install_message:
70
66
  rdoc_options: []
71
67
  require_paths:
72
68
  - lib
73
69
  required_ruby_version: !ruby/object:Gem::Requirement
74
- none: false
75
70
  requirements:
76
- - - ! '>='
71
+ - - '>='
77
72
  - !ruby/object:Gem::Version
78
73
  version: '0'
79
74
  required_rubygems_version: !ruby/object:Gem::Requirement
80
- none: false
81
75
  requirements:
82
- - - ! '>='
76
+ - - '>='
83
77
  - !ruby/object:Gem::Version
84
78
  version: '0'
85
79
  requirements: []
86
80
  rubyforge_project:
87
- rubygems_version: 1.8.24
81
+ rubygems_version: 2.0.3
88
82
  signing_key:
89
- specification_version: 3
83
+ specification_version: 4
90
84
  summary: ''
91
85
  test_files: []