rake-n-bake 2.1.0 → 2.1.1

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
- SHA1:
3
- metadata.gz: 73bc97d43c32ef44abefbea3cfb9545b537b1c5c
4
- data.tar.gz: 0b0d179282de4c8635e46d59de92e3ea2739c25c
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: 9d8fd38f306395b9e0acae33f105e0a6982d3004
4
+ data.tar.gz: 3d8f08f325398075d8588e9bab7ef978fba0cbbe
5
5
  SHA512:
6
- metadata.gz: 038451f4067322df6d2fa4552574a94588b0cbb7758c70f37211c17ab6e42354e92b769966e584374a47b1007a09dd429f423272c87d19c62c86f9ba5da1bb54
7
- data.tar.gz: dbadac1b8355bfce536f44f3eb6ee13aaf655471ac5acf91aefd73f938f858c106c953c5692227949fbf485e2701b4b1d30184cf444264999f95c37431f500a2
6
+ metadata.gz: 7bd2831c5a71ae58f001438dd164b3128b1fe542c63171b0566483b62d47da7fcb3da50e8630384bc2dc3995e785e1372b25fdbd45608cd3bfe671503f0a00ce
7
+ data.tar.gz: 2a02008f9cd15298be40dcf4b934b8da8d30147e1d81468583fced26b6f86e8a3afd0df1b39470af89e2ee2675b41469e085095f83fe1d7047c48f8190740a15
data/.semver CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  :major: 2
3
3
  :minor: 1
4
- :patch: 0
4
+ :patch: 1
5
5
  :special: ''
6
6
  :metadata: ''
data/history.rdoc CHANGED
@@ -1,3 +1,7 @@
1
+ == v2.1.1 (19 September 2017)
2
+
3
+ * Ensure coverage check compates floats
4
+
1
5
  == v2.1.0 (25 November 2016)
2
6
 
3
7
  * Add Terminal Notifier OK task (bake:ok_term_notifier)
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RakeNBake
2
- VERSION = '2.1.0'
2
+ VERSION = '2.1.1'
3
3
  end
data/tasks/coverage.rake CHANGED
@@ -13,7 +13,7 @@ begin
13
13
 
14
14
  def check_coverage_level_above level
15
15
  coverage = SimpleCov.result.covered_percent
16
- if coverage >= level
16
+ if coverage.to_f >= level.to_f
17
17
  RakeNBake::Baker.log_passed "Feature coverage is at #{coverage}%"
18
18
  else
19
19
  RakeNBake::Baker.log_warn "Spec coverage was only #{coverage}%"
@@ -23,7 +23,7 @@ begin
23
23
 
24
24
  namespace :bake do
25
25
  namespace :coverage do
26
- COVERAGE_PERCENT = ENV['COVERAGE_PERCENT'] || 100.0
26
+ COVERAGE_PERCENT = ENV['COVERAGE_PERCENT'].to_f || 100.0
27
27
 
28
28
  desc 'Check coverage from RSpec'
29
29
  task :check_specs do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-n-bake
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Vickerstaff
@@ -9,34 +9,34 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-11-25 00:00:00.000000000 Z
12
+ date: 2017-09-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ">="
18
+ - - ! '>='
19
19
  - !ruby/object:Gem::Version
20
20
  version: '10'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ">="
25
+ - - ! '>='
26
26
  - !ruby/object:Gem::Version
27
27
  version: '10'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: term-ansicolor
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
32
+ - - ~>
33
33
  - !ruby/object:Gem::Version
34
34
  version: '1.3'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - "~>"
39
+ - - ~>
40
40
  - !ruby/object:Gem::Version
41
41
  version: '1.3'
42
42
  description: Common rake tasks, baked to perfection and ready to serve!
@@ -47,14 +47,14 @@ executables: []
47
47
  extensions: []
48
48
  extra_rdoc_files: []
49
49
  files:
50
- - ".bundle/config"
51
- - ".gitignore"
52
- - ".rspec"
53
- - ".rubocop-https---raw-githubusercontent-com-dvmtn-house-style-master-rubocop-yml"
54
- - ".rubocop.yml"
55
- - ".ruby-version"
56
- - ".semver"
57
- - ".travis.yml"
50
+ - .bundle/config
51
+ - .gitignore
52
+ - .rspec
53
+ - .rubocop-https---raw-githubusercontent-com-dvmtn-house-style-master-rubocop-yml
54
+ - .rubocop.yml
55
+ - .ruby-version
56
+ - .semver
57
+ - .travis.yml
58
58
  - Gemfile
59
59
  - Guardfile
60
60
  - README.md
@@ -115,17 +115,17 @@ require_paths:
115
115
  - tasks
116
116
  required_ruby_version: !ruby/object:Gem::Requirement
117
117
  requirements:
118
- - - ">="
118
+ - - ! '>='
119
119
  - !ruby/object:Gem::Version
120
120
  version: '0'
121
121
  required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - ">="
123
+ - - ! '>='
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
126
  requirements: []
127
127
  rubyforge_project:
128
- rubygems_version: 2.4.5
128
+ rubygems_version: 2.4.5.1
129
129
  signing_key:
130
130
  specification_version: 4
131
131
  summary: Common rake tasks, baked to perfection and ready to serve!