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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 50e4419ec7fe40f73b03955beeb71c98c0d576dd
4
- data.tar.gz: 36a23ef0d2adda482bd840682d245c2f98d8c2d3
3
+ metadata.gz: 4aa66133ff6778ba1f7b5c5b903a4dc592a5c79f
4
+ data.tar.gz: e8957f1566f4055b9c25725462447728d515db5f
5
5
  SHA512:
6
- metadata.gz: b9469782f9cc6f3fe8bb962121642781d5f0ae4ff24ecad7bdadc1c449ab82224d924576a17c410742a47254bc65bd79a3e6e61157902ca9d0f1248625256c72
7
- data.tar.gz: 7b980119feecfc51d830cee694b1beb7f66c11e96fad6a0c257c27b9bdb1b2484b2c9ae93f5ecdc2104fc19f7c9fbedf6766e867313a882254c23f7e9c9b1fc3
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.
@@ -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
- next_major = (expected_version[1].to_i + 1).to_s
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])
@@ -1,5 +1,5 @@
1
1
  module Kapost
2
2
  class Bootstrapper
3
- VERSION = "1.0.6"
3
+ VERSION = "1.0.7"
4
4
  end
5
5
  end
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.6
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: 2018-04-16 00:00:00.000000000 Z
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.4
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
@@ -1,3 +0,0 @@
1
- dependencies:
2
- pre:
3
- - gem install bundler