git-projects 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: b91241f7afe7ed1e55458dc31c7299a695e08de7
4
- data.tar.gz: 4a1524ca123240e4558490fcd2e9a0a00fae80d5
3
+ metadata.gz: 304fedb305b4bda700667c68c0937a9110ad9627
4
+ data.tar.gz: becfaa8132463c4112bbd7602099961685c119ad
5
5
  SHA512:
6
- metadata.gz: 5903b3267b505023c6d3c7450a615ceff6b985a9041a6a5b539178ca48f6e6876d90a566fa1194d98e98073ed0a731c71681baa03aecb05bd6519d12fb0d02f6
7
- data.tar.gz: e8a8d9e907fa88d87d71efedb7244feb18b986f7479d0d97c35558581c6ec6a1682418c741bf9268b31e5166a32932e055502638fb408bab99c1e060881f1ae9
6
+ metadata.gz: ac1187a890e4eb623bf64cf48d4b6cf64e8dfe930de0f8836457b31e822bd1e6c1d1cc41c2feb790616be63e25e0639860e1ef05fd6f12e1b7c7879e2995e639
7
+ data.tar.gz: 9e2af67d4c10730b5e055d6e464e2f1df68460f47adc7fc819b3e6f18163555dd8a869b80f9d9d767b0db329ab94d092fd80a08d19be73f37434c587f7b5fcb8
@@ -1,3 +1,3 @@
1
1
  module GitProjects
2
- VERSION = '0.0.8'
2
+ VERSION = '0.0.9'
3
3
  end
@@ -34,12 +34,14 @@ module GitProjectRemote
34
34
  def add_new_remote(g, name, remote)
35
35
  g.add_remote(name, remote)
36
36
  g.add_remote('all', remote) unless remote_exists?(g, name)
37
+ `git remote set-url --add all #{remote}`
37
38
  puts "Added remote #{name}".green
38
39
  end
39
40
 
40
41
  # Add remote
41
42
  def add_remote(g, v)
42
43
  g.add_remote('origin', v['origin']) unless remote_exists?(g, 'origin')
44
+ g.add_remote('all', v['origin']) unless remote_exists?(g, 'all')
43
45
  v.each do |name, remote|
44
46
  next if %w(root_dir all group).include?(name) ||
45
47
  g.remotes.map(&:name).include?(name)
@@ -14,7 +14,7 @@ class Project
14
14
  end
15
15
 
16
16
  def first
17
- all.first
17
+ all.sort.first
18
18
  end
19
19
 
20
20
  def create_root_path(path)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-projects
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
  - Katherine Pe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-10 00:00:00.000000000 Z
11
+ date: 2014-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -30,16 +30,30 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 1.2.7
33
+ version: 1.2.8
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 1.2.7
40
+ version: 1.2.8
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: aruba
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 0.6.0
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 0.6.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: cucumber
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
59
  - - ">="
@@ -53,21 +67,35 @@ dependencies:
53
67
  - !ruby/object:Gem::Version
54
68
  version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
- name: minitest
70
+ name: rake
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
- - - '='
73
+ - - ">="
60
74
  - !ruby/object:Gem::Version
61
- version: 5.4.0
75
+ version: '0'
62
76
  type: :development
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
- - - '='
80
+ - - ">="
67
81
  - !ruby/object:Gem::Version
68
- version: 5.4.0
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
- name: rake
84
+ name: rspec
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: rspec-core
71
99
  requirement: !ruby/object:Gem::Requirement
72
100
  requirements:
73
101
  - - ">="
@@ -86,14 +114,14 @@ dependencies:
86
114
  requirements:
87
115
  - - '='
88
116
  - !ruby/object:Gem::Version
89
- version: 2.9.0
117
+ version: 2.12.0
90
118
  type: :runtime
91
119
  prerelease: false
92
120
  version_requirements: !ruby/object:Gem::Requirement
93
121
  requirements:
94
122
  - - '='
95
123
  - !ruby/object:Gem::Version
96
- version: 2.9.0
124
+ version: 2.12.0
97
125
  description:
98
126
  email: k@kat.pe
99
127
  executables: