dryrun 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/README.md +1 -1
- data/dryrun.gemspec +0 -3
- data/lib/dryrun/android_project.rb +1 -1
- data/lib/dryrun/github.rb +4 -3
- data/lib/dryrun/version.rb +1 -1
- metadata +1 -43
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d436fc216884dfd1358e115be284e585770a309
|
4
|
+
data.tar.gz: a7b7a6bb23dd0dac3564b90e86141ff0f3875414
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecc7fbb77bd717028d5f9b2047f6782e8b47867a8c11c95a1e80add02075204f3fb0af188ec02e32ef0ba34503713edba88fb89b31bfd274dfd8336d3d3c166d
|
7
|
+
data.tar.gz: 7ae9dc4cbb21ce13b66462a6f0132373ed0f6a7f38a5f4ff44d787db4c01f6699cc4987114f1f5673bc9ccb23bfce94335156c5590528ab80724a8ace05b4546
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# dryrun
|
2
|
-
![
|
2
|
+
[![Build Status](https://travis-ci.org/cesarferreira/dryrun.svg?branch=master)](https://travis-ci.org/cesarferreira/dryrun) [![Gem Version](https://badge.fury.io/rb/dryrun.svg)](http://badge.fury.io/rb/dryrun)
|
3
3
|
|
4
4
|
**Try** an **android** library on your **smartphone** **directly** from the **command line**
|
5
5
|
|
data/dryrun.gemspec
CHANGED
@@ -27,9 +27,6 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.add_development_dependency "rake", "~> 10.0"
|
28
28
|
spec.add_development_dependency 'pry-byebug', '~> 3.1'
|
29
29
|
spec.add_development_dependency "rspec"
|
30
|
-
spec.add_development_dependency "rspec-nc"
|
31
|
-
spec.add_development_dependency "guard"
|
32
|
-
spec.add_development_dependency "guard-rspec"
|
33
30
|
|
34
31
|
spec.add_dependency 'colorize', '~> 0.7'
|
35
32
|
spec.add_dependency 'nokogiri', '~> 1.6.6.2'
|
data/lib/dryrun/github.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
require 'tmpdir'
|
2
2
|
require 'fileutils'
|
3
3
|
require 'uri'
|
4
|
-
require 'pry'
|
5
4
|
|
6
5
|
module DryRun
|
7
6
|
|
@@ -14,7 +13,9 @@ module DryRun
|
|
14
13
|
def get_destination
|
15
14
|
destiny = @base_url.gsub('.git','')
|
16
15
|
destiny = destiny.split('/')
|
17
|
-
|
16
|
+
destiny = destiny.last(2).join('/')
|
17
|
+
destiny = destiny.gsub('git@github.com:','')
|
18
|
+
destiny
|
18
19
|
end
|
19
20
|
|
20
21
|
def is_valid
|
@@ -46,7 +47,7 @@ module DryRun
|
|
46
47
|
def clone
|
47
48
|
clonable = self.clonable_url
|
48
49
|
|
49
|
-
tmpdir = Dir.tmpdir+"dryrun/#{@destination}"
|
50
|
+
tmpdir = Dir.tmpdir+"/dryrun/#{@destination}"
|
50
51
|
FileUtils.rm_rf(tmpdir)
|
51
52
|
|
52
53
|
system("git clone #{clonable} #{tmpdir}")
|
data/lib/dryrun/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dryrun
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cesar ferreira
|
@@ -66,48 +66,6 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rspec-nc
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: guard
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: guard-rspec
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
69
|
- !ruby/object:Gem::Dependency
|
112
70
|
name: colorize
|
113
71
|
requirement: !ruby/object:Gem::Requirement
|