librato-metrics 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
@@ -1,3 +1,2 @@
1
- ����B�Wg��]D���a�� X.��#��y���M��������<��E���/��?��hK���z5y�ܢWS>��CJ������3ժ2��_�������ZA��
2
- ʉ��rS_`��޴����!@�Ӄ���3Hkv��8zI�l���ƤL��Çr.�Aܴ �E*�S�=��&�O��!�rU�QS�a5�&��|
3
- �55�����ς��7�֚V^L���|6���'�:���ڤ�2gCgg
1
+ 6/w���WeLz��6<t�|)��Ň�b�I&m��o̫�fcXi��}����� � ����u~38 �#1bfH���X�1Ε|6b��0�
2
+ �'������+��JdB��xfpٟ��5J��4J�
@@ -1,5 +1,8 @@
1
1
  ## Changelog
2
2
 
3
+ ### Version 1.1.1
4
+ * Move gem sign code to rake task, fixes bug bundling in some environments
5
+
3
6
  ### Version 1.1.0
4
7
  * Add ability to update annotation events
5
8
  * Add ability to fetch annotation events
data/Gemfile CHANGED
@@ -9,4 +9,7 @@ platforms :ruby_19 do
9
9
  gem 'redcarpet'
10
10
  end
11
11
 
12
- gemspec
12
+ gemspec
13
+
14
+ # easily generate test data
15
+ gem 'quixote'
data/Rakefile CHANGED
@@ -1,8 +1,25 @@
1
- require 'bundler'
1
+ #!/usr/bin/env rake
2
+ begin
3
+ require 'bundler/setup'
4
+ rescue LoadError
5
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6
+ end
2
7
 
3
8
  # Packaging
4
9
  Bundler::GemHelper.install_tasks
5
10
 
11
+ # Gem signing
12
+ task 'before_build' do
13
+ signing_key = File.expand_path("~/.gem/librato-private_key.pem")
14
+ if signing_key
15
+ puts "Key found: signing gem..."
16
+ ENV['GEM_SIGNING_KEY'] = signing_key
17
+ else
18
+ puts "WARN: signing key not found, gem not signed"
19
+ end
20
+ end
21
+ task :build => :before_build
22
+
6
23
  # Testing
7
24
  require 'rspec/core/rake_task'
8
25
 
@@ -1,5 +1,5 @@
1
1
  module Librato
2
2
  module Metrics
3
- VERSION = "1.1.0"
3
+ VERSION = "1.1.1"
4
4
  end
5
5
  end
@@ -42,6 +42,8 @@ Gem::Specification.new do |s|
42
42
  s.files = `git ls-files`.split("\n")
43
43
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
44
44
 
45
- s.signing_key = File.expand_path("~/.gem/librato-private_key.pem")
46
45
  s.cert_chain = ["certs/librato-public.pem"]
46
+ if ENV['GEM_SIGNING_KEY']
47
+ s.signing_key = ENV['GEM_SIGNING_KEY']
48
+ end
47
49
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: librato-metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -37,7 +37,7 @@ cert_chain:
37
37
  bktaNmhlblFBRjFDSDk2WmNxY0pIMTc5UzJ0SWlLRE04a2VlUklVT1BDM1dU
38
38
  MGZhb2svMgpnQTJvemRyODUxYy9uQT09Ci0tLS0tRU5EIENFUlRJRklDQVRF
39
39
  LS0tLS0K
40
- date: 2013-08-08 00:00:00.000000000 Z
40
+ date: 2013-08-26 00:00:00.000000000 Z
41
41
  dependencies:
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: faraday
@@ -247,6 +247,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
247
247
  - - ! '>='
248
248
  - !ruby/object:Gem::Version
249
249
  version: '0'
250
+ segments:
251
+ - 0
252
+ hash: 2087135859290358676
250
253
  required_rubygems_version: !ruby/object:Gem::Requirement
251
254
  none: false
252
255
  requirements:
metadata.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- fO>��t=�9��(�\(��^�#ao�@��*h��-�
2
- �ѳ��ăD9 p�c����tU"F 8��owWF ~%�
1
+ ��}�E)��{��#���Q�� �u�9���4��~��Nu(�d��zd������������ǜf��"�7���,2{��L�e�"��\_�]Lg@�F���Lj|ˆyIfgh��
2
+ �i��i4(FF�_�t���q���~���op�F�͆1�r��|� ��“�Ṫy�C�R�H� �}���B��9�c t(�?m�+�� + �u2�. !r�˲R&�݃��Y�����Z�