debeasy 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 ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NDc5OWViMzc1NWRmMzA5ZmFjODYzYzNlYjllNDE5OTFlMjI4MDA0ZQ==
5
+ data.tar.gz: !binary |-
6
+ YWNiNjdiYzk3NTQ5ZTdjZTFiMTY5NTJhYTZhZmZlNTgzNjE0NzBmMA==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ YmE2NzIzYWNjNzZlMGQ4ZTYxYTBmMzU0OWMwYzAxM2E3ZDlmZTkzZjgwNGUy
10
+ YzkwZGMwY2ZhOTUzYWI5N2RmMDhkM2NlMTE3MTA5YzJkOWFjMDE1NThjM2E1
11
+ NjAxMWUyMmEyNDMzOWIxOWZjZWQ4M2YyYTRjZjQ5ZTk1NTRjNTc=
12
+ data.tar.gz: !binary |-
13
+ MGE2ZDkyNGMxMTc2MWU2MTYwNjAzZjM1MDE5MThmNzI1MTliNDUyMTBhN2U1
14
+ NzlhOWMxMzAwYTVlNGMzZmM1MWQyMTE0ZWFmMjE5NTNlZmJlZjAzYzY2ODVj
15
+ ZDgxZThmOTRlMzIwNjM5MGZmN2M1NjQ4YTQ1ZjZiMTBlYTU1YzQ=
@@ -74,7 +74,8 @@ module Debeasy
74
74
  if file.pathname == "data.tar.gz"
75
75
  data_tar_gz = Archive.read_open_memory(@package_file.read_data)
76
76
  while data_entry = data_tar_gz.next_header
77
- @filelist << data_entry.pathname.sub(/^\./, "")
77
+ # Skip dirs; they're listed with a / as the last character
78
+ @filelist << data_entry.pathname.sub(/^\./, "") unless data_entry.pathname =~ /\/$/
78
79
  end
79
80
  end
80
81
  end
@@ -1,3 +1,3 @@
1
1
  module Debeasy
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: debeasy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
5
- prerelease:
4
+ version: 0.0.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Andy Sykes
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-06-22 00:00:00.000000000 Z
11
+ date: 2013-10-15 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :development
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
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ! '>='
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ! '>='
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: libarchive
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ! '>='
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ! '>='
60
53
  - !ruby/object:Gem::Version
@@ -62,7 +55,6 @@ dependencies:
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: ruby-filemagic
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
59
  - - ! '>='
68
60
  - !ruby/object:Gem::Version
@@ -70,7 +62,6 @@ dependencies:
70
62
  type: :runtime
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
66
  - - ! '>='
76
67
  - !ruby/object:Gem::Version
@@ -95,26 +86,25 @@ files:
95
86
  homepage: https://github.com/andytinycat/debeasy
96
87
  licenses:
97
88
  - MIT
89
+ metadata: {}
98
90
  post_install_message:
99
91
  rdoc_options: []
100
92
  require_paths:
101
93
  - lib
102
94
  required_ruby_version: !ruby/object:Gem::Requirement
103
- none: false
104
95
  requirements:
105
96
  - - ! '>='
106
97
  - !ruby/object:Gem::Version
107
98
  version: '0'
108
99
  required_rubygems_version: !ruby/object:Gem::Requirement
109
- none: false
110
100
  requirements:
111
101
  - - ! '>='
112
102
  - !ruby/object:Gem::Version
113
103
  version: '0'
114
104
  requirements: []
115
105
  rubyforge_project:
116
- rubygems_version: 1.8.25
106
+ rubygems_version: 2.0.7
117
107
  signing_key:
118
- specification_version: 3
108
+ specification_version: 4
119
109
  summary: Read .deb (Debian/Ubuntu) packages with ease!
120
110
  test_files: []