fanforce-factory 0.4.2 → 0.4.3
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 +8 -8
- data/lib/fanforce/factory/commands.rb +2 -2
- data/lib/fanforce/factory/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZmMyODQxMjMyMTQ3NDdlNGVhZmI2YjNkMzQ5NGUzOTIyNGE5ZjAzMg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTM2YjQ2MzhlNjhhNjFkYTVjOTQyZGQ4YTM0MDg4OTdiNjZlNGNmNg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YmMxYzdhNjlhNWZlYTQ4M2VjODNiYWQxM2Q1NWIzZDkwZTU3ODY2YjEwODhl
|
10
|
+
MjZhODZhYzFhMDg1MTM2NGFjM2E0YzdlODNmNDkwN2E1MTQ2ZWJhYWZlZGM1
|
11
|
+
Njg2ZTQ2Zjc4ZTZhMjJmY2M3Nzc4OTEyZjRiYTM5ZTMzMTIyNWU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDhjZmQ3ZjlkNWZhMmI0OGFjY2EyYzVmMTI0NDI0YzM4Yzg5Y2U0ZDQ2OTlh
|
14
|
+
MjcyYzhjMmEzM2FhNjliYjQwOTU0ODNmZTNhNWViMTdkMmU1NDdmMGZiZGNi
|
15
|
+
ODRmMDM0NjZkYTAwYWVkZjFlYmRlZmE1NTFhYjhkMzc1NGYxNTI=
|
@@ -389,7 +389,7 @@ class Fanforce::Factory
|
|
389
389
|
|
390
390
|
workers.each do |filename|
|
391
391
|
code_name = "#{addon._id}-#{filename.gsub('.worker', '')}"
|
392
|
-
remove_single_worker(code_name, iron_worker) if command == :reset
|
392
|
+
remove_single_worker(code_name, iron_worker, environment) if command == :reset
|
393
393
|
|
394
394
|
puts "#{'Uploading'.format(:green,:bold)} #{addon._id}-#{filename.gsub('.worker', '')} to #{environment.to_s.titleize}..."
|
395
395
|
code = IronWorkerNG::Code::Base.new(:workerfile => "#{addon.dir}/workers/#{filename}")
|
@@ -401,7 +401,7 @@ class Fanforce::Factory
|
|
401
401
|
end
|
402
402
|
end
|
403
403
|
|
404
|
-
def remove_single_worker(code_name, iron_worker)
|
404
|
+
def remove_single_worker(code_name, iron_worker, environment)
|
405
405
|
iron_worker.codes.list.each do |code|
|
406
406
|
next if code.name != code_name
|
407
407
|
iron_worker.codes.delete(code.id)
|