anticuado 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/anticuado.rb +7 -1
- data/lib/anticuado/elixir/hex.rb +2 -2
- data/lib/anticuado/java/gradle.rb +2 -2
- data/lib/anticuado/javascript/npm.rb +2 -2
- data/lib/anticuado/ruby/bundler.rb +4 -2
- data/lib/anticuado/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf22c75ac3b9177d7ccb64639def7bd0d2e13251
|
4
|
+
data.tar.gz: 12a4de280185f597e22043fa858405f6b05b6eec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 548749e1cf926c60fedbe60f7546819a4ab6b1b4afeb0288bdea3f6377c28b6424622ee78935f4276ecdaeb9afb8971d4d6470822991bd95428acbb7bf31676e
|
7
|
+
data.tar.gz: 126f15e8a7b0dd2858e3dd074414232808fc59af2fd1ac7d6c598a7ba0903041f849c20893528d5af6542a63b65add4a6811903bc8854f6b921645c9d5fbcea8
|
data/README.md
CHANGED
data/lib/anticuado.rb
CHANGED
@@ -12,5 +12,11 @@ require "anticuado/ruby/bundler"
|
|
12
12
|
require "anticuado/javascript/npm"
|
13
13
|
|
14
14
|
module Anticuado
|
15
|
-
|
15
|
+
def self.current_dir
|
16
|
+
File.expand_path "."
|
17
|
+
end
|
18
|
+
|
19
|
+
def self.project_dir(project:)
|
20
|
+
File.expand_path(project, ".")
|
21
|
+
end
|
16
22
|
end
|
data/lib/anticuado/elixir/hex.rb
CHANGED
@@ -7,8 +7,8 @@ module Anticuado
|
|
7
7
|
return puts "have no mix command" if `which mix`.empty?
|
8
8
|
|
9
9
|
if project
|
10
|
-
current_dir =
|
11
|
-
Dir.chdir project
|
10
|
+
current_dir = Anticuado.current_dir
|
11
|
+
Dir.chdir Anticuado.project_dir(project: project)
|
12
12
|
outdated_str = `mix hex.outdated`
|
13
13
|
Dir.chdir current_dir
|
14
14
|
else
|
@@ -12,8 +12,8 @@ module Anticuado
|
|
12
12
|
return puts "have no gradle command" if !wrapper && `which gradle`.empty?
|
13
13
|
|
14
14
|
if project
|
15
|
-
current_dir =
|
16
|
-
Dir.chdir project
|
15
|
+
current_dir = Anticuado.current_dir
|
16
|
+
Dir.chdir Anticuado.project_dir(project: project)
|
17
17
|
`#{gradle(wrapper)} dependencyUpdates -Drevision=#{revision} -DoutputFormatter=#{format} -DoutputDir=#{outdir}`
|
18
18
|
Dir.chdir current_dir
|
19
19
|
else
|
@@ -7,8 +7,8 @@ module Anticuado
|
|
7
7
|
return puts "have no npm command" if `which npm`.empty?
|
8
8
|
|
9
9
|
if project
|
10
|
-
current_dir =
|
11
|
-
Dir.chdir project
|
10
|
+
current_dir = Anticuado.current_dir
|
11
|
+
Dir.chdir Anticuado.project_dir(project: project)
|
12
12
|
outdated_str = `npm outdated`
|
13
13
|
Dir.chdir current_dir
|
14
14
|
else
|
@@ -5,11 +5,13 @@ module Anticuado
|
|
5
5
|
return puts "have no bundle command" if `which bundle`.empty?
|
6
6
|
|
7
7
|
if project
|
8
|
-
current_dir =
|
9
|
-
Dir.chdir project
|
8
|
+
current_dir = Anticuado.current_dir
|
9
|
+
Dir.chdir Anticuado.project_dir(project: project)
|
10
|
+
`bundle install`
|
10
11
|
outdated_str = `bundle outdated`
|
11
12
|
Dir.chdir current_dir
|
12
13
|
else
|
14
|
+
`bundle install`
|
13
15
|
outdated_str = `bundle outdated`
|
14
16
|
end
|
15
17
|
outdated_str
|
data/lib/anticuado/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: anticuado
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kazuaki MATSUO
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|