slnky 0.5.0 → 0.5.1
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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f97698b8cad463fc869769cb5622ce40c5163c6a
|
|
4
|
+
data.tar.gz: 24736e5a94e4a74251a19345d4aea0562cf45933
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dc36542d30d76b8307478e107aeb66466aa7f516bcbcf271c9dbe168388b623262d963c2f2aeb13eb81eb2c854e5a9d4a95ab18e506ede5b87fe0f342f533448
|
|
7
|
+
data.tar.gz: da39fe43e440a633c55d3fd8a64674da8d59af896947608de1c9ce2343fd137d043d8a5f0110bbfd1f13ef0cb921d343efdeb68279597deee6285fdfd2eac2b2
|
|
@@ -10,9 +10,9 @@ require 'daemons'
|
|
|
10
10
|
require 'slnky/service/<%= name %>'
|
|
11
11
|
Dotenv.load
|
|
12
12
|
|
|
13
|
-
env = ARGV[
|
|
13
|
+
env = ARGV[0]
|
|
14
14
|
|
|
15
15
|
# Become a daemon
|
|
16
|
-
Daemons.daemonize if env == 'production'
|
|
16
|
+
# Daemons.daemonize if env == 'production'
|
|
17
17
|
|
|
18
18
|
Slnky::Service::<%= name.capitalize %>.new(ENV['SLNKY_URL'], env: env).start
|
data/lib/slnky/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: slnky
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shawn Catanzarite
|
|
@@ -174,7 +174,6 @@ files:
|
|
|
174
174
|
- lib/slnky/template/service/service-slnky-NAME.erb
|
|
175
175
|
- lib/slnky/template/service/spec/slnky/service/NAME_spec.rb.erb
|
|
176
176
|
- lib/slnky/template/service/spec/spec_helper.rb.erb
|
|
177
|
-
- lib/slnky/template/service/test/config.yaml
|
|
178
177
|
- lib/slnky/template/service/test/config.yaml.erb
|
|
179
178
|
- lib/slnky/template/service/test/events/test.json
|
|
180
179
|
- lib/slnky/version.rb
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
# config.yaml for Slnky::Service::Test
|
|
3
|
-
# this file is processed through ERB, you can inject
|
|
4
|
-
# values into the config from the environment, by specifying them
|
|
5
|
-
# in the .env file
|
|
6
|
-
environment: development # should specify this
|
|
7
|
-
service: test # just an example
|