nucleon 0.2.13 → 0.2.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +20 -5
- data/VERSION +1 -1
- data/lib/core/facade.rb +2 -2
- data/lib/core/util/cli.rb +4 -0
- data/lib/nucleon_base.rb +1 -1
- data/locales/en.yml +2 -0
- data/nucleon.gemspec +6 -6
- 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: 04c63422e2cb6a0b5196cf8c790fce2d48854ca3
|
4
|
+
data.tar.gz: 72507b8b3fecfa8ab430fe47c6a5fed639ed4a32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fbe034ca40ad4c99a9b67458f9619a91ca36c54dab6f49daa5d096e5fd0840c06b0d7c99430188602dc1c56e0ae460f176dd1bdbeacfd95e6069008d1b2f1b7
|
7
|
+
data.tar.gz: acedcb562dd5a5d3dc632d0217c3fe4cab5678807eee3ad41b588d717250218aefcf4f3a6a1f65ff90f196e72c483479173fbd9f91e9e50c84fa6e422dca47dc
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -3,8 +3,23 @@ GEM
|
|
3
3
|
specs:
|
4
4
|
addressable (2.3.6)
|
5
5
|
builder (3.2.2)
|
6
|
-
celluloid (0.
|
7
|
-
|
6
|
+
celluloid (0.17.2)
|
7
|
+
celluloid-essentials
|
8
|
+
celluloid-extras
|
9
|
+
celluloid-fsm
|
10
|
+
celluloid-pool
|
11
|
+
celluloid-supervision
|
12
|
+
timers (>= 4.1.1)
|
13
|
+
celluloid-essentials (0.20.5)
|
14
|
+
timers (>= 4.1.1)
|
15
|
+
celluloid-extras (0.20.5)
|
16
|
+
timers (>= 4.1.1)
|
17
|
+
celluloid-fsm (0.20.5)
|
18
|
+
timers (>= 4.1.1)
|
19
|
+
celluloid-pool (0.20.5)
|
20
|
+
timers (>= 4.1.1)
|
21
|
+
celluloid-supervision (0.20.5)
|
22
|
+
timers (>= 4.1.1)
|
8
23
|
childprocess (0.5.5)
|
9
24
|
ffi (~> 1.0, >= 1.0.11)
|
10
25
|
deep_merge (1.0.1)
|
@@ -26,7 +41,7 @@ GEM
|
|
26
41
|
oauth2
|
27
42
|
hashie (3.3.2)
|
28
43
|
highline (1.6.21)
|
29
|
-
hitimes (1.2.
|
44
|
+
hitimes (1.2.3)
|
30
45
|
i18n (0.6.11)
|
31
46
|
jeweler (2.0.1)
|
32
47
|
builder
|
@@ -77,7 +92,7 @@ GEM
|
|
77
92
|
faraday (~> 0.8, < 0.10)
|
78
93
|
sshkey (1.6.1)
|
79
94
|
thread_safe (0.3.4)
|
80
|
-
timers (4.
|
95
|
+
timers (4.1.1)
|
81
96
|
hitimes
|
82
97
|
|
83
98
|
PLATFORMS
|
@@ -85,7 +100,7 @@ PLATFORMS
|
|
85
100
|
|
86
101
|
DEPENDENCIES
|
87
102
|
bundler (~> 1.7)
|
88
|
-
celluloid (~> 0.
|
103
|
+
celluloid (~> 0.17)
|
89
104
|
childprocess (~> 0.5)
|
90
105
|
deep_merge (~> 1.0)
|
91
106
|
erubis (~> 2.7)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.14
|
data/lib/core/facade.rb
CHANGED
@@ -144,7 +144,7 @@ module Facade
|
|
144
144
|
manager = parallel? ? Celluloid::Actor[actor_id] : collection[actor_id]
|
145
145
|
else
|
146
146
|
if parallel?
|
147
|
-
klass.
|
147
|
+
klass.supervise({ :as => actor_id, :args => [actor_id, reset] })
|
148
148
|
manager = Celluloid::Actor[actor_id]
|
149
149
|
else
|
150
150
|
manager = klass.new(actor_id, reset) # Managers should have standardized initialization parameters
|
@@ -197,7 +197,7 @@ module Facade
|
|
197
197
|
end
|
198
198
|
|
199
199
|
fetch_ip = lambda do
|
200
|
-
ip_command = value(:external_address_command, '
|
200
|
+
ip_command = value(:external_address_command, 'dig +short myip.opendns.com @resolver1.opendns.com')
|
201
201
|
ip_address = `#{ip_command}`.strip
|
202
202
|
|
203
203
|
unless ip_address.empty?
|
data/lib/core/util/cli.rb
CHANGED
@@ -144,6 +144,10 @@ module CLI
|
|
144
144
|
'--[no-]color',
|
145
145
|
'nucleon.core.util.cli.options.color'
|
146
146
|
)
|
147
|
+
option_bool(:parallel, Nucleon.parallel?,
|
148
|
+
'--[no-]parallel',
|
149
|
+
'nucleon.core.util.cli.options.parallel'
|
150
|
+
)
|
147
151
|
option_str(:log_level, nil,
|
148
152
|
'--log_level STR',
|
149
153
|
'nucleon.core.util.cli.options.log_level'
|
data/lib/nucleon_base.rb
CHANGED
data/locales/en.yml
CHANGED
@@ -25,6 +25,8 @@ en:
|
|
25
25
|
Print the current version information and exit
|
26
26
|
color: |-
|
27
27
|
Whether or not to output console messages in color (default %{default_value})
|
28
|
+
parallel: |-
|
29
|
+
Whether or not to run in parallel mode (default %{default_value})
|
28
30
|
short_help: |-
|
29
31
|
Display brief help information for this command
|
30
32
|
extended_help: |-
|
data/nucleon.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: nucleon 0.2.
|
5
|
+
# stub: nucleon 0.2.14 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "nucleon"
|
9
|
-
s.version = "0.2.
|
9
|
+
s.version = "0.2.14"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Adrian Webb"]
|
14
|
-
s.date = "2015-
|
14
|
+
s.date = "2015-12-05"
|
15
15
|
s.description = "\nA framework that provides a simple foundation for building Ruby applications that are:\n\n* Highly configurable (with both distributed and persistent configurations)\n* Extremely pluggable and extendable\n* Easily parallel\n\nNote: This framework is still very early in development!\n"
|
16
16
|
s.email = "adrian.webb@coralnexus.com"
|
17
17
|
s.executables = ["nucleon"]
|
@@ -127,7 +127,7 @@ Gem::Specification.new do |s|
|
|
127
127
|
s.add_runtime_dependency(%q<multi_json>, ["~> 1.10"])
|
128
128
|
s.add_runtime_dependency(%q<sshkey>, ["~> 1.6"])
|
129
129
|
s.add_runtime_dependency(%q<childprocess>, ["~> 0.5"])
|
130
|
-
s.add_runtime_dependency(%q<celluloid>, ["~> 0.
|
130
|
+
s.add_runtime_dependency(%q<celluloid>, ["~> 0.17"])
|
131
131
|
s.add_runtime_dependency(%q<rugged>, ["~> 0.21"])
|
132
132
|
s.add_runtime_dependency(%q<octokit>, ["~> 3.6"])
|
133
133
|
s.add_development_dependency(%q<bundler>, ["~> 1.7"])
|
@@ -144,7 +144,7 @@ Gem::Specification.new do |s|
|
|
144
144
|
s.add_dependency(%q<multi_json>, ["~> 1.10"])
|
145
145
|
s.add_dependency(%q<sshkey>, ["~> 1.6"])
|
146
146
|
s.add_dependency(%q<childprocess>, ["~> 0.5"])
|
147
|
-
s.add_dependency(%q<celluloid>, ["~> 0.
|
147
|
+
s.add_dependency(%q<celluloid>, ["~> 0.17"])
|
148
148
|
s.add_dependency(%q<rugged>, ["~> 0.21"])
|
149
149
|
s.add_dependency(%q<octokit>, ["~> 3.6"])
|
150
150
|
s.add_dependency(%q<bundler>, ["~> 1.7"])
|
@@ -162,7 +162,7 @@ Gem::Specification.new do |s|
|
|
162
162
|
s.add_dependency(%q<multi_json>, ["~> 1.10"])
|
163
163
|
s.add_dependency(%q<sshkey>, ["~> 1.6"])
|
164
164
|
s.add_dependency(%q<childprocess>, ["~> 0.5"])
|
165
|
-
s.add_dependency(%q<celluloid>, ["~> 0.
|
165
|
+
s.add_dependency(%q<celluloid>, ["~> 0.17"])
|
166
166
|
s.add_dependency(%q<rugged>, ["~> 0.21"])
|
167
167
|
s.add_dependency(%q<octokit>, ["~> 3.6"])
|
168
168
|
s.add_dependency(%q<bundler>, ["~> 1.7"])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nucleon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Webb
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: log4r
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '0.
|
145
|
+
version: '0.17'
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '0.
|
152
|
+
version: '0.17'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: rugged
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|