archive-ar 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YjE2YTE3NjI5ZDg5YTRkYmI1ZWM0YTdmZGNlMGI1YmU3MTEwZmIyNw==
5
- data.tar.gz: !binary |-
6
- OWE1ZmQ0MmVjZmM4M2ZmZmIzYzFlZDgxNDcyZDI1NzY4ZDI5YzkxMA==
2
+ SHA1:
3
+ metadata.gz: 9b8964d1e8fd25109ee84f91077e13c0f53ac20c
4
+ data.tar.gz: df0475465b5f32e07c048219febe4aac0c853bbe
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- YzRmODk0Njg4NzJmMzU3NGViMDAwYTg2NTQxOTllMThjMDQxNDIwZTdmMDA1
10
- ZGUwNTk4YTFjNjQxZGRiZjc1ZDRkMzJjNTQ5ZGExZmI2Y2FlYjViYTY0MDdi
11
- YzZjYzA0Y2ZhYjVkYzhjOWU1MDA1NjJkYTcxY2ExM2M5ODA2YmU=
12
- data.tar.gz: !binary |-
13
- ZjgzMDczYTJmMWY4NDFmMjU1MDgzMGMxNGFlMmYyMDgyYzk0NzQ5YzVmY2Rh
14
- ZjE1MmEzNjVhYzUyYzFkMWZhNzYzZWEwNmZjZjJlNGUyYTM4NjQ0MTRkZDBi
15
- MmMzY2YyOTZkZWExZTdkZDQxZmQxM2ZlZDdjY2NiZDBkNmRhMjc=
6
+ metadata.gz: d80d25fd483e80d10d206b1f27cda4ef31e8b2b9b2e8c64b1d0fc209c76ae256eea20c3696d3351ee0ab27af354aff0c78609819ab4122981ac5f537c34dcc76
7
+ data.tar.gz: c20d3d7785c83f452a91acbccc89bf024eefa3bf0a6023b9a0f07c1e6db50759dd1078018a7b81c4c40172a988b0f6db42159d37fe44110fe82af2cf014f6052
@@ -1,5 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.8.7
4
- - 1.9.3
5
3
  - 2.1.1
4
+ - 1.9.3
5
+ - 1.8.7
data/Gemfile CHANGED
@@ -1,4 +1,8 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ unless RUBY_VERSION < "1.9"
4
+ gem 'coveralls', :require => false
5
+ end
6
+
3
7
  # Specify your gem's dependencies in archive-ar.gemspec
4
8
  gemspec
@@ -20,5 +20,4 @@ Gem::Specification.new do |spec|
20
20
  spec.add_development_dependency "bundler", "~> 1.5"
21
21
  spec.add_development_dependency "rake"
22
22
  spec.add_development_dependency "rspec"
23
- spec.add_development_dependency "coveralls"
24
23
  end
@@ -11,7 +11,7 @@ module Archive
11
11
  def parse_header(data)
12
12
  h = data.unpack("A16 Z12 a6 a6 A8 Z10 Z2")
13
13
  {
14
- :name => h.shift,
14
+ :name => h.shift.chomp("/"), # Remove trailing slash. Some archives have this...
15
15
  :modified => Time.at(h.shift.to_i),
16
16
  :owner => h.shift.to_i,
17
17
  :group => h.shift.to_i,
@@ -1,5 +1,5 @@
1
1
  module Archive
2
2
  module Ar
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -1,4 +1,6 @@
1
- require 'coveralls'
2
- Coveralls.wear!
1
+ unless RUBY_VERSION < "1.9"
2
+ require 'coveralls'
3
+ Coveralls.wear!
4
+ end
3
5
 
4
6
  require 'archive/ar'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: archive-ar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua B. Bussdieker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-03 00:00:00.000000000 Z
11
+ date: 2014-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -28,42 +28,28 @@ dependencies:
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: coveralls
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ! '>='
52
+ - - '>='
67
53
  - !ruby/object:Gem::Version
68
54
  version: '0'
69
55
  description:
@@ -104,17 +90,17 @@ require_paths:
104
90
  - lib
105
91
  required_ruby_version: !ruby/object:Gem::Requirement
106
92
  requirements:
107
- - - ! '>='
93
+ - - '>='
108
94
  - !ruby/object:Gem::Version
109
95
  version: '0'
110
96
  required_rubygems_version: !ruby/object:Gem::Requirement
111
97
  requirements:
112
- - - ! '>='
98
+ - - '>='
113
99
  - !ruby/object:Gem::Version
114
100
  version: '0'
115
101
  requirements: []
116
102
  rubyforge_project:
117
- rubygems_version: 2.2.2
103
+ rubygems_version: 2.1.11
118
104
  signing_key:
119
105
  specification_version: 4
120
106
  summary: Simple AR file functions