highlander 0.1.1 → 0.1.2

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: da2120dda46ff524193f21e930e2fe63fca8d930
4
+ data.tar.gz: 9cd96df08d44662828df40d9a4f35a63b208952e
5
+ SHA512:
6
+ metadata.gz: af6a1632c4b7e9220dc180287c6167f5df83a7b193acb45dac57a24c71d8a81e7296450fec210bf2c58093f5f1ee3453830f1b9faef351a3319e20752b3e81b2
7
+ data.tar.gz: 28f2ff9d044cc95b74ff24ff6d44969072761fe5b929b173c49848d687269d1f1199a867a0f75aa50145bb874724718fe21f1765fe654df43588f34d3a7b196e
data/CHANGES CHANGED
@@ -1,3 +1,6 @@
1
+ = 0.1.2 - 13-Oct-2014
2
+ * Updates the gemspec, README and Rakefile.
3
+
1
4
  = 0.1.1 - 13-Jan-2013
2
5
  * Fix for 1.9. Moved the BEGIN block outside the module itself
3
6
  to avoid a parse error.
data/README CHANGED
@@ -33,7 +33,7 @@
33
33
  Artistic 2.0
34
34
 
35
35
  = Copyright
36
- (C) 2010-2013 Daniel J. Berger
36
+ (C) 2010-2014 Daniel J. Berger
37
37
  All Rights Reserved.
38
38
 
39
39
  == Warranty
data/Rakefile CHANGED
@@ -8,13 +8,18 @@ namespace 'gem' do
8
8
  desc 'Create the highlander gem'
9
9
  task :create => [:clean] do
10
10
  spec = eval(IO.read('highlander.gemspec'))
11
- Gem::Builder.new(spec).build
11
+ if Gem::VERSION < "2.0"
12
+ Gem::Builder.new(spec).build
13
+ else
14
+ require 'rubygems/package'
15
+ Gem::Package.build(spec)
16
+ end
12
17
  end
13
18
 
14
19
  desc 'Install the highlander gem'
15
20
  task :install => [:create] do
16
21
  file = Dir["*.gem"].first
17
- sh "gem install #{file}"
22
+ sh "gem install -l #{file}"
18
23
  end
19
24
  end
20
25
 
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'highlander'
5
- spec.version = '0.1.1'
5
+ spec.version = '0.1.2'
6
6
  spec.license = 'Artistic 2.0'
7
7
  spec.author = 'Daniel J. Berger'
8
8
  spec.email = 'djberg96@gmail.com'
@@ -11,7 +11,6 @@ Gem::Specification.new do |spec|
11
11
  spec.test_files = Dir['test/test*']
12
12
  spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
13
13
 
14
- spec.rubyforge_project = 'shards'
15
14
  spec.extra_rdoc_files = ['README', 'CHANGES', 'MANIFEST']
16
15
 
17
16
  spec.description = <<-EOF
@@ -19,6 +18,4 @@ Gem::Specification.new do |spec|
19
18
  process is running. If you try to run the same Ruby program again
20
19
  it will raise a RuntimeError instead.
21
20
  EOF
22
-
23
- spec.add_development_dependency('test-unit', '>= 2.1.1')
24
21
  end
@@ -1,6 +1,6 @@
1
1
  module Highlander
2
2
  # The version of the highlander library
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
5
5
 
6
6
  BEGIN{
@@ -1,7 +1,8 @@
1
1
  #######################################################################
2
2
  # test_highlander.rb
3
3
  #
4
- # Test suite for the highlander gem.
4
+ # Test suite for the highlander gem. Easier to test on the command
5
+ # line than with a formal test suite, hence the sparseness here.
5
6
  #######################################################################
6
7
  require 'test/unit'
7
8
  require 'highlander'
@@ -11,7 +12,7 @@ class TC_Highlander < Test::Unit::TestCase
11
12
  end
12
13
 
13
14
  def test_version
14
- assert_equal("0.1.1", Highlander::VERSION)
15
+ assert_equal("0.1.2", Highlander::VERSION)
15
16
  end
16
17
 
17
18
  def teardown
metadata CHANGED
@@ -1,35 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: highlander
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
5
- prerelease:
4
+ version: 0.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Daniel J. Berger
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-23 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: test-unit
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: 2.1.1
22
- type: :development
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: 2.1.1
30
- description: ! " The highlander spec ensures that only once instance of the current\n
31
- \ process is running. If you try to run the same Ruby program again\n it will
32
- raise a RuntimeError instead.\n"
11
+ date: 2014-10-13 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: |2
14
+ The highlander spec ensures that only once instance of the current
15
+ process is running. If you try to run the same Ruby program again
16
+ it will raise a RuntimeError instead.
33
17
  email: djberg96@gmail.com
34
18
  executables: []
35
19
  extensions: []
@@ -39,36 +23,35 @@ extra_rdoc_files:
39
23
  - MANIFEST
40
24
  files:
41
25
  - CHANGES
42
- - highlander.gemspec
43
- - lib/highlander.rb
44
26
  - MANIFEST
45
- - Rakefile
46
27
  - README
28
+ - Rakefile
29
+ - highlander.gemspec
30
+ - lib/highlander.rb
47
31
  - test/test_highlander.rb
48
32
  homepage: https://github.com/djberg96/highlander
49
33
  licenses:
50
34
  - Artistic 2.0
35
+ metadata: {}
51
36
  post_install_message:
52
37
  rdoc_options: []
53
38
  require_paths:
54
39
  - lib
55
40
  required_ruby_version: !ruby/object:Gem::Requirement
56
- none: false
57
41
  requirements:
58
- - - ! '>='
42
+ - - '>='
59
43
  - !ruby/object:Gem::Version
60
44
  version: '0'
61
45
  required_rubygems_version: !ruby/object:Gem::Requirement
62
- none: false
63
46
  requirements:
64
- - - ! '>='
47
+ - - '>='
65
48
  - !ruby/object:Gem::Version
66
49
  version: '0'
67
50
  requirements: []
68
- rubyforge_project: shards
69
- rubygems_version: 1.8.24
51
+ rubyforge_project:
52
+ rubygems_version: 2.4.1
70
53
  signing_key:
71
- specification_version: 3
54
+ specification_version: 4
72
55
  summary: There can be only one! Process, that is.
73
56
  test_files:
74
57
  - test/test_highlander.rb