gitenv 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ffb4ea926396af97597fa7f0e6ea09087b3bfc41
4
+ data.tar.gz: 274f1ee44491aba02c54489064a48cd625afdf14
5
+ SHA512:
6
+ metadata.gz: 5311998ee8af20192519240910810029922e05462f768db0789307e24f7e782d78babfcdd067da0933a557fed9818637f44a4e682d8eb8c2af4ca00ebc3137e8
7
+ data.tar.gz: 3c2cd2803a321b384ecff57dcba7d41807d511a03c5aef95513fa5d9cb203be5237ba7408f00ee8a67f9eb32987c1551234cf109f3af57dedd2bef7b6a22330b
data/Gemfile CHANGED
@@ -3,19 +3,17 @@ source "http://rubygems.org"
3
3
  # Example:
4
4
  # gem "activesupport", ">= 2.3.5"
5
5
 
6
- gem 'paint', '~> 0.8.5'
7
- gem 'commander', '~> 4.1.2'
6
+ gem 'paint', '~> 0.9.0'
7
+ gem 'commander', '~> 4.2'
8
8
 
9
9
  # Add dependencies to develop your gem here.
10
10
  # Include everything needed to run rake, tests, features, etc.
11
11
  group :development do
12
- gem 'bundler'
13
- gem 'rake'
14
- gem 'rspec'
15
- gem 'fakefs', '~> 0.4.2', :require => 'fakefs/safe'
16
- gem 'jeweler'
17
- gem 'gemcutter'
18
- gem 'gem-release'
19
- gem 'rake-version'
20
- gem 'simplecov'
12
+ gem 'rake', '~> 10.4'
13
+ gem 'rspec', '~> 3.1'
14
+ gem 'rspec-its', '~> 1.1'
15
+ gem 'fakefs', '~> 0.6.3', :require => 'fakefs/safe'
16
+ gem 'jeweler', '~> 2.0'
17
+ gem 'rake-version', '~> 0.4.1'
18
+ gem 'simplecov', '~> 0.9.1'
21
19
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
@@ -2,7 +2,7 @@
2
2
  require 'paint'
3
3
 
4
4
  module Gitenv
5
- VERSION = '0.1.0'
5
+ VERSION = '0.2.0'
6
6
  end
7
7
 
8
8
  Dir[File.join File.dirname(__FILE__), File.basename(__FILE__, '.*'), '*.rb'].each{ |lib| require lib }
@@ -20,6 +20,9 @@ module Gitenv
20
20
  create_config_file!
21
21
  end
22
22
 
23
+ repo = repository
24
+ @config.from repo if repo && !repo.empty?
25
+
23
26
  load_config_file!
24
27
 
25
28
  #@config.from repository
@@ -85,7 +88,7 @@ module Gitenv
85
88
  end
86
89
 
87
90
  def repository
88
- @options.repo || @config.from || ENV['GITENV_REPO']
91
+ @options.repo || ENV['GITENV_REPO']
89
92
  end
90
93
 
91
94
  def config_file
metadata CHANGED
@@ -1,194 +1,143 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitenv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
5
- prerelease:
4
+ version: 0.2.0
6
5
  platform: ruby
7
6
  authors:
8
- - AlphaHydrae
7
+ - Simon Oulevay (Alpha Hydrae)
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-05-13 00:00:00.000000000 Z
11
+ date: 2015-01-14 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: paint
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
- version: 0.8.5
19
+ version: 0.9.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: 0.8.5
26
+ version: 0.9.0
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: commander
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
- version: 4.1.2
33
+ version: '4.2'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
- version: 4.1.2
46
- - !ruby/object:Gem::Dependency
47
- name: bundler
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
40
+ version: '4.2'
62
41
  - !ruby/object:Gem::Dependency
63
42
  name: rake
64
43
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
44
  requirements:
67
- - - ! '>='
45
+ - - "~>"
68
46
  - !ruby/object:Gem::Version
69
- version: '0'
47
+ version: '10.4'
70
48
  type: :development
71
49
  prerelease: false
72
50
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
51
  requirements:
75
- - - ! '>='
52
+ - - "~>"
76
53
  - !ruby/object:Gem::Version
77
- version: '0'
54
+ version: '10.4'
78
55
  - !ruby/object:Gem::Dependency
79
56
  name: rspec
80
57
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ! '>='
84
- - !ruby/object:Gem::Version
85
- version: '0'
86
- type: :development
87
- prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0'
94
- - !ruby/object:Gem::Dependency
95
- name: fakefs
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
58
  requirements:
99
- - - ~>
59
+ - - "~>"
100
60
  - !ruby/object:Gem::Version
101
- version: 0.4.2
61
+ version: '3.1'
102
62
  type: :development
103
63
  prerelease: false
104
64
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
65
  requirements:
107
- - - ~>
66
+ - - "~>"
108
67
  - !ruby/object:Gem::Version
109
- version: 0.4.2
68
+ version: '3.1'
110
69
  - !ruby/object:Gem::Dependency
111
- name: jeweler
70
+ name: rspec-its
112
71
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
72
  requirements:
115
- - - ! '>='
73
+ - - "~>"
116
74
  - !ruby/object:Gem::Version
117
- version: '0'
75
+ version: '1.1'
118
76
  type: :development
119
77
  prerelease: false
120
78
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
79
  requirements:
123
- - - ! '>='
80
+ - - "~>"
124
81
  - !ruby/object:Gem::Version
125
- version: '0'
82
+ version: '1.1'
126
83
  - !ruby/object:Gem::Dependency
127
- name: gemcutter
84
+ name: fakefs
128
85
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
86
  requirements:
131
- - - ! '>='
87
+ - - "~>"
132
88
  - !ruby/object:Gem::Version
133
- version: '0'
89
+ version: 0.6.3
134
90
  type: :development
135
91
  prerelease: false
136
92
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
93
  requirements:
139
- - - ! '>='
94
+ - - "~>"
140
95
  - !ruby/object:Gem::Version
141
- version: '0'
96
+ version: 0.6.3
142
97
  - !ruby/object:Gem::Dependency
143
- name: gem-release
98
+ name: jeweler
144
99
  requirement: !ruby/object:Gem::Requirement
145
- none: false
146
100
  requirements:
147
- - - ! '>='
101
+ - - "~>"
148
102
  - !ruby/object:Gem::Version
149
- version: '0'
103
+ version: '2.0'
150
104
  type: :development
151
105
  prerelease: false
152
106
  version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
107
  requirements:
155
- - - ! '>='
108
+ - - "~>"
156
109
  - !ruby/object:Gem::Version
157
- version: '0'
110
+ version: '2.0'
158
111
  - !ruby/object:Gem::Dependency
159
112
  name: rake-version
160
113
  requirement: !ruby/object:Gem::Requirement
161
- none: false
162
114
  requirements:
163
- - - ! '>='
115
+ - - "~>"
164
116
  - !ruby/object:Gem::Version
165
- version: '0'
117
+ version: 0.4.1
166
118
  type: :development
167
119
  prerelease: false
168
120
  version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
121
  requirements:
171
- - - ! '>='
122
+ - - "~>"
172
123
  - !ruby/object:Gem::Version
173
- version: '0'
124
+ version: 0.4.1
174
125
  - !ruby/object:Gem::Dependency
175
126
  name: simplecov
176
127
  requirement: !ruby/object:Gem::Requirement
177
- none: false
178
128
  requirements:
179
- - - ! '>='
129
+ - - "~>"
180
130
  - !ruby/object:Gem::Version
181
- version: '0'
131
+ version: 0.9.1
182
132
  type: :development
183
133
  prerelease: false
184
134
  version_requirements: !ruby/object:Gem::Requirement
185
- none: false
186
135
  requirements:
187
- - - ! '>='
136
+ - - "~>"
188
137
  - !ruby/object:Gem::Version
189
- version: '0'
138
+ version: 0.9.1
190
139
  description: Gitenv sets up symlinks to your configuration files in a git repository.
191
- email: hydrae.alpha@gmail.com
140
+ email: git@alphahydrae.com
192
141
  executables:
193
142
  - gitenv
194
143
  extensions: []
@@ -220,27 +169,25 @@ files:
220
169
  homepage: http://github.com/AlphaHydrae/gitenv
221
170
  licenses:
222
171
  - MIT
172
+ metadata: {}
223
173
  post_install_message:
224
174
  rdoc_options: []
225
175
  require_paths:
226
176
  - lib
227
177
  required_ruby_version: !ruby/object:Gem::Requirement
228
- none: false
229
178
  requirements:
230
- - - ! '>='
179
+ - - ">="
231
180
  - !ruby/object:Gem::Version
232
181
  version: '0'
233
182
  required_rubygems_version: !ruby/object:Gem::Requirement
234
- none: false
235
183
  requirements:
236
- - - ! '>='
184
+ - - ">="
237
185
  - !ruby/object:Gem::Version
238
186
  version: '0'
239
187
  requirements: []
240
188
  rubyforge_project:
241
- rubygems_version: 1.8.25
189
+ rubygems_version: 2.4.5
242
190
  signing_key:
243
- specification_version: 3
191
+ specification_version: 4
244
192
  summary: Symlink manager for git repositories with configuration files.
245
193
  test_files: []
246
- has_rdoc: