fig 2.0.0.pre.alpha.10 → 2.0.0.pre.alpha.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ffb9d7bc5e0a1723f452acc24d3ed117f700814821c5f6b9be69258edeec4903
4
- data.tar.gz: cff46d3b93314fc559e0e3ab549b472b9cdc1474363d758ef18c4020fca675b7
3
+ metadata.gz: 860a3d53c4807bf0933cfbf65e8dbfa16be7f1bc18c5899d2a2a1b79f2017c0d
4
+ data.tar.gz: 143f18d5d23eb8b170841bfc9958769241ab1de373c6fbe15ddbdfb2a5150edb
5
5
  SHA512:
6
- metadata.gz: 947d9c97f725fa69e074b0b580ba4698d4e824278c1ea2c71e036e5146030302de5319fe281171bc1727cd8a0194ace497edc731061fb9314317cb3aa52dacfe
7
- data.tar.gz: a4c64c9fdf34e90543a790c3caf649cca749a74ef4b3b151902cfe931af17cc2a52d2f99dea12d090fcf8035c448fa5a8e5834b334683be4982882fe42da5e05
6
+ metadata.gz: 19e727be17a0be0136373eb7a3b72670290c5d6a07cc05f03f5a46f66c398a7791fe256ebb0aa3375f010497f49b302d3bf7c0cf88c0a1281900c77a2b21907c
7
+ data.tar.gz: 5cac9612445d72cc3ea3958d9baa23a2a1d8229e33427190dd469f8f91b5a431e55d9599417caaf1a86e74c10b2fd9cc5f8fcd8ca11173b5968b3e1dd71e235f
@@ -177,7 +177,9 @@ class Fig::Protocol::Artifactory
177
177
  response = client.get(storage_url)
178
178
 
179
179
  # compare sizes first
180
- if response['size'] != ::File.size(path)
180
+ remote_size = response['size'].to_i
181
+ if remote_size != ::File.size(path)
182
+ # TODO VERBOSE
181
183
  return false
182
184
  end
183
185
 
@@ -188,7 +190,8 @@ class Fig::Protocol::Artifactory
188
190
  if remote_mtime <= local_mtime
189
191
  return true
190
192
  end
191
-
193
+
194
+ # TODO VERBOSE
192
195
  return false
193
196
  rescue => error
194
197
  Fig::Logging.debug "Error checking if #{path} is up to date: #{error.message}"
data/lib/fig/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # coding: utf-8
2
2
 
3
3
  module Fig
4
- VERSION = '2.0.0-alpha.10'.freeze
4
+ VERSION = '2.0.0-alpha.11'.freeze
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fig
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.pre.alpha.10
4
+ version: 2.0.0.pre.alpha.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fig Folks
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-09-24 00:00:00.000000000 Z
10
+ date: 2025-09-25 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: bcrypt_pbkdf
@@ -334,7 +334,7 @@ dependencies:
334
334
  description: |-
335
335
  Fig is a utility for configuring environments and managing dependencies across a team of developers. Given a list of packages and a command to run, Fig builds environment variables named in those packages (e.g., CLASSPATH), then executes the command in that environment. The caller's environment is not affected.
336
336
 
337
- Built from git SHA1: 46bcf5e-dirty
337
+ Built from git SHA1: 23313c3-dirty
338
338
  email: maintainer@figpackagemanager.org
339
339
  executables:
340
340
  - fig
@@ -545,7 +545,7 @@ files:
545
545
  licenses:
546
546
  - BSD-3-Clause
547
547
  metadata:
548
- git_sha: 46bcf5e-dirty
548
+ git_sha: 23313c3-dirty
549
549
  rdoc_options: []
550
550
  require_paths:
551
551
  - lib
@@ -563,5 +563,5 @@ requirements: []
563
563
  rubygems_version: 3.6.1
564
564
  specification_version: 4
565
565
  summary: 'Utility for configuring environments and managing dependencies across a
566
- team of developers. Built from git SHA1: 46bcf5e-dirty'
566
+ team of developers. Built from git SHA1: 23313c3-dirty'
567
567
  test_files: []