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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 95fefefb6c1c40c63bd38277b125c1a86406174a
4
- data.tar.gz: fc71111909d370153ba3314217a1486cf2e21fae
3
+ metadata.gz: df9f0976239ec1ff2c4f76e569e19c8ebde42ffb
4
+ data.tar.gz: c900ca19cf75067f706f6cb8036dd4b68bd1f4d1
5
5
  SHA512:
6
- metadata.gz: d374bf19645cad67692248a2334f3f7d47c03e0ce1fc40e9ab0d4834a894173b583075b19c26fd39e625784acdf57ccfc85484348a142ba6d91b9a95977dc3e2
7
- data.tar.gz: 78795f4b77b491f720cfa2eee1187cdef664ed7fadfb2d75e0e57d890da73c3a37acc31f92c6e2dbe59c21329764f72b360af310db7919bc34f2f26cc91fb374
6
+ metadata.gz: 38338542dfd66c22e366182abb78d1a2464f4683c42cefc441d65632192fb2702d135a381aa1798b0f8aa54f2290a32eda8718a3e7a0daaf5e8076ee0da74dd0
7
+ data.tar.gz: 14eb203d9d061f27db513902e6d32d32ff16bc0e46ad04a2a8a24401e1220b91a926d026edc98c74da853c8ea1e10697bedd4d73cff0a8ae89e5c684e1b934b5
@@ -1,3 +1,3 @@
1
1
  module GitProjects
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
@@ -53,7 +53,7 @@ module GitProjectConfig
53
53
  end
54
54
  end
55
55
 
56
- # Create has for the project
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.is_a?(Array) ? dir.first : 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.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-08-30 00:00:00.000000000 Z
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.8
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.8
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.0
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.0
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.12.0
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.12.0
124
+ version: '2.0'
125
125
  description:
126
- email: k@kat.pe
126
+ email: kp@kat.pe
127
127
  executables:
128
128
  - git-projects
129
129
  extensions: []