macaddr 1.6.1 → 1.6.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +15 -0
  2. data/Rakefile +9 -5
  3. data/lib/macaddr.rb +6 -2
  4. data/macaddr.gemspec +4 -3
  5. metadata +10 -13
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MjhlNzc5OTg5MDIxNzY4MmIzYzEwMzJhMDkzMDlkMjMwYWY2N2RmZA==
5
+ data.tar.gz: !binary |-
6
+ NDg3ZGM2M2M0ODg2ZTQ4MmZhNWRiNWQ0MThhNjYyMjVmZDJjNjRiOA==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ NTQ2ZjUyZTY5MDRkMThjMzMwOThkYjQzNGQ1MmJkZWI1MmM0YzQxMjI0MTJk
10
+ ZGExMTIzMWRmOWQ2OGVmZDI5ZDExYzVhNzMyODM2MjRkNzU4MjU5MzI2NmVm
11
+ M2RhNDBjZjAxN2IwMDkzN2MxOTUzZDkwOTI0NTQwYTE1ZjI3ZDU=
12
+ data.tar.gz: !binary |-
13
+ N2MxYTRjMDIzMjNkNDczYzMxOTNlYzY0ZDA4YjU0ZjUwNGFjN2E2MzA4NGIy
14
+ MmExODNmMjBmMzI4ZmEyZmM5MTMwZWFkNDZmNGZiMmQ5YTI3MTcyZDEwMDlm
15
+ ZjRhYWE4ZWE5ZmNjZWM2ZWQ2ODE2MTlhMGQyNjQzZjdhMGQyNDE=
data/Rakefile CHANGED
@@ -3,6 +3,9 @@ This.author = "Ara T. Howard"
3
3
  This.email = "ara.t.howard@gmail.com"
4
4
  This.homepage = "https://github.com/ahoward/#{ This.lib }"
5
5
 
6
+ task :license do
7
+ open('LICENSE', 'w'){|fd| fd.puts "same as ruby's"}
8
+ end
6
9
 
7
10
  task :default do
8
11
  puts((Rake::Task.tasks.map{|task| task.name.gsub(/::/,':')} - ['default']).sort)
@@ -29,7 +32,7 @@ def run_tests!(which = nil)
29
32
 
30
33
  test_rbs.each_with_index do |test_rb, index|
31
34
  testno = index + 1
32
- command = "#{ This.ruby } -I ./lib -I ./test/lib #{ test_rb }"
35
+ command = "#{ This.ruby } -w -I ./lib -I ./test/lib #{ test_rb }"
33
36
 
34
37
  puts
35
38
  say(div, :color => :cyan, :bold => true)
@@ -87,9 +90,10 @@ task :gemspec do
87
90
  files = shiteless[Dir::glob("**/**")]
88
91
  executables = shiteless[Dir::glob("bin/*")].map{|exe| File.basename(exe)}
89
92
  #has_rdoc = true #File.exist?('doc')
90
- test_files = test(?e, "test/#{ lib }.rb") ? "test/#{ lib }.rb" : nil
93
+ test_files = "test/#{ lib }.rb" if File.file?("test/#{ lib }.rb")
91
94
  summary = object.respond_to?(:summary) ? object.summary : "summary: #{ lib } kicks the ass"
92
95
  description = object.respond_to?(:description) ? object.description : "description: #{ lib } kicks the ass"
96
+ license = object.respond_to?(:license) ? object.license : "same as ruby's"
93
97
 
94
98
  if This.extensions.nil?
95
99
  This.extensions = []
@@ -100,7 +104,6 @@ task :gemspec do
100
104
  end
101
105
  extensions = [extensions].flatten.compact
102
106
 
103
- # TODO
104
107
  if This.dependencies.nil?
105
108
  dependencies = []
106
109
  else
@@ -127,6 +130,7 @@ task :gemspec do
127
130
  spec.platform = Gem::Platform::RUBY
128
131
  spec.summary = <%= lib.inspect %>
129
132
  spec.description = <%= description.inspect %>
133
+ spec.license = <%= license.inspect %>
130
134
 
131
135
  spec.files =\n<%= files.sort.pretty_inspect %>
132
136
  spec.executables = <%= executables.inspect %>
@@ -188,8 +192,8 @@ task :readme do
188
192
  end
189
193
 
190
194
  template =
191
- if test(?e, 'readme.erb')
192
- Template{ IO.read('readme.erb') }
195
+ if test(?e, 'README.erb')
196
+ Template{ IO.read('README.erb') }
193
197
  else
194
198
  Template {
195
199
  <<-__
data/lib/macaddr.rb CHANGED
@@ -23,7 +23,7 @@ end
23
23
  require 'systemu'
24
24
 
25
25
  module Mac
26
- VERSION = '1.6.1'
26
+ VERSION = '1.6.5'
27
27
 
28
28
  def Mac.version
29
29
  ::Mac::VERSION
@@ -31,10 +31,14 @@ module Mac
31
31
 
32
32
  def Mac.dependencies
33
33
  {
34
- 'systemu' => [ 'systemu' , '~> 2.5.0' ]
34
+ 'systemu' => [ 'systemu' , '~> 2.6.2' ]
35
35
  }
36
36
  end
37
37
 
38
+ def Mac.description
39
+ 'cross platform mac address determination for ruby'
40
+ end
41
+
38
42
 
39
43
  class << self
40
44
 
data/macaddr.gemspec CHANGED
@@ -3,10 +3,11 @@
3
3
 
4
4
  Gem::Specification::new do |spec|
5
5
  spec.name = "macaddr"
6
- spec.version = "1.6.1"
6
+ spec.version = "1.6.5"
7
7
  spec.platform = Gem::Platform::RUBY
8
8
  spec.summary = "macaddr"
9
- spec.description = "description: macaddr kicks the ass"
9
+ spec.description = "cross platform mac address determination for ruby"
10
+ spec.license = "same as ruby's"
10
11
 
11
12
  spec.files =
12
13
  ["Gemfile",
@@ -31,7 +32,7 @@ Gem::Specification::new do |spec|
31
32
  spec.test_files = nil
32
33
 
33
34
 
34
- spec.add_dependency(*["systemu", "~> 2.5.0"])
35
+ spec.add_dependency(*["systemu", "~> 2.6.2"])
35
36
 
36
37
 
37
38
  spec.extensions.push(*[])
metadata CHANGED
@@ -1,33 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: macaddr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
5
- prerelease:
4
+ version: 1.6.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Ara T. Howard
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-06-02 00:00:00.000000000 Z
11
+ date: 2014-02-21 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: systemu
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
21
- version: 2.5.0
19
+ version: 2.6.2
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
29
- version: 2.5.0
30
- description: ! 'description: macaddr kicks the ass'
26
+ version: 2.6.2
27
+ description: cross platform mac address determination for ruby
31
28
  email: ara.t.howard@gmail.com
32
29
  executables: []
33
30
  extensions: []
@@ -45,27 +42,27 @@ files:
45
42
  - test/mac_test.rb
46
43
  - test/testing.rb
47
44
  homepage: https://github.com/ahoward/macaddr
48
- licenses: []
45
+ licenses:
46
+ - same as ruby's
47
+ metadata: {}
49
48
  post_install_message:
50
49
  rdoc_options: []
51
50
  require_paths:
52
51
  - lib
53
52
  required_ruby_version: !ruby/object:Gem::Requirement
54
- none: false
55
53
  requirements:
56
54
  - - ! '>='
57
55
  - !ruby/object:Gem::Version
58
56
  version: '0'
59
57
  required_rubygems_version: !ruby/object:Gem::Requirement
60
- none: false
61
58
  requirements:
62
59
  - - ! '>='
63
60
  - !ruby/object:Gem::Version
64
61
  version: '0'
65
62
  requirements: []
66
63
  rubyforge_project: codeforpeople
67
- rubygems_version: 1.8.24
64
+ rubygems_version: 2.0.3
68
65
  signing_key:
69
- specification_version: 3
66
+ specification_version: 4
70
67
  summary: macaddr
71
68
  test_files: []