highlander 0.2.2 → 0.2.3

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
2
  SHA256:
3
- metadata.gz: d63054a47bdda43686a7d73989a05303d1f061d53a8252410857467ce5ab884a
4
- data.tar.gz: 4020c56ab5d61a7b1592245c2a9b80cc12368a6e3e925130337a0a232d996a9a
3
+ metadata.gz: b8d4284b42ffc643eb16bd6f3866e52b7b33cc5b95a2f7968b84c50e1de50543
4
+ data.tar.gz: 77933ea6a43de8d6c9b5df5fc22df056b9fa0936f9bfa739ba880965ae9e4a4c
5
5
  SHA512:
6
- metadata.gz: 12424de3df6084fd59ac6af5688889f8301d0ca88bb9adfc969386984e40dadf70b0d9678d01c304547a6c288b24bdd6f3cca3a1540e893053d092102f3a0c08
7
- data.tar.gz: 1412ed39eb3be26b5580dd46c30c8985bcb89db87b9ba0b4915e5a61da818b72c9f6572766bca488b93777af231659c57979146dd53dc647d5db882a4188d667
6
+ metadata.gz: 10c717e7b41e470c2c459d1e14fe83c52569a8b0cf341d1d944a32b0f5aca8ce88060c61fd46bf2ffc97aab31fa33ed4de4de92dbd4f404d954f7f53609e1bc3
7
+ data.tar.gz: cda33cf9c6bd29c9068aa7e87f56d0b077c65f44cccdc6cc87a0c3f68ec44e541b4b0d15c39f2f5b0b80de9018c3339a9c5b8b88fc3455448d65bddd1f4ffaab
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,25 +1,28 @@
1
- == 0.2.2 - 21-Jul-2020
1
+ ## 0.2.3 - 15-Dec-2020
2
+ * Switch to markdown format for doc files since github isn't parsing rdoc.
3
+
4
+ ## 0.2.2 - 21-Jul-2020
2
5
  * Added a LICENSE file as required by the Apache-2.0 license.
3
6
  * The VERSION constant is now frozen.
4
7
  * Updated certs file again.
5
8
 
6
- == 0.2.1 - 1-Feb-2017
9
+ ## 0.2.1 - 1-Feb-2017
7
10
  * Changed RuntimeError message to fix a missed opportunity.
8
11
  * Fixed typo in description.
9
12
  * Updated certs file.
10
13
 
11
- == 0.2.0 - 3-Oct-2015
14
+ ## 0.2.0 - 3-Oct-2015
12
15
  * Changed license to Apache 2.0.
13
16
  * Gem related tasks in the Rakefile now assume Rubygems 2.x.
14
17
  * Added certs file. This gem is now signed.
15
18
 
16
- == 0.1.2 - 13-Oct-2014
19
+ ## 0.1.2 - 13-Oct-2014
17
20
  * Updates the gemspec, README and Rakefile.
18
21
 
19
- == 0.1.1 - 13-Jan-2013
22
+ ## 0.1.1 - 13-Jan-2013
20
23
  * Fix for 1.9. Moved the BEGIN block outside the module itself
21
24
  to avoid a parse error.
22
25
  * Some gemspec and README updates.
23
26
 
24
- == 0.1.0 - 12-Dec-2010
27
+ ## 0.1.0 - 12-Dec-2010
25
28
  * Initial release
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org' do
2
+ group 'test' do
3
+ gem 'rake'
4
+ gem 'test-unit', '~> 3.3'
5
+ end
6
+ end
File without changes
@@ -1,11 +1,12 @@
1
- = Description
1
+ ## Description
2
2
  A gem that ensures only one instance of your main script is running.
3
3
  In short, there can be only one.
4
4
 
5
- = Installation
6
- gem install highlander
5
+ ## Installation
6
+ `gem install highlander`
7
7
 
8
- = Synopsis
8
+ ## Synopsis
9
+ ```
9
10
  require 'highlander' # This should be the -first- thing in your code.
10
11
  # Your code here
11
12
 
@@ -16,30 +17,31 @@
16
17
 
17
18
  # Second attempt while the first instance is still running, fails.
18
19
  ruby your_script.rb # => RuntimeError
20
+ ```
19
21
 
20
- = Notes
22
+ ## Notes
21
23
  Simply requiring the highlander gem ensures that only one instance
22
24
  of that script cannot be started again. If you try to start it again
23
25
  it will raise a RuntimeError.
24
26
 
25
- = Known Issues
27
+ ## Known Issues
26
28
  If you start your program, modify it while its running, and run it again
27
29
  then this library will not work.
28
30
 
29
- = Acknowledgements
31
+ ## Acknowledgements
30
32
  Ara Howard for ideas.
31
33
 
32
- = License
34
+ ## License
33
35
  Apache-2.0
34
36
 
35
- = Copyright
37
+ ## Copyright
36
38
  (C) 2010-2020 Daniel J. Berger
37
39
  All Rights Reserved.
38
40
 
39
- == Warranty
41
+ ## Warranty
40
42
  This package is provided "as is" and without any express or
41
43
  implied warranties, including, without limitation, the implied
42
44
  warranties of merchantability and fitness for a particular purpose.
43
45
 
44
- = Author
45
- Daniel Berger
46
+ ## Author
47
+ Daniel J. Berger
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rake'
2
2
  require 'rake/clean'
3
3
  require 'rake/testtask'
4
4
 
5
- CLEAN.include("**/*.gem", "**/*.rbc")
5
+ CLEAN.include("**/*.gem", "**/*.rbc", "**/*.lock")
6
6
 
7
7
  namespace 'gem' do
8
8
  desc 'Create the highlander gem'
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'highlander'
5
- spec.version = '0.2.2'
5
+ spec.version = '0.2.3'
6
6
  spec.license = 'Apache-2.0'
7
7
  spec.author = 'Daniel J. Berger'
8
8
  spec.email = 'djberg96@gmail.com'
@@ -12,8 +12,6 @@ Gem::Specification.new do |spec|
12
12
  spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
13
13
  spec.cert_chain = ['certs/djberg96_pub.pem']
14
14
 
15
- spec.extra_rdoc_files = ['README', 'CHANGES', 'MANIFEST']
16
-
17
15
  spec.description = <<-EOF
18
16
  The highlander spec ensures that only one instance of the current
19
17
  process is running. If you try to run the same Ruby program again
@@ -1,6 +1,6 @@
1
1
  module Highlander
2
2
  # The version of the highlander library
3
- VERSION = '0.2.2'.freeze
3
+ VERSION = '0.2.3'.freeze
4
4
  end
5
5
 
6
6
  BEGIN{
@@ -9,6 +9,6 @@ require 'highlander'
9
9
 
10
10
  class TC_Highlander < Test::Unit::TestCase
11
11
  def test_version
12
- assert_equal("0.2.2", Highlander::VERSION)
12
+ assert_equal("0.2.3", Highlander::VERSION)
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: highlander
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Berger
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain:
11
11
  - |
@@ -35,7 +35,7 @@ cert_chain:
35
35
  ORVCZpRuCPpmC8qmqxUnARDArzucjaclkxjLWvCVHeFa9UP7K3Nl9oTjJNv+7/jM
36
36
  WZs4eecIcUc4tKdHxcAJ0MO/Dkqq7hGaiHpwKY76wQ1+8xAh
37
37
  -----END CERTIFICATE-----
38
- date: 2020-07-21 00:00:00.000000000 Z
38
+ date: 2020-12-16 00:00:00.000000000 Z
39
39
  dependencies: []
40
40
  description: |2
41
41
  The highlander spec ensures that only one instance of the current
@@ -44,15 +44,13 @@ description: |2
44
44
  email: djberg96@gmail.com
45
45
  executables: []
46
46
  extensions: []
47
- extra_rdoc_files:
48
- - README
49
- - CHANGES
50
- - MANIFEST
47
+ extra_rdoc_files: []
51
48
  files:
52
- - CHANGES
49
+ - CHANGES.md
50
+ - Gemfile
53
51
  - LICENSE
54
- - MANIFEST
55
- - README
52
+ - MANIFEST.md
53
+ - README.md
56
54
  - Rakefile
57
55
  - certs/djberg96_pub.pem
58
56
  - highlander.gemspec
@@ -62,7 +60,7 @@ homepage: https://github.com/djberg96/highlander
62
60
  licenses:
63
61
  - Apache-2.0
64
62
  metadata: {}
65
- post_install_message:
63
+ post_install_message:
66
64
  rdoc_options: []
67
65
  require_paths:
68
66
  - lib
@@ -77,8 +75,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
75
  - !ruby/object:Gem::Version
78
76
  version: '0'
79
77
  requirements: []
80
- rubygems_version: 3.0.3
81
- signing_key:
78
+ rubygems_version: 3.1.4
79
+ signing_key:
82
80
  specification_version: 4
83
81
  summary: There can be only one! Process, that is.
84
82
  test_files:
metadata.gz.sig CHANGED
Binary file