fig 1.26.0 → 1.26.1.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changes +7 -0
- data/lib/fig/repository.rb +8 -5
- data/lib/fig/repository_package_publisher.rb +4 -2
- data/lib/fig.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e083b99cccad6425eec69c3ce4f35d7c10597081
|
4
|
+
data.tar.gz: 5e9aa7f12092b4363e52ab81cad97d230e7f1818
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aefb1c31f5d296b3ea52adf381c0f182c48c4a9a28c01f8aea9e5068e64a03c73736745bf419ee5df06fbf81362e4d5f352f4990bb55a92234f19092805ea0c6
|
7
|
+
data.tar.gz: d33790ee4df129911c01eb70d38babb12aa2dd2231af1e616332c5abfef7083b95a0e45654e3e0f8b1b6b4fe48276cd469992adf386b1126170b65303e87f3f5
|
data/Changes
CHANGED
data/lib/fig/repository.rb
CHANGED
@@ -149,15 +149,18 @@ class Fig::Repository
|
|
149
149
|
publisher.was_forced = was_forced
|
150
150
|
publisher.base_temp_dir = base_temp_dir
|
151
151
|
publisher.runtime_for_package = runtime_for_package(descriptor)
|
152
|
+
publisher.local_only = local_only
|
152
153
|
publisher.local_directory_for_package =
|
153
154
|
local_directory_for_package(descriptor)
|
154
|
-
publisher.remote_directory_for_package =
|
155
|
-
remote_directory_for_package(descriptor)
|
156
|
-
publisher.local_only = local_only
|
157
155
|
publisher.local_fig_file_for_package =
|
158
156
|
local_fig_file_for_package(descriptor)
|
159
|
-
|
160
|
-
|
157
|
+
|
158
|
+
if not local_only
|
159
|
+
publisher.remote_directory_for_package =
|
160
|
+
remote_directory_for_package(descriptor)
|
161
|
+
publisher.remote_fig_file_for_package =
|
162
|
+
remote_fig_file_for_package(descriptor)
|
163
|
+
end
|
161
164
|
|
162
165
|
return publisher.publish_package()
|
163
166
|
end
|
@@ -524,8 +524,6 @@ class Fig::RepositoryPackagePublisher
|
|
524
524
|
|
525
525
|
def publish_asset(asset_statement)
|
526
526
|
asset_name = asset_statement.asset_name()
|
527
|
-
asset_remote =
|
528
|
-
Fig::URL.append_path_components @remote_directory_for_package, [asset_name]
|
529
527
|
|
530
528
|
if Fig::URL.is_url? asset_statement.location
|
531
529
|
asset_local = File.join(publish_temp_dir(), asset_name)
|
@@ -542,6 +540,10 @@ class Fig::RepositoryPackagePublisher
|
|
542
540
|
end
|
543
541
|
|
544
542
|
if not @local_only
|
543
|
+
asset_remote = Fig::URL.append_path_components(
|
544
|
+
@remote_directory_for_package, [asset_name],
|
545
|
+
)
|
546
|
+
|
545
547
|
@operating_system.upload(asset_local, asset_remote)
|
546
548
|
end
|
547
549
|
|
data/lib/fig.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fig
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.26.
|
4
|
+
version: 1.26.1.beta.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Foemmel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|
@@ -405,9 +405,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
405
405
|
version: 2.0.0
|
406
406
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
407
407
|
requirements:
|
408
|
-
- - "
|
408
|
+
- - ">"
|
409
409
|
- !ruby/object:Gem::Version
|
410
|
-
version:
|
410
|
+
version: 1.3.1
|
411
411
|
requirements: []
|
412
412
|
rubyforge_project:
|
413
413
|
rubygems_version: 2.2.2
|