capistrano_multiconfig_parallel 1.1.2 → 1.1.3

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: 65ce1bb81a2bbdb39355285d45dab22a7f9db2a4
4
- data.tar.gz: e7aaf180dea6f7b7303de2148dd6bd12be256ac6
3
+ metadata.gz: 8323fb7e94ecabdce8a86cd5900686635e739400
4
+ data.tar.gz: 75ce831bd93fde8da91e238459d9cf52bd75f140
5
5
  SHA512:
6
- metadata.gz: 8a0620446c8753d5636f70854e5845e45814cb7d2dcd8c7be92824de476c0908b03bc773d641f31fd1f0a5c824335a2c57114b09256152b38c64c197dc6c7307
7
- data.tar.gz: f9cece9d472f5b666362150c8ab8729b03f4ddcc37d220fd4990e96fadc95e394f0cfce17fd7bf693e57880889608ea616d8c1a8d14355f7bfd8a771aec5118b
6
+ metadata.gz: 861244b8a3a40f56f687e6685f8fcd40b3e1afa0cf58c50cd0c845a7559d5f6afd2dabda2f127e5a1eb54b958cd20ea45c691d69907972ebec1d64afc067e446
7
+ data.tar.gz: 524cf0bc8da4f8b5d6ea9ec262521a6a7dcc7a6d445fcce7e88a0922f1d6eb7daf45f19adbdddd07e66d7a1c7b1c64a2d23abfdb9ab139de1a362f0ecd0429be
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  capistrano_multiconfig_parallel
2
2
  ===============================
3
3
 
4
- [![Gem Version](https://badge.fury.io/rb/capistrano_multiconfig_parallel.svg)](http://badge.fury.io/rb/capistrano_multiconfig_parallel) [![Repo Size](https://reposs.herokuapp.com/?path=bogdanRada/capistrano_multiconfig_parallel)](https://github.com/bogdanRada/capistrano_multiconfig_parallel) [![Gem Downloads](https://ruby-gem-downloads-badge.herokuapp.com/capistrano_multiconfig_parallel?type=total&style=dynamic)](https://github.com/bogdanRada/capistrano_multiconfig_parallel) [![Maintenance Status](http://stillmaintained.com/bogdanRada/capistrano_multiconfig_parallel.png)](https://github.com/bogdanRada/capistrano_multiconfig_parallel)
4
+ [![Gem Version](https://badge.fury.io/rb/capistrano_multiconfig_parallel.svg)](http://badge.fury.io/rb/capistrano_multiconfig_parallel) [![Repo Size](https://reposs.herokuapp.com/?path=bogdanRada/capistrano_multiconfig_parallel)](https://github.com/bogdanRada/capistrano_multiconfig_parallel) [![Gem Downloads](https://ruby-gem-downloads-badge.herokuapp.com/capistrano_multiconfig_parallel?type=total&style=dynamic)](https://github.com/bogdanRada/capistrano_multiconfig_parallel) [![Analytics](https://ga-beacon.appspot.com/UA-72570203-1/bogdanRada/capistrano_multiconfig_parallel)](https://github.com/bogdanRada/capistrano_multiconfig_parallel)
5
5
 
6
6
  DEMO
7
7
  ----
@@ -266,6 +266,12 @@ source 'http://rubygems.org'
266
266
  gem 'capistrano_multiconfig_parallel'
267
267
  ```
268
268
 
269
+ or you could install it directly from command line:
270
+
271
+ ```shell
272
+ gem install capistrano_multiconfig_parallel
273
+ ```
274
+
269
275
  Then create a file called **multi_cap.yml** in the root folder and create a configuration like this.
270
276
 
271
277
  ```yaml
@@ -289,10 +295,10 @@ Then create a file called **multi_cap.yml** in the root folder and create a conf
289
295
  ---
290
296
  ```
291
297
 
292
- and then you can run like you would normally do
298
+ and then you can run like you would normally do: (Apppend **bundle exec** to the below command only if you have a Gemfile)
293
299
 
294
300
  ```shell
295
- bundle exec multi_cap foo2:development deploy
301
+ multi_cap foo2:development deploy
296
302
  ```
297
303
 
298
304
  Known Limitations
data/Rakefile CHANGED
@@ -3,7 +3,6 @@ require 'bundler/gem_tasks'
3
3
  require 'rspec/core/rake_task'
4
4
  require 'coveralls/rake/task'
5
5
  require 'yard'
6
- require 'yard-rspec'
7
6
  Coveralls::RakeTask.new
8
7
 
9
8
  RSpec::Core::RakeTask.new(:spec) do |spec|
@@ -26,31 +25,18 @@ YARD::Rake::YardocTask.new do |t|
26
25
  t.stats_options = ['--list-undoc'] # optional
27
26
  end
28
27
 
29
- unless ENV['TRAVIS']
30
- require 'rvm-tester'
31
- RVM::Tester::TesterTask.new(:suite) do |t|
32
- t.rubies = %w(1.9.3 2.0.0 2.1.0) # which versions to test (required!)
33
- t.bundle_install = true # updates Gemfile.lock, default is true
34
- t.use_travis = true # looks for Rubies in .travis.yml (on by default)
35
- t.command = 'bundle exec rake' # runs plain "rake" by default
36
- t.env = { 'VERBOSE' => '1', 'RAILS_ENV' => 'test', 'RACK_ENV' => 'test' } # set any ENV vars
37
- t.num_workers = 5 # defaults to 3
38
- t.verbose = true # shows more output, off by default
39
- end
40
- end
41
-
42
28
  desc 'Default: run the unit tests.'
43
29
  task default: [:all]
44
30
 
45
31
  desc 'Test the plugin under all supported Rails versions.'
46
32
  task :all do |_t|
47
33
  if ENV['TRAVIS']
48
- exec(' bundle exec rubocop . && bundle exec reek . && bundle exec rake spec && bundle exec rake coveralls:push')
34
+ exec('bundle exec rake spec && bundle exec rake coveralls:push')
49
35
  else
50
- exec('bundle exec rubocop -a . && bundle exec rubocop . && bundle exec reek . && bundle exec rake spec')
36
+ exec('bundle exec rake spec')
51
37
  end
52
38
  end
53
39
 
54
40
  task :docs do
55
- exec('bundle exec rubocop -a . && bundle exec rubocop . && bundle exec reek . && bundle exec inch --pedantic && bundle exec yard')
41
+ exec('bundle exec inch --pedantic && bundle exec yard --list-undoc')
56
42
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
19
 
20
20
  s.add_runtime_dependency 'celluloid-pmap', '~> 0.2', '>= 0.2.2'
21
- s.add_runtime_dependency 'celluloid_pubsub', '~> 0.4', '>= 0.4.4'
21
+ s.add_runtime_dependency 'celluloid_pubsub', '~> 0.4', '>= 0.4.7'
22
22
  s.add_runtime_dependency 'celluloid-websocket-client', '~> 0.0', '>= 0.0.1'
23
23
  s.add_runtime_dependency 'composable_state_machine', '~> 1.0', '>= 1.0.2'
24
24
  s.add_runtime_dependency 'terminal-table', '~> 1.5', '>= 1.5.2'
@@ -33,17 +33,14 @@ Gem::Specification.new do |s|
33
33
  s.add_runtime_dependency 'rack', '~> 1.6', '>= 1.6'
34
34
  s.add_runtime_dependency 'rake', '~> 10.4', '>= 10.4'
35
35
 
36
- s.add_development_dependency 'rspec-rails', '~> 3.3', '>= 3.3'
37
- s.add_development_dependency 'simplecov', '~> 0.10', '>= 0.10'
36
+ s.add_development_dependency 'rspec', '~> 3.4', '>= 3.4'
37
+ s.add_development_dependency 'simplecov', '~> 0.11', '>= 0.11'
38
38
  s.add_development_dependency 'simplecov-summary', '~> 0.0.4', '>= 0.0.4'
39
39
  s.add_development_dependency 'mocha', '~> 1.1', '>= 1.1'
40
40
  s.add_development_dependency 'coveralls', '~> 0.7', '>= 0.7'
41
- s.add_development_dependency 'rvm-tester', '~> 1.1', '>= 1.1'
42
41
 
43
- s.add_development_dependency 'rubocop', '~> 0.33', '>= 0.33'
44
- s.add_development_dependency 'reek', '~> 3.7', '>= 3.7'
42
+
45
43
  s.add_development_dependency 'yard', '~> 0.8', '>= 0.8.7'
46
- s.add_development_dependency 'yard-rspec', '~> 0.1', '>= 0.1'
47
44
  s.add_development_dependency 'redcarpet', '~> 3.3', '>= 3.3'
48
45
  s.add_development_dependency 'github-markup', '~> 1.3', '>= 1.3.3'
49
46
  s.add_development_dependency 'inch', '~> 0.6', '>= 0.6'
@@ -6,13 +6,12 @@ module CapistranoMulticonfigParallel
6
6
  include Celluloid::Logger
7
7
  include CapistranoMulticonfigParallel::ApplicationHelper
8
8
 
9
- attr_reader :env, :client, :job_id, :action, :task,
9
+ attr_reader :client, :job_id, :action, :task,
10
10
  :task_approved, :successfull_subscription,
11
11
  :subscription_channel, :publisher_channel, :stdin_result
12
12
 
13
- def work(env, options = {})
13
+ def work(options = {})
14
14
  @options = options.stringify_keys
15
- @env = env
16
15
  default_settings
17
16
  custom_attributes
18
17
  initialize_subscription
@@ -24,8 +23,8 @@ module CapistranoMulticonfigParallel
24
23
  @task = @options['task']
25
24
  end
26
25
 
27
- def publish_new_work(env, new_options = {})
28
- work(env, @options.merge(new_options))
26
+ def publish_new_work(new_options = {})
27
+ work(@options.merge(new_options))
29
28
  publish_to_worker(task_data)
30
29
  end
31
30
 
@@ -65,9 +65,9 @@ module CapistranoMulticonfigParallel
65
65
  def actor_start_working
66
66
  if actor.blank?
67
67
  supervise_actor
68
- actor.work(@env, actor_id: rake_actor_id, job_id: job_id, task: @task)
68
+ actor.work(actor_id: rake_actor_id, job_id: job_id, task: @task)
69
69
  else
70
- actor.publish_new_work(@env, task: @task)
70
+ actor.publish_new_work(task: @task)
71
71
  end
72
72
  end
73
73
 
@@ -8,7 +8,7 @@ module CapistranoMulticonfigParallel
8
8
  module VERSION
9
9
  MAJOR = 1
10
10
  MINOR = 1
11
- TINY = 2
11
+ TINY = 3
12
12
  PRE = nil
13
13
 
14
14
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano_multiconfig_parallel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-15 00:00:00.000000000 Z
11
+ date: 2016-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: celluloid-pmap
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '0.4'
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: 0.4.4
42
+ version: 0.4.7
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: '0.4'
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 0.4.4
52
+ version: 0.4.7
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: celluloid-websocket-client
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -305,45 +305,45 @@ dependencies:
305
305
  - !ruby/object:Gem::Version
306
306
  version: '10.4'
307
307
  - !ruby/object:Gem::Dependency
308
- name: rspec-rails
308
+ name: rspec
309
309
  requirement: !ruby/object:Gem::Requirement
310
310
  requirements:
311
311
  - - "~>"
312
312
  - !ruby/object:Gem::Version
313
- version: '3.3'
313
+ version: '3.4'
314
314
  - - ">="
315
315
  - !ruby/object:Gem::Version
316
- version: '3.3'
316
+ version: '3.4'
317
317
  type: :development
318
318
  prerelease: false
319
319
  version_requirements: !ruby/object:Gem::Requirement
320
320
  requirements:
321
321
  - - "~>"
322
322
  - !ruby/object:Gem::Version
323
- version: '3.3'
323
+ version: '3.4'
324
324
  - - ">="
325
325
  - !ruby/object:Gem::Version
326
- version: '3.3'
326
+ version: '3.4'
327
327
  - !ruby/object:Gem::Dependency
328
328
  name: simplecov
329
329
  requirement: !ruby/object:Gem::Requirement
330
330
  requirements:
331
331
  - - "~>"
332
332
  - !ruby/object:Gem::Version
333
- version: '0.10'
333
+ version: '0.11'
334
334
  - - ">="
335
335
  - !ruby/object:Gem::Version
336
- version: '0.10'
336
+ version: '0.11'
337
337
  type: :development
338
338
  prerelease: false
339
339
  version_requirements: !ruby/object:Gem::Requirement
340
340
  requirements:
341
341
  - - "~>"
342
342
  - !ruby/object:Gem::Version
343
- version: '0.10'
343
+ version: '0.11'
344
344
  - - ">="
345
345
  - !ruby/object:Gem::Version
346
- version: '0.10'
346
+ version: '0.11'
347
347
  - !ruby/object:Gem::Dependency
348
348
  name: simplecov-summary
349
349
  requirement: !ruby/object:Gem::Requirement
@@ -404,66 +404,6 @@ dependencies:
404
404
  - - ">="
405
405
  - !ruby/object:Gem::Version
406
406
  version: '0.7'
407
- - !ruby/object:Gem::Dependency
408
- name: rvm-tester
409
- requirement: !ruby/object:Gem::Requirement
410
- requirements:
411
- - - "~>"
412
- - !ruby/object:Gem::Version
413
- version: '1.1'
414
- - - ">="
415
- - !ruby/object:Gem::Version
416
- version: '1.1'
417
- type: :development
418
- prerelease: false
419
- version_requirements: !ruby/object:Gem::Requirement
420
- requirements:
421
- - - "~>"
422
- - !ruby/object:Gem::Version
423
- version: '1.1'
424
- - - ">="
425
- - !ruby/object:Gem::Version
426
- version: '1.1'
427
- - !ruby/object:Gem::Dependency
428
- name: rubocop
429
- requirement: !ruby/object:Gem::Requirement
430
- requirements:
431
- - - "~>"
432
- - !ruby/object:Gem::Version
433
- version: '0.33'
434
- - - ">="
435
- - !ruby/object:Gem::Version
436
- version: '0.33'
437
- type: :development
438
- prerelease: false
439
- version_requirements: !ruby/object:Gem::Requirement
440
- requirements:
441
- - - "~>"
442
- - !ruby/object:Gem::Version
443
- version: '0.33'
444
- - - ">="
445
- - !ruby/object:Gem::Version
446
- version: '0.33'
447
- - !ruby/object:Gem::Dependency
448
- name: reek
449
- requirement: !ruby/object:Gem::Requirement
450
- requirements:
451
- - - "~>"
452
- - !ruby/object:Gem::Version
453
- version: '3.7'
454
- - - ">="
455
- - !ruby/object:Gem::Version
456
- version: '3.7'
457
- type: :development
458
- prerelease: false
459
- version_requirements: !ruby/object:Gem::Requirement
460
- requirements:
461
- - - "~>"
462
- - !ruby/object:Gem::Version
463
- version: '3.7'
464
- - - ">="
465
- - !ruby/object:Gem::Version
466
- version: '3.7'
467
407
  - !ruby/object:Gem::Dependency
468
408
  name: yard
469
409
  requirement: !ruby/object:Gem::Requirement
@@ -484,26 +424,6 @@ dependencies:
484
424
  - - ">="
485
425
  - !ruby/object:Gem::Version
486
426
  version: 0.8.7
487
- - !ruby/object:Gem::Dependency
488
- name: yard-rspec
489
- requirement: !ruby/object:Gem::Requirement
490
- requirements:
491
- - - "~>"
492
- - !ruby/object:Gem::Version
493
- version: '0.1'
494
- - - ">="
495
- - !ruby/object:Gem::Version
496
- version: '0.1'
497
- type: :development
498
- prerelease: false
499
- version_requirements: !ruby/object:Gem::Requirement
500
- requirements:
501
- - - "~>"
502
- - !ruby/object:Gem::Version
503
- version: '0.1'
504
- - - ">="
505
- - !ruby/object:Gem::Version
506
- version: '0.1'
507
427
  - !ruby/object:Gem::Dependency
508
428
  name: redcarpet
509
429
  requirement: !ruby/object:Gem::Requirement
@@ -644,7 +564,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
644
564
  version: '0'
645
565
  requirements: []
646
566
  rubyforge_project:
647
- rubygems_version: 2.4.8
567
+ rubygems_version: 2.5.1
648
568
  signing_key:
649
569
  specification_version: 4
650
570
  summary: CapistranoMulticonfigParallel is a simple ruby implementation that allows