undo-serializer-primitive 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -23,6 +23,7 @@ module Undo
23
23
  when "TrueClass" then true
24
24
  when "FalseClass" then false
25
25
  when "NilClass" then nil
26
+ when "Hash" then Hash.new object # for Ruby < 2.0
26
27
  else Kernel.send primitive_class, object
27
28
  end
28
29
  end
@@ -1,6 +1,6 @@
1
1
  require "spec_helper_lite"
2
2
  require "undo"
3
- require_relative '../../../undo/integration/shared_undo_integration_examples.rb'
3
+ require 'undo/integration/shared_undo_integration_examples.rb'
4
4
 
5
5
  Undo.configure do |config|
6
6
  config.serializer = Undo::Serializer::Primitive.new
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ["lib"]
19
19
 
20
- spec.add_dependency "undo", ">= 1.0.0.beta1"
20
+ spec.add_dependency "undo", "~> 1.0.0.beta3"
21
21
  spec.add_development_dependency "bundler", "~> 1.0"
22
22
  spec.add_development_dependency "rake"
23
23
  spec.add_development_dependency "rspec", ">= 3.0.0.beta1"
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: undo-serializer-primitive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Alexander Paramonov
@@ -13,57 +14,65 @@ dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: undo
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - ">="
19
+ - - ~>
18
20
  - !ruby/object:Gem::Version
19
- version: 1.0.0.beta1
21
+ version: 1.0.0.beta3
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - ">="
27
+ - - ~>
25
28
  - !ruby/object:Gem::Version
26
- version: 1.0.0.beta1
29
+ version: 1.0.0.beta3
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: bundler
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - "~>"
35
+ - - ~>
32
36
  - !ruby/object:Gem::Version
33
37
  version: '1.0'
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - "~>"
43
+ - - ~>
39
44
  - !ruby/object:Gem::Version
40
45
  version: '1.0'
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: rake
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - ">="
51
+ - - ! '>='
46
52
  - !ruby/object:Gem::Version
47
53
  version: '0'
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - ">="
59
+ - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: rspec
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - ">="
67
+ - - ! '>='
60
68
  - !ruby/object:Gem::Version
61
69
  version: 3.0.0.beta1
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - ">="
75
+ - - ! '>='
67
76
  - !ruby/object:Gem::Version
68
77
  version: 3.0.0.beta1
69
78
  description: Serializer for primitives for Undo gem.
@@ -73,12 +82,12 @@ executables: []
73
82
  extensions: []
74
83
  extra_rdoc_files: []
75
84
  files:
76
- - ".coveralls.yml"
77
- - ".gitignore"
78
- - ".rspec"
79
- - ".ruby-gemset"
80
- - ".ruby-version"
81
- - ".travis.yml"
85
+ - .coveralls.yml
86
+ - .gitignore
87
+ - .rspec
88
+ - .ruby-gemset
89
+ - .ruby-version
90
+ - .travis.yml
82
91
  - Gemfile
83
92
  - LICENSE.txt
84
93
  - README.md
@@ -93,26 +102,27 @@ files:
93
102
  homepage: http://github.com/AlexParamonov/undo-serializer-primitive
94
103
  licenses:
95
104
  - MIT
96
- metadata: {}
97
105
  post_install_message:
98
106
  rdoc_options: []
99
107
  require_paths:
100
108
  - lib
101
109
  required_ruby_version: !ruby/object:Gem::Requirement
110
+ none: false
102
111
  requirements:
103
- - - ">="
112
+ - - ! '>='
104
113
  - !ruby/object:Gem::Version
105
114
  version: '0'
106
115
  required_rubygems_version: !ruby/object:Gem::Requirement
116
+ none: false
107
117
  requirements:
108
- - - ">="
118
+ - - ! '>='
109
119
  - !ruby/object:Gem::Version
110
120
  version: '0'
111
121
  requirements: []
112
122
  rubyforge_project:
113
- rubygems_version: 2.1.11
123
+ rubygems_version: 1.8.25
114
124
  signing_key:
115
- specification_version: 4
125
+ specification_version: 3
116
126
  summary: Serializer for primitives for Undo gem.
117
127
  test_files:
118
128
  - spec/integration/undo_spec.rb
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 031ec569b6a114811f4c67bf1baeaeb2f4fa979f
4
- data.tar.gz: ea70c501531551cba3236852cb51121c9b7d6433
5
- SHA512:
6
- metadata.gz: 6dfc7415827ddcf257e72b4d3963ae5d2a0b5b7272e36ff43fe9d16d2ed6624b06360b56502ceffa96bf0b8e9ecd75d135bf3f55b7172fb18d9fba5cb8adae09
7
- data.tar.gz: cfac39e16fa802d86a911bc1a826a58a2ad9ed3ac1e81c8d55f556035d582d273855a8bdb2cd30b941f9b5729e5b58b4d6750b9288da4ff251c4046055438bf7