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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 83c9c3a4793b2d199624d9850daa1aba7de6b064
4
- data.tar.gz: 7efc7db20ca6ba8a4e3f9350198d0be392b53bf0
3
+ metadata.gz: 8dd6e0243d3c4577ee72fcc3ea16b084f6ad44a2
4
+ data.tar.gz: a4c3be275646d41f9ec945350765a8fc940511f8
5
5
  SHA512:
6
- metadata.gz: 643595294d72350cca6d27cce52abadd3de3f627b4f582c20694966405e9eb465e2d26bedddd531e4cbfaaf14519c553bc621e204b42a2ec7ceff89ac838d590
7
- data.tar.gz: ff41dec922967952e72fbd80071af0a0459f7c415fd9c8c1da1c96969ed3ff882eec80705d21b6fd8be7a0fcd57aba3791871b520efb5377f369622cc8b5647a
6
+ metadata.gz: 700b843fad85e1e3d95256cd294e3190a60b5ef6a732a12cae6bfc810578b9994094464c7b95c96817cf82b7b7161b532ab115c6eec04e6257d50a24b9ba5784
7
+ data.tar.gz: 10a00919f097c47013d2258edb6484af464e96a6f833744846dc46a983b3c4f4d7c384bf18f175a7983a90f6b44b58f21c4a08381d35c31172cca8296022bf75
@@ -1,3 +1,6 @@
1
+ # 0.6.2 / 2014-02-23
2
+ * [FEATURE] Remove meducation_sdk by default.
3
+
1
4
  # 0.6.1 / 2014-02-23
2
5
  * [FEATURE] Remove larva version dependency in spawner.
3
6
 
data/bin/larva CHANGED
@@ -54,6 +54,7 @@ class DaemonCreator
54
54
  File.open(path, 'w+') do |file|
55
55
  contents.gsub!("LarvaSpawn", @daemon_name.classify)
56
56
  contents.gsub!("larva_spawn", @daemon_name)
57
+ contents.gsub!("LARVA_SPAWN", @daemon_name.upcase)
57
58
  file.write(contents)
58
59
  end
59
60
  end
@@ -1,3 +1,3 @@
1
1
  module Larva
2
- VERSION = '0.6.1'
2
+ VERSION = '0.6.2'
3
3
  end
@@ -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, uncomment the lines in the `Gemfile` and `test/test_helper.rb`
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/*`
@@ -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.1
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