motion-environment-settings 0.0.2 → 0.0.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: 048641baab9d9579abceef5b7ab6be3a339a7f29
4
- data.tar.gz: fa2ab1a579c50fa676a2d4e3eac17d9f7dd0b353
3
+ metadata.gz: bc47bafeba38943fc1f46653ad3b73836b61ec09
4
+ data.tar.gz: abd749afc02aaf0bd55ef2a4e5c8bc09b0250ddf
5
5
  SHA512:
6
- metadata.gz: bd8a141d4ec87fb0ed426ff32b42dfd13b1759451fcbea24e06cc9a4f385604ad8094a4b04e401e718dc743029fe34e18b96923e562988df76c548797d689c4d
7
- data.tar.gz: 29d6b952f5b2df17e7be84282301b0d49101ec973a6734f41351ed79a28830b16a7910cf0dbe42faa3675e69edea099948674d412de3623094126825a1504ff0
6
+ metadata.gz: b3a51b90485a3264752a9aa34c0bb1d0219665443697663a30d9580e1241c45d8fb6485a4b36b116468429d6d20cf4f76bf11765ba4f41ea44996164c364432b
7
+ data.tar.gz: abbaabc540316a658b21ff62c0744be2002ea90cf94570295e690e8bfe3ffa1c1c19b4789501e5a7d24e1a345177bfd8a15eeaf4a1cdfb3c6d07c38d2b1273ec
data/Rakefile CHANGED
@@ -9,5 +9,3 @@ require "bundler/gem_tasks"
9
9
 
10
10
  require "yaml"
11
11
  require "./lib/motion-environment-settings"
12
-
13
- Dir.glob("lib/tasks/*.rake").each { |r| import r }
@@ -1,5 +1,5 @@
1
1
  module Motion
2
2
  module EnvironmentSettings
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -25,3 +25,17 @@ Motion::Project::App.setup do |app|
25
25
  app.files.unshift(file)
26
26
  end
27
27
  end
28
+
29
+ require_relative "motion-environment-settings/generator"
30
+
31
+ before :"build:simulator" do
32
+ create_configuration
33
+ end
34
+
35
+ before :"build:device" do
36
+ create_configuration
37
+ end
38
+
39
+ def create_configuration
40
+ Motion::EnvironmentSettings::Generator.generate
41
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-environment-settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Berkowitz
@@ -28,7 +28,6 @@ files:
28
28
  - lib/motion-environment-settings.rb
29
29
  - lib/motion-environment-settings/generator.rb
30
30
  - lib/motion-environment-settings/version.rb
31
- - lib/tasks/settings_hooks.rake
32
31
  - motion-environment-settings.gemspec
33
32
  homepage:
34
33
  licenses:
@@ -1,14 +0,0 @@
1
- $:.unshift("./lib/")
2
- require "./lib/motion-environment-settings/generator"
3
-
4
- before :"build:simulator" do
5
- create_configuration
6
- end
7
-
8
- before :"build:device" do
9
- create_configuration
10
- end
11
-
12
- def create_configuration
13
- Motion::EnvironmentSettings::Generator.generate
14
- end