Skip to content

Commit 2a1111e

Browse files
committed
Update gem for v1.0.2
- Update changelog - Update gemspec version - Update checksum rake task - Add gem checksum
1 parent 8fe65fa commit 2a1111e

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Version 1.0.2 - (2016-09-24)
2+
3+
* Fix requiring of `openssl` - fixed in [#81](https://github.com/mtchavez/circleci/pull/81)
4+
15
# Version 1.0.1 - (2016-09-14)
26

37
* Fix regression of `CircleCi::Project.enable` HTTP method changing incorrectly to a `delete`

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
circleci (1.0.1)
4+
circleci (1.0.2)
55

66
GEM
77
remote: https://rubygems.org/

Rakefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ task :checksum do
2121
gem_name = ENV.fetch('GEM_NAME', nil)
2222
break unless gem_name
2323
require 'digest/sha2'
24-
built_gem_path = "pkg/#{gem_name}gem"
24+
cur_dir = File.expand_path File.dirname(__FILE__)
25+
built_gem_path = File.join(cur_dir, "pkg/#{gem_name}.gem")
2526
checksum = Digest::SHA512.new.hexdigest(File.read(built_gem_path))
26-
checksum_path = "checksum/#{gem_name}.gem.sha512"
27+
checksum_path = File.join(cur_dir, "checksum/#{gem_name}.gem.sha512")
2728
File.open(checksum_path, 'w') { |f| f.write(checksum) }
2829
puts "Wrote #{checksum_path}"
2930
end

checksum/circleci-1.0.2.gem.sha512

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
f285b05f7f54af75be24a116be8b2de338e50d24820a6d175843d0518245694447201440f5428742cd7b38d0d8fa8080e3e5e359db1a28023bdfb5b5da70d435

circleci.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# frozen_string_literal: true
22
Gem::Specification.new do |s|
33
s.name = 'circleci'
4-
s.version = '1.0.1'
5-
s.date = '2016-09-14'
4+
s.version = '1.0.2'
5+
s.date = '2016-09-24'
66
s.summary = 'Circle CI REST API gem'
77
s.description = 'Ruby gem for Circle CI REST API'
88
s.licenses = %w[MIT]

0 commit comments

Comments
 (0)