instrumental 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.8
1
+ 0.1.9
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{instrumental}
8
- s.version = "0.1.8"
8
+ s.version = "0.1.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Douglas F Shearer"]
@@ -2,7 +2,14 @@ namespace :instrumental do
2
2
 
3
3
  desc "Adds a milestone marker to the Imperial project"
4
4
  task :milestone => :environment do
5
- Instrumental.milestone(ENV['name'])
5
+ puts "Setting milestone..."
6
+ response = Instrumental.milestone(ENV['name'])
7
+
8
+ if response.is_a?(Net::HTTPSuccess)
9
+ puts "Success!!"
10
+ else
11
+ puts "[Instrumental] Unexpected response from server (#{ response.code }): #{ response.message }"
12
+ end
6
13
  end
7
14
 
8
15
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instrumental
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 8
10
- version: 0.1.8
9
+ - 9
10
+ version: 0.1.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Douglas F Shearer