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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 184d124d2aeb0d52ea651dca23850807893389fe
4
- data.tar.gz: f4f90566764a7ce2541955db4fc8f6ead46ebf9c
3
+ metadata.gz: e083b99cccad6425eec69c3ce4f35d7c10597081
4
+ data.tar.gz: 5e9aa7f12092b4363e52ab81cad97d230e7f1818
5
5
  SHA512:
6
- metadata.gz: bf95a70f187390582ddfe7cf269f8b468292f41a1085cf77721609f3b7a0a27669e7d912bc160501d40f262d76eca42a0849143b06a3c3008db6aa0053e50b35
7
- data.tar.gz: 2ef63eec731cc5b12e853d2acca17ad850af668599e5304221abaee94bd3b87cd5eede023e42c29313bf21a49ce717117e62d359b129fbf1187d53aacd04f702
6
+ metadata.gz: aefb1c31f5d296b3ea52adf381c0f182c48c4a9a28c01f8aea9e5068e64a03c73736745bf419ee5df06fbf81362e4d5f352f4990bb55a92234f19092805ea0c6
7
+ data.tar.gz: d33790ee4df129911c01eb70d38babb12aa2dd2231af1e616332c5abfef7083b95a0e45654e3e0f8b1b6b4fe48276cd469992adf386b1126170b65303e87f3f5
data/Changes CHANGED
@@ -1,3 +1,10 @@
1
+ v1.26.1.beta.1 - 2015/6/25
2
+
3
+ Bug fixes:
4
+
5
+ - Fix handling of assets when publishing locally and FIG_REMOTE_URL is unset.
6
+ Thanks to Shafeeq Shariff for finding this.
7
+
1
8
  v1.26.0 - 2015/6/22
2
9
 
3
10
  Bug fixes:
@@ -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
- publisher.remote_fig_file_for_package =
160
- remote_fig_file_for_package(descriptor)
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
@@ -1,5 +1,5 @@
1
1
  # coding: utf-8
2
2
 
3
3
  module Fig
4
- VERSION = '1.26.0'
4
+ VERSION = '1.26.1.beta.1'
5
5
  end
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.0
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-22 00:00:00.000000000 Z
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: '0'
410
+ version: 1.3.1
411
411
  requirements: []
412
412
  rubyforge_project:
413
413
  rubygems_version: 2.2.2