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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 08160975a123a709507d71e2d9e158fb850170c1
4
- data.tar.gz: 5a15fbbfb0198799ceec7805b904d5f151225f7c
3
+ metadata.gz: 0d436fc216884dfd1358e115be284e585770a309
4
+ data.tar.gz: a7b7a6bb23dd0dac3564b90e86141ff0f3875414
5
5
  SHA512:
6
- metadata.gz: 2819ea30a567820ce8dd12ca5f7e589cdaecf4dc8bdcef2e9a4e2d9a5ec24a1fc32704f9c84b80d46efcb1f9ad8c6098555013622832822943f4ed01274cb8a9
7
- data.tar.gz: 18572c01b654d3148f51e0f527a43da97e18dc9bdc49357bc0ce464e3a31b80254bf76b5763cfd2ecbc6bcc62a5df1d813ffdebb24dbec1ca4963f6cfac232f8
6
+ metadata.gz: ecc7fbb77bd717028d5f9b2047f6782e8b47867a8c11c95a1e80add02075204f3fb0af188ec02e32ef0ba34503713edba88fb89b31bfd274dfd8336d3d3c166d
7
+ data.tar.gz: 7ae9dc4cbb21ce13b66462a6f0132373ed0f6a7f38a5f4ff44d787db4c01f6699cc4987114f1f5673bc9ccb23bfce94335156c5590528ab80724a8ace05b4546
@@ -1,4 +1,4 @@
1
1
  language: ruby
2
+ sudo: false
2
3
  rvm:
3
- - 1.9.3
4
4
  - 2.2.1
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # dryrun
2
- ![Header](https://travis-ci.org/cesarferreira/dryrun.svg?branch=master) [![Gem Version](https://badge.fury.io/rb/dryrun.svg)](http://badge.fury.io/rb/dryrun)
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
 
@@ -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'
@@ -74,7 +74,7 @@ module DryRun
74
74
  end
75
75
 
76
76
  def uninstall
77
- system("#{self.get_uninstall_command} > /dev/null 2>&1")
77
+ system("#{self.get_uninstall_command}") # > /dev/null 2>&1")
78
78
  end
79
79
 
80
80
 
@@ -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
- "#{destiny.last(2).join('/')}"
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}")
@@ -1,3 +1,3 @@
1
1
  module DryRun
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
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.1
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