orly 0.0.10 → 0.0.11

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: 0231cbe1cc18bf754325fab3a20ef8165c6fd469
4
- data.tar.gz: d01fda3f68e0913265ca052e590324c6351a7386
3
+ metadata.gz: 69fdfb5a418ae7deed33308487c87f6ac4dc05ea
4
+ data.tar.gz: fd78c3af254f309aebeb125f9c65e7e4ef14a125
5
5
  SHA512:
6
- metadata.gz: 9f1924449a8c38e7fbe7af11b1ddc47c11650fe57d8ad96315306e083e05f32f53f81ed83d7f0d8b2abc7e5c70b5f813a1dab6a78a1ef81b61a25cc454428842
7
- data.tar.gz: 850af32171776f36d1e9cb75312bfeb56f91ca418cf3a3347a259266c42bb408adc30b0ddce958c2f4e7b10f9ac50a6757d17e00cfbfba4dc0b64753d21f619b
6
+ metadata.gz: 322cd20edbdfc82a24aa219240e1b686e9dedb8ec7fe66045f154b2a788ae149205f9fc785e6686f12b05d97d25baa45b1f6dfa464a2ca6b974f23dac1e0364c
7
+ data.tar.gz: 67bc017743f3f4972052d1e46b5af9d4157885a13c39570f8dfa63e3079b16011d69afa534f699f54c45aba367efa418832633a8d283c70c55afb0a37a23bdbd
data/Readme.md CHANGED
@@ -22,6 +22,7 @@ ORLY supports the following development commands and knows to alert you when you
22
22
  #### Ruby / Rails
23
23
  * `bundle install` - for Gemfile.lock changes
24
24
  * `rake db:migrate` - for db/migration changes
25
+ * `dotenv-sync merge` - for changes in .dotenv-encrypted file
25
26
 
26
27
  #### iOS
27
28
  * `pod install` - for Podfile.lock changes
@@ -12,6 +12,7 @@ module Orly
12
12
  notify = []
13
13
  notify << "run 'bundle install'".red if tester.need_bundle_install?
14
14
  notify << "run 'rake db:migrate'".red if tester.need_migrate?
15
+ notify << "run 'dotenv-sync merge'".red if tester.need_dotenv?
15
16
  notify << "run 'pod install'".blue if tester.need_pod?
16
17
  notify << "run 'bower install'".green if tester.need_bower?
17
18
  notify << "run 'npm install'".green if tester.need_npm?
@@ -10,6 +10,7 @@ module Orly
10
10
  @need_migrate = false
11
11
  @need_bower = false
12
12
  @need_npm = false
13
+ @need_dotenv = false
13
14
  run_tests
14
15
  rescue ArgumentError
15
16
  raise NoRepo.new
@@ -23,6 +24,7 @@ module Orly
23
24
  when /^Podfile/ then @need_pod = true
24
25
  when /^bower\.json/ then @need_bower = true
25
26
  when /^package\.json/ then @need_npm = true
27
+ when /^.dotenv-encrypted/ then @need_dotenv = true
26
28
  end
27
29
  end
28
30
  rescue Git::GitExecuteError
@@ -54,5 +56,9 @@ module Orly
54
56
  @need_npm
55
57
  end
56
58
 
59
+ def need_dotenv?
60
+ @need_dotenv
61
+ end
62
+
57
63
  end
58
- end
64
+ end
@@ -1,3 +1,3 @@
1
1
  module Orly
2
- VERSION = "0.0.10"
3
- end
2
+ VERSION = "0.0.11"
3
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - yon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-25 00:00:00.000000000 Z
11
+ date: 2016-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git