orly 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -2
- data/lib/orly.rb +1 -0
- data/lib/orly/tester.rb +7 -0
- data/lib/orly/version.rb +1 -1
- data/orly.gemspec +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bc910b8d906c970c04c70d29c1b9a307332521d
|
4
|
+
data.tar.gz: 359653fee062723911ce8015de0117b9f1431bfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f59cabcc5d70f3277c4203a27ef8010f5d126ee79b86659d2d8532afdd87040eadb58405925dcf96c20fc88582ee1dee8dcd07b62edf6de58484a31a7f9faa71
|
7
|
+
data.tar.gz: 10e4a1de1ff2a7fe47905d362dd9b44f06110513772d24c1fe35b9832edc1421c516495770162f08f156f4aafe17ab02d541a71dd68c7aa9fa7a188408593680
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
|
+
# v0.0.9
|
2
|
+
* Added NPM support for all the Node.JS fans out there. (@giladgo)
|
3
|
+
|
1
4
|
# v0.0.8
|
2
5
|
* Fixed orly not working at all
|
3
|
-
|
6
|
+
|
4
7
|
# v0.0.7
|
5
8
|
* Added support for Pod files
|
6
9
|
|
@@ -11,4 +14,4 @@
|
|
11
14
|
* Added --speak to orly options - now you can make the owl talk :)
|
12
15
|
|
13
16
|
# v0.0.4
|
14
|
-
* Initial Release
|
17
|
+
* Initial Release
|
data/lib/orly.rb
CHANGED
@@ -13,6 +13,7 @@ module Orly
|
|
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
15
|
notify << "run 'pod install'".blue if tester.need_pod?
|
16
|
+
notify << "run 'npm install'".green if tester.need_npm?
|
16
17
|
Orly::OwlPrinter.print(notify) unless notify.empty?
|
17
18
|
rescue Orly::NoRepo
|
18
19
|
puts "O RLY: this is not a git repo".red
|
data/lib/orly/tester.rb
CHANGED
@@ -8,6 +8,7 @@ module Orly
|
|
8
8
|
def initialize
|
9
9
|
@need_bundle = false
|
10
10
|
@need_migrate = false
|
11
|
+
@need_npm = false
|
11
12
|
run_tests
|
12
13
|
rescue ArgumentError
|
13
14
|
raise NoRepo.new
|
@@ -19,6 +20,7 @@ module Orly
|
|
19
20
|
when /^Gemfile/ then @need_bundle = true
|
20
21
|
when /^db\/migrate/ then @need_migrate = true
|
21
22
|
when /^Podfile/ then @need_pod = true
|
23
|
+
when /^package\.json/ then @need_npm = true
|
22
24
|
end
|
23
25
|
end
|
24
26
|
rescue Git::GitExecuteError
|
@@ -41,5 +43,10 @@ module Orly
|
|
41
43
|
def need_pod?
|
42
44
|
@need_pod
|
43
45
|
end
|
46
|
+
|
47
|
+
def need_npm?
|
48
|
+
@need_npm
|
49
|
+
end
|
50
|
+
|
44
51
|
end
|
45
52
|
end
|
data/lib/orly/version.rb
CHANGED
data/orly.gemspec
CHANGED
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.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: git
|
@@ -91,8 +91,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
version: '0'
|
92
92
|
requirements: []
|
93
93
|
rubyforge_project: orly
|
94
|
-
rubygems_version: 2.0.
|
94
|
+
rubygems_version: 2.0.14
|
95
95
|
signing_key:
|
96
96
|
specification_version: 4
|
97
97
|
summary: Tells you when you need to run `bundle install` or `rake db:migrate`
|
98
98
|
test_files: []
|
99
|
+
has_rdoc:
|