undo 0.0.2 → 0.0.3

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: c5b749d7de8d45dac8367342ed0d678c5e4a6286
4
- data.tar.gz: bc8cab3fff78e6d6edfb98e071f2e811b9a54d97
3
+ metadata.gz: 4a5040011eba1d15fba3685916c6b860e1c27bcb
4
+ data.tar.gz: 13ac49e306629143828ceb2c8b9485fc331b6f13
5
5
  SHA512:
6
- metadata.gz: dd5f16a578091ab7827d0876a2f8d7b01080c0f22dc35372c7d11e6d2153478ceb1d0f7f1c7a8734f73346342017406a7e7c48d3ac759787302da832284dd338
7
- data.tar.gz: 09685a617567f1aaeeebd28073e869f6a82200217293fa7fff80690efccd09ac4a060aeeb214317e821bbbf25a4fdbd5fb90ec9742ea052826bae48bb61c47cd
6
+ metadata.gz: 0c7b26509df4c556ff01122e53af31069be2b3ebb5b64bcd3cab7a2cc7f471130a4c11fb1fe850ca317cc1daddfecbdf4d6ed52642ef7b8dd6de34499c72c03f
7
+ data.tar.gz: 30eef3cf3133a1515ef46e1ada8baf4e517c92d3155ef8970514075e088bf6817ecf89761edd8ceed6ae9f46051b465ab0244d1d3eca66a5713a8f0eae89bb46
data/Gemfile CHANGED
@@ -1,4 +1,11 @@
1
1
  source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in undo.gemspec
4
2
  gemspec
3
+
4
+ group :test do
5
+ if !!ENV['CI']
6
+ gem "coveralls"
7
+ else
8
+ gem "pry"
9
+ gem "pry-plus" if "ruby" == RUBY_ENGINE
10
+ end
11
+ end
@@ -1,4 +1,4 @@
1
- require "undo/gemspec"
1
+ require "undo/version"
2
2
  require "undo/config"
3
3
 
4
4
  module Undo
@@ -0,0 +1,3 @@
1
+ module Undo
2
+ VERSION = "0.0.3"
3
+ end
@@ -1,4 +1,4 @@
1
- if Undo::RUNNING_ON_CI
1
+ if !!ENV['CI']
2
2
  require 'coveralls'
3
3
  Coveralls.wear!
4
4
  else
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'undo/gemspec'
4
+ require 'undo/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "undo"
@@ -30,10 +30,4 @@ No database required: store data as it suites you.
30
30
  spec.add_development_dependency "rake"
31
31
  spec.add_development_dependency "rspec", ">= 3.0.0.beta1"
32
32
 
33
- if Undo::RUNNING_ON_CI
34
- spec.add_development_dependency "coveralls"
35
- else
36
- spec.add_development_dependency "pry"
37
- spec.add_development_dependency "pry-plus" if "ruby" == RUBY_ENGINE
38
- end
39
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: undo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Paramonov
@@ -66,34 +66,6 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: 3.0.0.beta1
69
- - !ruby/object:Gem::Dependency
70
- name: pry
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: pry-plus
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
69
  description: |2
98
70
 
99
71
  Undo reverts operation made upon object.
@@ -120,10 +92,10 @@ files:
120
92
  - Rakefile
121
93
  - lib/undo.rb
122
94
  - lib/undo/config.rb
123
- - lib/undo/gemspec.rb
124
95
  - lib/undo/model.rb
125
96
  - lib/undo/serializer/null.rb
126
97
  - lib/undo/storage/memory.rb
98
+ - lib/undo/version.rb
127
99
  - spec/spec_helper_lite.rb
128
100
  - spec/undo/model_spec.rb
129
101
  - spec/undo/serializer/null_spec.rb
@@ -1,4 +0,0 @@
1
- module Undo
2
- VERSION = "0.0.2"
3
- RUNNING_ON_CI = !!ENV['CI']
4
- end