determinator 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Rakefile +18 -0
- data/circle.yml +0 -0
- data/determinator.gemspec +2 -1
- data/lib/determinator/version.rb +1 -1
- metadata +19 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31a5345bdfccd96ab6365abbf4252b404f04dcad
|
4
|
+
data.tar.gz: 8ad32254bb12c3ec42c231a004cebc766b81c638
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72d958a7aa3f1e4760d786d903e6b26d262d709156dfdeba0969637fd91ccc034db6e716eafba467d687ed9ecccbb0b33ae4bb66ae138f9f16f04fcf6d4506b1
|
7
|
+
data.tar.gz: 97e2fbf318765d3982afad0a0f8e4766784e3360be8779e1389f8b1515ad16d679429d165f39c92ed232d5963500f6b0c645005bfa8bba2479b4005b3fc9e26e
|
data/.gitignore
CHANGED
data/Rakefile
CHANGED
@@ -1,6 +1,24 @@
|
|
1
1
|
require 'bundler/gem_tasks'
|
2
2
|
require 'rspec/core/rake_task'
|
3
|
+
require 'semantic'
|
3
4
|
|
4
5
|
RSpec::Core::RakeTask.new(:spec)
|
5
6
|
|
6
7
|
task default: :spec
|
8
|
+
|
9
|
+
namespace :version do
|
10
|
+
desc "Bumps the minor version of the gem, saving to the version file"
|
11
|
+
task :bump do
|
12
|
+
version = Semantic::Version.new(Determinator::VERSION)
|
13
|
+
# Always bump the patch version, the minor and major versions can be bumped manually
|
14
|
+
version.patch += 1
|
15
|
+
|
16
|
+
version_file = File.join(__dir__, "lib/determinator/version.rb")
|
17
|
+
vfile_contents = File.read(version_file)
|
18
|
+
new_contents = vfile_contents.sub(%r{VERSION = "(.+?)"}, %Q[VERSION = "#{version.to_s}"])
|
19
|
+
|
20
|
+
File.write(version_file, new_contents)
|
21
|
+
Determinator.send(:remove_const, :VERSION)
|
22
|
+
load version_file
|
23
|
+
end
|
24
|
+
end
|
data/circle.yml
ADDED
File without changes
|
data/determinator.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
21
|
spec.require_paths = ["lib"]
|
22
22
|
|
23
|
-
spec.add_runtime_dependency "routemaster-drain", "~> 2.
|
23
|
+
spec.add_runtime_dependency "routemaster-drain", "~> 2.4"
|
24
24
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.13"
|
26
26
|
spec.add_development_dependency "rake", "~> 10.0"
|
@@ -28,4 +28,5 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.add_development_dependency "rspec-its", "~> 1.2"
|
29
29
|
spec.add_development_dependency "guard-rspec", "~> 4.7"
|
30
30
|
spec.add_development_dependency "factory_girl", "~> 4.8"
|
31
|
+
spec.add_development_dependency "semantic", "~> 1.6"
|
31
32
|
end
|
data/lib/determinator/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: determinator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JP Hastings-Spital
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: routemaster-drain
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2.
|
19
|
+
version: '2.4'
|
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
|
-
version: '2.
|
26
|
+
version: '2.4'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,6 +108,20 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '4.8'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: semantic
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1.6'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1.6'
|
111
125
|
description:
|
112
126
|
email:
|
113
127
|
- jp@deliveroo.co.uk
|
@@ -126,6 +140,7 @@ files:
|
|
126
140
|
- Rakefile
|
127
141
|
- bin/console
|
128
142
|
- bin/setup
|
143
|
+
- circle.yml
|
129
144
|
- determinator.gemspec
|
130
145
|
- docs/img/determinator.jpg
|
131
146
|
- examples/determinator-rails/.env
|