kapost-bootstrapper 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +13 -0
- data/CHANGELOG.md +4 -0
- data/lib/kapost/bootstrapper.rb +2 -1
- data/lib/kapost/bootstrapper/version.rb +1 -1
- metadata +4 -4
- data/circle.yml +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4aa66133ff6778ba1f7b5c5b903a4dc592a5c79f
|
4
|
+
data.tar.gz: e8957f1566f4055b9c25725462447728d515db5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c41d16a070515d1602641366faca310198f6cc177c9f71834ce8ab8331eafe58898208787c433f1e95c80813b335e61ff1728acabd4acf50407096a4032dce6a
|
7
|
+
data.tar.gz: dcfea24ebc99c32ca971f7eecf04e0e4da297ebd114ff7b3c4588350cf83df42086de54427bfef1b7d1fc6c0d5ede4fbd1f8c21eb2750922cbf82a8e11a3845f
|
@@ -0,0 +1,13 @@
|
|
1
|
+
version: 2
|
2
|
+
jobs:
|
3
|
+
build:
|
4
|
+
working_directory: ~/kapost-bootstrapper
|
5
|
+
docker:
|
6
|
+
- image: circleci/ruby:2.5.0
|
7
|
+
steps:
|
8
|
+
- checkout
|
9
|
+
- run: gem install bundler
|
10
|
+
- run: bundle install
|
11
|
+
- run:
|
12
|
+
name: Rspec
|
13
|
+
command: bundle exec rspec --format documentation --color spec
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## v1.0.7
|
4
|
+
|
5
|
+
* Fixed an issue where the caret range version (e.g. `^12.16.1`) didn't handle more than a single digit for the major version check.
|
6
|
+
|
3
7
|
## v1.0.5
|
4
8
|
|
5
9
|
* Fixed an issue where `semantic` wasn't being installed as a dependency when `kapost-bootstrapper` is used in other apps.
|
data/lib/kapost/bootstrapper.rb
CHANGED
@@ -93,7 +93,8 @@ module Kapost
|
|
93
93
|
def right_version?(command, expected_version)
|
94
94
|
version, status = get_version(command)
|
95
95
|
if expected_version[0] == "^"
|
96
|
-
|
96
|
+
# Parse out the major version and add 1. "^12.16.1" => 13
|
97
|
+
next_major = (expected_version[1..-1].split(".").first.to_i + 1).to_s
|
97
98
|
Gem::Version.new(version) >= Gem::Version.new(expected_version[1..-1]) && Gem::Version.new(version) < Gem::Version.new(next_major)
|
98
99
|
elsif expected_version[0] == "="
|
99
100
|
Gem::Version.new(version) == Gem::Version.new(expected_version[1..-1])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kapost-bootstrapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kapost Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: semantic
|
@@ -115,6 +115,7 @@ executables: []
|
|
115
115
|
extensions: []
|
116
116
|
extra_rdoc_files: []
|
117
117
|
files:
|
118
|
+
- ".circleci/config.yml"
|
118
119
|
- ".codeclimate.yml"
|
119
120
|
- ".gitignore"
|
120
121
|
- ".rspec"
|
@@ -128,7 +129,6 @@ files:
|
|
128
129
|
- Rakefile
|
129
130
|
- bin/console
|
130
131
|
- bin/setup
|
131
|
-
- circle.yml
|
132
132
|
- kapost-bootstrapper.gemspec
|
133
133
|
- lib/kapost/bootstrapper.rb
|
134
134
|
- lib/kapost/bootstrapper/version.rb
|
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
151
|
version: '0'
|
152
152
|
requirements: []
|
153
153
|
rubyforge_project:
|
154
|
-
rubygems_version: 2.6.
|
154
|
+
rubygems_version: 2.6.11
|
155
155
|
signing_key:
|
156
156
|
specification_version: 4
|
157
157
|
summary: A small helper utility for your app to declare and setup its system dependencies
|
data/circle.yml
DELETED