git-projects 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/git-projects/version.rb +1 -1
- data/lib/helpers/git_project_config.rb +2 -2
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df9f0976239ec1ff2c4f76e569e19c8ebde42ffb
|
4
|
+
data.tar.gz: c900ca19cf75067f706f6cb8036dd4b68bd1f4d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38338542dfd66c22e366182abb78d1a2464f4683c42cefc441d65632192fb2702d135a381aa1798b0f8aa54f2290a32eda8718a3e7a0daaf5e8076ee0da74dd0
|
7
|
+
data.tar.gz: 14eb203d9d061f27db513902e6d32d32ff16bc0e46ad04a2a8a24401e1220b91a926d026edc98c74da853c8ea1e10697bedd4d73cff0a8ae89e5c684e1b934b5
|
data/lib/git-projects/version.rb
CHANGED
@@ -53,7 +53,7 @@ module GitProjectConfig
|
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
|
-
# Create
|
56
|
+
# Create hash for the project
|
57
57
|
def project_info_hash(dir, project, group)
|
58
58
|
g = Git.open(File.join(dir, project))
|
59
59
|
p = {}
|
@@ -72,7 +72,7 @@ module GitProjectConfig
|
|
72
72
|
|
73
73
|
# Create a configuration file based on a root path
|
74
74
|
def create_config(dir, group = nil)
|
75
|
-
dir = dir.
|
75
|
+
dir = dir.respond_to?(:first) ? dir.first : dir
|
76
76
|
config_file = File.join(dir, 'git-projects.yml')
|
77
77
|
group ||= dir.split(File::SEPARATOR).last if dir
|
78
78
|
fail "The config file, #{config_file} exists" if File.exist?(config_file)
|
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: 1.0.
|
4
|
+
version: 1.0.1
|
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-
|
11
|
+
date: 2014-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|
@@ -28,30 +28,30 @@ dependencies:
|
|
28
28
|
name: git
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.2
|
33
|
+
version: '1.2'
|
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
|
40
|
+
version: '1.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: aruba
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.6
|
47
|
+
version: '0.6'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.6
|
54
|
+
version: '0.6'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: cucumber
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,18 +112,18 @@ dependencies:
|
|
112
112
|
name: gli
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 2.
|
117
|
+
version: '2.0'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 2.
|
124
|
+
version: '2.0'
|
125
125
|
description:
|
126
|
-
email:
|
126
|
+
email: kp@kat.pe
|
127
127
|
executables:
|
128
128
|
- git-projects
|
129
129
|
extensions: []
|