eternity 1.0.0 → 1.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: 3b1be717d81a945f05cc68350c5291916a40e37a
4
- data.tar.gz: 3a4091179e5a901e528acee59c63463c4459437b
3
+ metadata.gz: e5209e8138f6a020ee61e92d2b9854f8ede9314a
4
+ data.tar.gz: ae6f31cda74b10df148425b826160cfca7b2a3d1
5
5
  SHA512:
6
- metadata.gz: 421fe67444cd8a285666bb6ec41083e9679bc2f0338af5fbc8f7befebf5ae3cf60c8602d474185f7536d4f34021ba6d0d9b9782a1c868041c5d20eeab14dcf55
7
- data.tar.gz: c5226548c8da91a8dfc3467cfaf25b449dd84af4e0265ffa86cf199fae20303166a2c3fdd182b0657e92cd7f4eeffdf49c9eb5e46e6534428f5ff5dd5eefc86a
6
+ metadata.gz: 7a35eb0ebf2719baeadbe27f31bfd8cbdc464c974f7095533b940b31e2aa967f88fd733aeed8bfc4e8a908a50ce8fa5b331a07564c577fe45d15567d0f7342ac
7
+ data.tar.gz: 5ed1eb531ed44e9f2ceda94a690539aefe698bfa18a65ace11dcee458bf4d34d1b2020432646ff113fd3d19f6799ebc944673cd1820e75b79eb739e832f95735
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby 2.0
1
+ ruby-2.4.0
data/.travis.yml CHANGED
@@ -5,6 +5,7 @@ rvm:
5
5
  - 2.1
6
6
  - 2.2
7
7
  - 2.3.0
8
+ - 2.4.0
8
9
  - jruby
9
10
  services:
10
11
  - redis-server
data/Gemfile CHANGED
@@ -1,6 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in eternity.gemspec
4
- gemspec
5
-
6
- gem 'coveralls', require: false
4
+ gemspec
data/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # Eternity
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/eternity.png)](https://rubygems.org/gems/eternity)
4
- [![Build Status](https://travis-ci.org/gabynaiman/eternity.png?branch=master)](https://travis-ci.org/gabynaiman/eternity)
5
- [![Coverage Status](https://coveralls.io/repos/gabynaiman/eternity/badge.png?branch=master)](https://coveralls.io/r/gabynaiman/eternity?branch=master)
6
- [![Code Climate](https://codeclimate.com/github/gabynaiman/eternity.png)](https://codeclimate.com/github/gabynaiman/eternity)
7
- [![Dependency Status](https://gemnasium.com/gabynaiman/eternity.png)](https://gemnasium.com/gabynaiman/eternity)
3
+ [![Gem Version](https://badge.fury.io/rb/eternity.svg)](https://rubygems.org/gems/eternity)
4
+ [![Build Status](https://travis-ci.org/gabynaiman/eternity.svg?branch=master)](https://travis-ci.org/gabynaiman/eternity)
5
+ [![Coverage Status](https://coveralls.io/repos/gabynaiman/eternity/badge.svg?branch=master)](https://coveralls.io/r/gabynaiman/eternity?branch=master)
6
+ [![Code Climate](https://codeclimate.com/github/gabynaiman/eternity.svg)](https://codeclimate.com/github/gabynaiman/eternity)
7
+ [![Dependency Status](https://gemnasium.com/gabynaiman/eternity.svg)](https://gemnasium.com/gabynaiman/eternity)
8
8
 
9
9
  Distributed database version control system
10
10
 
data/Rakefile CHANGED
@@ -6,6 +6,11 @@ Rake::TestTask.new(:spec) do |t|
6
6
  t.pattern = 'spec/**/*_spec.rb'
7
7
  t.verbose = false
8
8
  t.warning = false
9
+ t.loader = nil if ENV['TEST']
10
+ ENV['TEST'], ENV['LINE'] = ENV['TEST'].split(':') if ENV['TEST'] && !ENV['LINE']
11
+ t.options = ''
12
+ t.options << "--name=/#{ENV['NAME']}/ " if ENV['NAME']
13
+ t.options << "-l #{ENV['LINE']} " if ENV['LINE'] && ENV['TEST']
9
14
  end
10
15
 
11
16
  task :console do
data/eternity.gemspec CHANGED
@@ -25,14 +25,22 @@ Gem::Specification.new do |spec|
25
25
  if RUBY_PLATFORM == 'java'
26
26
  spec.add_dependency 'msgpack-jruby', '~> 1.4'
27
27
  else
28
- spec.add_dependency 'msgpack', '~> 0.7'
28
+ spec.add_dependency 'msgpack', '~> 1.0'
29
29
  end
30
30
 
31
- spec.add_development_dependency 'bundler', '~> 1.5'
32
- spec.add_development_dependency 'rake'
33
- spec.add_development_dependency 'minitest', '~> 4.7'
31
+ spec.add_development_dependency 'bundler', '~> 1.12'
32
+ spec.add_development_dependency 'rake', '~> 11.0'
33
+ spec.add_development_dependency 'minitest', '~> 5.0'
34
+ spec.add_development_dependency 'minitest-colorin', '~> 0.1'
35
+ spec.add_development_dependency 'minitest-line', '~> 0.6'
34
36
  spec.add_development_dependency "minitest-great_expectations"
35
- spec.add_development_dependency 'turn', '~> 0.9'
36
- spec.add_development_dependency 'simplecov'
37
- spec.add_development_dependency 'pry-nav'
37
+ spec.add_development_dependency 'simplecov', '~> 0.12'
38
+ spec.add_development_dependency 'coveralls', '~> 0.8'
39
+ spec.add_development_dependency 'pry-nav', '~> 0.2'
40
+
41
+ if RUBY_VERSION < '2'
42
+ spec.add_development_dependency 'term-ansicolor', '~> 1.3.0'
43
+ spec.add_development_dependency 'tins', '~> 1.6.0'
44
+ spec.add_development_dependency 'json', '~> 1.8'
45
+ end
38
46
  end
@@ -1,3 +1,3 @@
1
1
  module Eternity
2
- VERSION = '1.0.0'
2
+ VERSION = '1.1.0'
3
3
  end
@@ -1,8 +1,5 @@
1
1
  require 'simplecov'
2
2
  require 'coveralls'
3
3
 
4
- SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
5
- SimpleCov::Formatter::HTMLFormatter,
6
- Coveralls::SimpleCov::Formatter
7
- ]
4
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter]
8
5
  SimpleCov.start
@@ -1,19 +1,13 @@
1
1
  require 'coverage_helper'
2
2
  require 'eternity'
3
3
  require 'minitest/autorun'
4
+ require 'minitest/colorin'
4
5
  require 'minitest/great_expectations'
5
6
  require 'timeout'
6
- require 'turn'
7
7
  require 'pry-nav'
8
8
 
9
9
  include Eternity
10
10
 
11
- Turn.config do |c|
12
- c.format = :pretty
13
- c.natural = true
14
- c.ansi = true
15
- end
16
-
17
11
  Eternity.configure do |config|
18
12
  config.keyspace = Restruct::Id.new :eternity_test
19
13
  config.blob_path = File.expand_path('../../tmp', __FILE__)
metadata CHANGED
@@ -1,169 +1,197 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eternity
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Naiman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-28 00:00:00.000000000 Z
11
+ date: 2017-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: restruct
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: class_config
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: transparent_proxy
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: msgpack
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.7'
61
+ version: '1.0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0.7'
68
+ version: '1.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.5'
75
+ version: '1.12'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1.5'
82
+ version: '1.12'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: '11.0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: '11.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: minitest
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '5.0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '5.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: minitest-colorin
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0.1'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.1'
125
+ - !ruby/object:Gem::Dependency
126
+ name: minitest-line
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
102
130
  - !ruby/object:Gem::Version
103
- version: '4.7'
131
+ version: '0.6'
104
132
  type: :development
105
133
  prerelease: false
106
134
  version_requirements: !ruby/object:Gem::Requirement
107
135
  requirements:
108
- - - ~>
136
+ - - "~>"
109
137
  - !ruby/object:Gem::Version
110
- version: '4.7'
138
+ version: '0.6'
111
139
  - !ruby/object:Gem::Dependency
112
140
  name: minitest-great_expectations
113
141
  requirement: !ruby/object:Gem::Requirement
114
142
  requirements:
115
- - - '>='
143
+ - - ">="
116
144
  - !ruby/object:Gem::Version
117
145
  version: '0'
118
146
  type: :development
119
147
  prerelease: false
120
148
  version_requirements: !ruby/object:Gem::Requirement
121
149
  requirements:
122
- - - '>='
150
+ - - ">="
123
151
  - !ruby/object:Gem::Version
124
152
  version: '0'
125
153
  - !ruby/object:Gem::Dependency
126
- name: turn
154
+ name: simplecov
127
155
  requirement: !ruby/object:Gem::Requirement
128
156
  requirements:
129
- - - ~>
157
+ - - "~>"
130
158
  - !ruby/object:Gem::Version
131
- version: '0.9'
159
+ version: '0.12'
132
160
  type: :development
133
161
  prerelease: false
134
162
  version_requirements: !ruby/object:Gem::Requirement
135
163
  requirements:
136
- - - ~>
164
+ - - "~>"
137
165
  - !ruby/object:Gem::Version
138
- version: '0.9'
166
+ version: '0.12'
139
167
  - !ruby/object:Gem::Dependency
140
- name: simplecov
168
+ name: coveralls
141
169
  requirement: !ruby/object:Gem::Requirement
142
170
  requirements:
143
- - - '>='
171
+ - - "~>"
144
172
  - !ruby/object:Gem::Version
145
- version: '0'
173
+ version: '0.8'
146
174
  type: :development
147
175
  prerelease: false
148
176
  version_requirements: !ruby/object:Gem::Requirement
149
177
  requirements:
150
- - - '>='
178
+ - - "~>"
151
179
  - !ruby/object:Gem::Version
152
- version: '0'
180
+ version: '0.8'
153
181
  - !ruby/object:Gem::Dependency
154
182
  name: pry-nav
155
183
  requirement: !ruby/object:Gem::Requirement
156
184
  requirements:
157
- - - '>='
185
+ - - "~>"
158
186
  - !ruby/object:Gem::Version
159
- version: '0'
187
+ version: '0.2'
160
188
  type: :development
161
189
  prerelease: false
162
190
  version_requirements: !ruby/object:Gem::Requirement
163
191
  requirements:
164
- - - '>='
192
+ - - "~>"
165
193
  - !ruby/object:Gem::Version
166
- version: '0'
194
+ version: '0.2'
167
195
  description: Distributed database version control system
168
196
  email:
169
197
  - gabynaiman@gmail.com
@@ -171,11 +199,11 @@ executables: []
171
199
  extensions: []
172
200
  extra_rdoc_files: []
173
201
  files:
174
- - .coveralls.yml
175
- - .gitignore
176
- - .ruby-gemset
177
- - .ruby-version
178
- - .travis.yml
202
+ - ".coveralls.yml"
203
+ - ".gitignore"
204
+ - ".ruby-gemset"
205
+ - ".ruby-version"
206
+ - ".travis.yml"
179
207
  - Gemfile
180
208
  - LICENSE.txt
181
209
  - README.md
@@ -224,17 +252,17 @@ require_paths:
224
252
  - lib
225
253
  required_ruby_version: !ruby/object:Gem::Requirement
226
254
  requirements:
227
- - - '>='
255
+ - - ">="
228
256
  - !ruby/object:Gem::Version
229
257
  version: '0'
230
258
  required_rubygems_version: !ruby/object:Gem::Requirement
231
259
  requirements:
232
- - - '>='
260
+ - - ">="
233
261
  - !ruby/object:Gem::Version
234
262
  version: '0'
235
263
  requirements: []
236
264
  rubyforge_project:
237
- rubygems_version: 2.4.8
265
+ rubygems_version: 2.6.8
238
266
  signing_key:
239
267
  specification_version: 4
240
268
  summary: Distributed database version control system