file-dependencies 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -46,7 +46,7 @@ module FileDependencies
46
46
 
47
47
  def download(url, target)
48
48
  uri = URI(url)
49
- output = "#{target}/#{::File.basename(uri.path)}"
49
+ output = ::File.join(target, ::File.basename(uri.path))
50
50
  tmp = "#{output}.tmp"
51
51
  Net::HTTP.start(uri.host, uri.port, :use_ssl => (uri.scheme == "https")) do |http|
52
52
  request = Net::HTTP::Get.new(uri.path)
@@ -1,5 +1,5 @@
1
1
  # Note to authors: this should not include dashes because 'gem' barfs if
2
2
  # you include a dash in the version string.
3
3
  module FileDependencies
4
- VERSION = '0.1.4'
4
+ VERSION = '0.1.5'
5
5
  end
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: file-dependencies
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Richard Pijnenburg
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2015-01-06 00:00:00.000000000 Z
12
+ date: 2015-02-17 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: minitar
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ! '>='
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ! '>='
25
28
  - !ruby/object:Gem::Version
@@ -27,6 +30,7 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: rake
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ~>
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ~>
39
44
  - !ruby/object:Gem::Version
@@ -41,6 +46,7 @@ dependencies:
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: rspec
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
51
  - - ! '>='
46
52
  - !ruby/object:Gem::Version
@@ -48,6 +54,7 @@ dependencies:
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
59
  - - ! '>='
53
60
  - !ruby/object:Gem::Version
@@ -55,6 +62,7 @@ dependencies:
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: stud
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
67
  - - ! '>='
60
68
  - !ruby/object:Gem::Version
@@ -62,6 +70,7 @@ dependencies:
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
75
  - - ! '>='
67
76
  - !ruby/object:Gem::Version
@@ -69,6 +78,7 @@ dependencies:
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: webmock
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
83
  - - ! '>='
74
84
  - !ruby/object:Gem::Version
@@ -76,6 +86,7 @@ dependencies:
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
91
  - - ! '>='
81
92
  - !ruby/object:Gem::Version
@@ -83,6 +94,7 @@ dependencies:
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: coveralls
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
99
  - - ! '>='
88
100
  - !ruby/object:Gem::Version
@@ -90,6 +102,7 @@ dependencies:
90
102
  type: :development
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
107
  - - ! '>='
95
108
  - !ruby/object:Gem::Version
@@ -97,6 +110,7 @@ dependencies:
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: codeclimate-test-reporter
99
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
100
114
  requirements:
101
115
  - - ! '>='
102
116
  - !ruby/object:Gem::Version
@@ -104,6 +118,7 @@ dependencies:
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
107
122
  requirements:
108
123
  - - ! '>='
109
124
  - !ruby/object:Gem::Version
@@ -137,25 +152,26 @@ files:
137
152
  homepage: https://github.com/electrical/file-dependencies
138
153
  licenses:
139
154
  - APACHE 2.0
140
- metadata: {}
141
155
  post_install_message:
142
156
  rdoc_options: []
143
157
  require_paths:
144
158
  - lib
145
159
  required_ruby_version: !ruby/object:Gem::Requirement
160
+ none: false
146
161
  requirements:
147
162
  - - ! '>='
148
163
  - !ruby/object:Gem::Version
149
164
  version: '0'
150
165
  required_rubygems_version: !ruby/object:Gem::Requirement
166
+ none: false
151
167
  requirements:
152
168
  - - ! '>='
153
169
  - !ruby/object:Gem::Version
154
170
  version: '0'
155
171
  requirements: []
156
172
  rubyforge_project:
157
- rubygems_version: 2.4.5
173
+ rubygems_version: 1.8.23.2
158
174
  signing_key:
159
- specification_version: 4
175
+ specification_version: 3
160
176
  summary: manage file dependencies for gems
161
177
  test_files: []
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NzI1MDZhM2QzZjQwMWE2M2I4OGYwMGU0ZmYwOGNlYjk0ZTRkMDdjNg==
5
- data.tar.gz: !binary |-
6
- MTg1NGY3ZWMzOTEyNjcwNTJjMjhkYzEwOWFjNWUyMTIwMDZkZTA4Zg==
7
- SHA512:
8
- metadata.gz: !binary |-
9
- NzFlNWNiZGM0MDJiYWM0YjdlNDdlMGFlOWZkM2E4NjdhZjExNTQzMDcwY2Nj
10
- MmEwNGEyODZmZjYzOWE1YTUxMDZmOTBlOWM1ZGNkMjBlYTRhNzk1MDYwMTUx
11
- ZGJjMDRlZTMzY2YxZDVkNWQ2MGI4MDgyMTc3NTg4MTZmMDQwMTE=
12
- data.tar.gz: !binary |-
13
- ZDBlOTZmNDdhOGJlN2Y0NjkwMTFmMWRjMGUwNTVhNTQ5ODA0YWQ0OTNiZjcw
14
- MWE4MWJjN2Y0ODNhMDFiMTIwZjkyZDdkMTg3NDRmNWVmM2FhZWY3ZmMzNzRk
15
- N2MwMWY1NTk2YTc2MWRjYWNiZDAwZjg3YmU2ZDEyODcxYzQ1Yzg=