orly 0.0.12 → 0.0.13

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: add86925794093f151779c1f624853dfb58f4d32
4
- data.tar.gz: d8250164a567d79ea0a67f2c82a5c15a87891438
3
+ metadata.gz: d4826bad136a60166851839e6c23a3357a808bb6
4
+ data.tar.gz: b53f16b52e41358ebcb3e90f30da14331fbbfef3
5
5
  SHA512:
6
- metadata.gz: 2111e75fb80d513cc882ec0b034426f5a021dc5c55a7b78738b3485ed94536bc109bfde676db008080e45cc57ce0b22335ff47c9dd6d403b85c477597133cc74
7
- data.tar.gz: 20a1a7a162e7a48dff91bbdd4c472c0a3ab2de7948c66d34b3521acb9dde43d68a3dc19bb42200202610169bbe26f5406a1ac75a86482048429f3762791b17ac
6
+ metadata.gz: 42f7ed617e1f271d1ef2bbbf2e9753e139335f44d7c76b24fa37c7ed7a22a4aa50ef0db939b2a4d066e0c518f145718dd65edfdab45c9a1d25f7555fb9ec566d
7
+ data.tar.gz: affb94e898dd411459581ee593fa7165b3b08a72abd5a8b7ff65542504886933af1074e995359a0827086f9a3e18820df3c808b112371644789a7143029c2442
@@ -1,3 +1,11 @@
1
+ # v0.0.13
2
+ * Added Yarn support (@sduquej)
3
+
4
+ # v0.0.12
5
+
6
+ # v0.0.11
7
+ * Added .dotenv-encrypted support
8
+
1
9
  # v0.0.10
2
10
  * Added Bower support (@lorcan)
3
11
 
data/Readme.md CHANGED
@@ -29,6 +29,7 @@ ORLY supports the following development commands and knows to alert you when you
29
29
 
30
30
  #### NPM / Bower
31
31
  * `npm install` - for package.json changes
32
+ * `yarn install` - for package.json and yarn.lock changes
32
33
  * `bower install` - for bower.json changes
33
34
 
34
35
  ## More info
@@ -16,6 +16,7 @@ module Orly
16
16
  notify << "run 'pod install'".blue if tester.need_pod?
17
17
  notify << "run 'bower install'".green if tester.need_bower?
18
18
  notify << "run 'npm install'".green if tester.need_npm?
19
+ notify << "run 'yarn install'".green if tester.need_yarn?
19
20
  Orly::OwlPrinter.print(notify) unless notify.empty?
20
21
  rescue Orly::NoRepo
21
22
  puts "O RLY: this is not a git repo".red
@@ -10,6 +10,7 @@ module Orly
10
10
  @need_migrate = false
11
11
  @need_bower = false
12
12
  @need_npm = false
13
+ @uses_yarn = false
13
14
  @need_dotenv = false
14
15
  run_tests
15
16
  rescue ArgumentError
@@ -24,6 +25,7 @@ module Orly
24
25
  when /^Podfile/ then @need_pod = true
25
26
  when /^bower\.json/ then @need_bower = true
26
27
  when /package\.json/ then @need_npm = true
28
+ when /^yarn\.lock/ then @uses_yarn = true
27
29
  when /^.dotenv-encrypted/ then @need_dotenv = true
28
30
  end
29
31
  end
@@ -53,6 +55,12 @@ module Orly
53
55
  end
54
56
 
55
57
  def need_npm?
58
+ return false if uses_yarn?
59
+ @need_npm
60
+ end
61
+
62
+ def need_yarn?
63
+ return false unless uses_yarn?
56
64
  @need_npm
57
65
  end
58
66
 
@@ -60,5 +68,8 @@ module Orly
60
68
  @need_dotenv
61
69
  end
62
70
 
71
+ private def uses_yarn?
72
+ @uses_yarn
73
+ end
63
74
  end
64
75
  end
@@ -1,3 +1,3 @@
1
1
  module Orly
2
- VERSION = "0.0.12"
2
+ VERSION = "0.0.13"
3
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.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - yon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-09 00:00:00.000000000 Z
11
+ date: 2017-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git