attempt 0.3.0 → 0.3.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5dd75bdd6f69b8859f13e74beeeb881457369934
4
- data.tar.gz: 3796124b03b73321a74c88e1042f7608caed95ca
3
+ metadata.gz: 3ec96dbde6accdfcbeab30ff4c2d5cc99037afdb
4
+ data.tar.gz: d00f94bd32f8d9373df7b69d0637204378369c69
5
5
  SHA512:
6
- metadata.gz: fa3275bbd299112fa5c9b56d19528ea7ecd4bcafae071a267c04b682b45f9c0c6d74c4e2da171c02bca45e48346b97110e413028f69a2d45d174c67625206604
7
- data.tar.gz: a8fbd29c2b48d14c112d20d1d9fd87fac16251dc715ff65bac1cb687fdd26f470f575fb01286ffe728c3850b76a71cd736b05c8031051c844519edba3a1b64dc
6
+ metadata.gz: 8a09fe92d69d759cfcfb0c9e58f0d2236de290e7cd5020c7bebd571150a266eedd7aca36b3d7ed9940a2c1e3fc574c49297c6d3650af2d01a2e429bc2ee8ee41
7
+ data.tar.gz: 1365e62d69f496ef92513f438507b2eff4f8edf005e766a3290713f78930ef71e11521afa1bdcfc913b558cd498f08871cf84443b579bf4cee7ef4ca31aa5f9f
Binary file
data.tar.gz.sig CHANGED
Binary file
data/CHANGES CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.3.1 - 4-Apr-2017
2
+ * Added some metadata to the gemspec.
3
+
1
4
  == 0.3.0 - 27-Mar-2017
2
5
  * The structured_warnings gem requirement was updated to 0.3.0 or later. This
3
6
  is necessary if you are using Ruby 2.4 or later.
@@ -2,11 +2,11 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'attempt'
5
- spec.version = '0.3.0'
5
+ spec.version = '0.3.1'
6
6
  spec.author = 'Daniel J. Berger'
7
7
  spec.license = 'Artistic 2.0'
8
8
  spec.email = 'djberg96@gmail.com'
9
- spec.homepage = 'http://github.com/djberg96/attempt'
9
+ spec.homepage = 'https://github.com/djberg96/attempt'
10
10
  spec.summary = 'A thin wrapper for begin + rescue + sleep + retry'
11
11
  spec.test_file = 'test/test_attempt.rb'
12
12
  spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
@@ -14,6 +14,15 @@ Gem::Specification.new do |spec|
14
14
 
15
15
  spec.extra_rdoc_files = ['README','CHANGES','MANIFEST']
16
16
 
17
+ spec.metadata = {
18
+ 'issue_tracker' => 'https://github.com/djberg96/attempt/issues',
19
+ 'changelog' => 'https://github.com/djberg96/attempt/blob/master/CHANGES',
20
+ 'code' => 'https://github.com/djberg96/attempt/blob/master/lib/attempt.rb',
21
+ 'docs' => 'https://github.com/djberg96/attempt/blob/master/README',
22
+ 'bugs' => 'https://github.com/djberg96/attempt/issues',
23
+ 'wiki' => 'https://github.com/djberg96/attempt/wiki'
24
+ }
25
+
17
26
  spec.add_dependency('structured_warnings', '~> 0.3.0')
18
27
  spec.add_development_dependency('test-unit')
19
28
 
@@ -6,7 +6,7 @@ require 'structured_warnings'
6
6
  class Attempt
7
7
 
8
8
  # The version of the attempt library.
9
- VERSION = '0.3.0'.freeze
9
+ VERSION = '0.3.1'.freeze
10
10
 
11
11
  # Warning raised if an attempt fails before the maximum number of tries
12
12
  # has been reached.
@@ -23,7 +23,7 @@ class TC_Attempt < Test::Unit::TestCase
23
23
  end
24
24
 
25
25
  test "version constant is set to expected value" do
26
- assert_equal('0.3.0', Attempt::VERSION)
26
+ assert_equal('0.3.1', Attempt::VERSION)
27
27
  end
28
28
 
29
29
  test "attempt works as expected without arguments" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: attempt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Berger
@@ -30,7 +30,7 @@ cert_chain:
30
30
  A943I/wqE6xbYQpHxkndWo5uLDUbZh+XxG+fhZKpeqLIqHaFuU6wdO5odt32kB/B
31
31
  nCjVswaVYlu1U2iLPCqE+MrjmTA=
32
32
  -----END CERTIFICATE-----
33
- date: 2017-03-27 00:00:00.000000000 Z
33
+ date: 2017-04-04 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: structured_warnings
@@ -85,10 +85,16 @@ files:
85
85
  - README
86
86
  - test
87
87
  - test/test_attempt.rb
88
- homepage: http://github.com/djberg96/attempt
88
+ homepage: https://github.com/djberg96/attempt
89
89
  licenses:
90
90
  - Artistic 2.0
91
- metadata: {}
91
+ metadata:
92
+ issue_tracker: https://github.com/djberg96/attempt/issues
93
+ changelog: https://github.com/djberg96/attempt/blob/master/CHANGES
94
+ code: https://github.com/djberg96/attempt/blob/master/lib/attempt.rb
95
+ docs: https://github.com/djberg96/attempt/blob/master/README
96
+ bugs: https://github.com/djberg96/attempt/issues
97
+ wiki: https://github.com/djberg96/attempt/wiki
92
98
  post_install_message:
93
99
  rdoc_options: []
94
100
  require_paths:
metadata.gz.sig CHANGED
Binary file