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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 28c666c1d96e22a4c17966a189899d97847cc9df
4
- data.tar.gz: 13a17e90f6a40c26d25f5194bad0e771380f6b81
3
+ metadata.gz: 2bc910b8d906c970c04c70d29c1b9a307332521d
4
+ data.tar.gz: 359653fee062723911ce8015de0117b9f1431bfd
5
5
  SHA512:
6
- metadata.gz: 433388ef6a84692c24eb233c03fd91ece506ec89b00f305d87790328024c92f1b0e71a4ae60d7d16306ae649293625d218db756985cc252801fb00e2d97179c9
7
- data.tar.gz: 64e21e419eeaf7c3e68fc0bbd41cee377fb70dd6bf9503360196eb6e4ff98ef7b959af338d5a055a426de5bdfbe9e382d3dff463962e5512fd16fb7ec8d5edca
6
+ metadata.gz: f59cabcc5d70f3277c4203a27ef8010f5d126ee79b86659d2d8532afdd87040eadb58405925dcf96c20fc88582ee1dee8dcd07b62edf6de58484a31a7f9faa71
7
+ data.tar.gz: 10e4a1de1ff2a7fe47905d362dd9b44f06110513772d24c1fe35b9832edc1421c516495770162f08f156f4aafe17ab02d541a71dd68c7aa9fa7a188408593680
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Orly
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
@@ -24,4 +24,4 @@ Gem::Specification.new do |s|
24
24
  s.add_runtime_dependency "git"
25
25
  s.add_runtime_dependency "choice"
26
26
  s.add_runtime_dependency "colored"
27
- end
27
+ 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.8
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: 2013-09-11 00:00:00.000000000 Z
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.6
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: