larva 0.6.1 → 0.6.2
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 +4 -4
- data/CHANGELOG.md +3 -0
- data/bin/larva +1 -0
- data/lib/larva/version.rb +1 -1
- data/template/README.md +4 -1
- data/template/config/{meducation-sdk.yml → meducation-sdk.yml.optional} +0 -0
- data/template/lib/tasks/larva_spawn.rake +14 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8dd6e0243d3c4577ee72fcc3ea16b084f6ad44a2
|
4
|
+
data.tar.gz: a4c3be275646d41f9ec945350765a8fc940511f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 700b843fad85e1e3d95256cd294e3190a60b5ef6a732a12cae6bfc810578b9994094464c7b95c96817cf82b7b7161b532ab115c6eec04e6257d50a24b9ba5784
|
7
|
+
data.tar.gz: 10a00919f097c47013d2258edb6484af464e96a6f833744846dc46a983b3c4f4d7c384bf18f175a7983a90f6b44b58f21c4a08381d35c31172cca8296022bf75
|
data/CHANGELOG.md
CHANGED
data/bin/larva
CHANGED
data/lib/larva/version.rb
CHANGED
data/template/README.md
CHANGED
@@ -4,6 +4,9 @@
|
|
4
4
|
|
5
5
|
There's a few things you need to do:
|
6
6
|
|
7
|
-
- If you're using the SDK
|
7
|
+
- If you're using the SDK:
|
8
|
+
- Uncomment the lines in the `Gemfile` and `test/test_helper.rb`
|
9
|
+
- Rename `config/meducation-sdk.yml.optional` to `config/meducation-sdk.yml`
|
8
10
|
- Run `bundle install`
|
9
11
|
- Run `bundle exec rake test`
|
12
|
+
- Add your keys to `config/*`
|
File without changes
|
@@ -0,0 +1,14 @@
|
|
1
|
+
namespace :larva_spawn do
|
2
|
+
task :start do
|
3
|
+
config_dir = File.expand_path('../../../config', __FILE__)
|
4
|
+
logfile = "./log/larva_spawn.log"
|
5
|
+
options = {
|
6
|
+
meducation_sdk_secret_key: ENV['LARVA_SPAWN_API_KEY'],
|
7
|
+
env: ENV['ENV'],
|
8
|
+
config_dir: config_dir,
|
9
|
+
logfile: logfile
|
10
|
+
}
|
11
|
+
LarvaSpawn::Daemon.start(options)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: larva
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iHiD
|
@@ -140,7 +140,7 @@ files:
|
|
140
140
|
- template/Rakefile
|
141
141
|
- template/bin/larva_spawn
|
142
142
|
- template/bin/larva_spawn-setup
|
143
|
-
- template/config/meducation-sdk.yml
|
143
|
+
- template/config/meducation-sdk.yml.optional
|
144
144
|
- template/config/propono.yml
|
145
145
|
- template/lib/larva_spawn.rb
|
146
146
|
- template/lib/larva_spawn/configuration.rb
|