oliver 1.5.3.7 → 1.5.3.8

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: a9be1dbf15378fd19d0861add1d0dacde3523bc6
4
- data.tar.gz: 48e94fb476eac1b0f909175ce49afeac38f90d8c
3
+ metadata.gz: 343cc6a19fb36d97ebbde1360658d20d34703277
4
+ data.tar.gz: 5fdbdfd77b6e1966333e268c5941f25e1e5d2c1e
5
5
  SHA512:
6
- metadata.gz: d1d940b0b805bf58415246bd2db75175f68fbcf3fb2135610abd72905bb86deac6d19c513ebcacf7a7ea1e83d9f864569ba3e7f381ce1aa91a10b5b31cf2747f
7
- data.tar.gz: 047fee010f27c6e0aa2cd406885356595d683556f04132fc10b2fc714ee9e751e0b34a2a2aad145dc2218efacf36f43a4b2a3df15506d2b6541e17fdeec65b84
6
+ metadata.gz: 10f2869788b0b7e1e3cf61cc6575a76ce5fad6ae1a63c34afda474edfc1c6bd35e114ab1b584a7fbb1ffb39f97c5141fdaa0b02d19564550dcfa663fdb24b4dc
7
+ data.tar.gz: b5a2a10e46508b1c76d2504ff3a2d1cb84e009fd7b98106f63cea4aacaa083d621e797474b5efea6be9c628e33d393a2e9cf2ac9cc1960b20023475afd1a239f
data/Gemfile.lock CHANGED
@@ -1,14 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- oliver (1.5.2.1)
5
- jibry (>= 0.0.3)
4
+ oliver (1.5.3.7)
6
5
  rainbow (>= 2.0.0)
7
6
 
8
7
  GEM
9
8
  remote: https://rubygems.org/
10
9
  specs:
11
- jibry (0.0.3)
12
10
  rainbow (2.0.0)
13
11
  rake (10.3.2)
14
12
 
data/README.md CHANGED
@@ -165,7 +165,7 @@ $ oliver update
165
165
  ```
166
166
 
167
167
  extras
168
- ======
168
+ ------
169
169
 
170
170
  oliver uses [rainbow](https://github.com/sickill/rainbow),
171
171
  a sick gem / library for making Terminal all colourful and stuff.
@@ -204,13 +204,13 @@ the gem of the master branch, and that's how it's going to stay.
204
204
  -->
205
205
 
206
206
  ideas
207
- =====
207
+ -----
208
208
 
209
209
  refer to
210
210
  [IDEAS.md](https://github.com/trommel/oliver/blob/master/spec/IDEAS.md).
211
211
 
212
212
  versions
213
- ========
213
+ --------
214
214
 
215
215
  for some reason, I was using things like "1.5" as oliver's
216
216
  version for a bit, even though oliver isn't even finished (to
@@ -223,21 +223,29 @@ is 0.1.5, and it will continue to build off from there.
223
223
 
224
224
  sorry about doing that silly thing.
225
225
 
226
+ known bugs
227
+ ----------
228
+
229
+ - for some reason, cloning private
230
+ repos isn't working right now.
231
+ I don't know why. Oliver uses standard
232
+ git, so this shouldn't be an issue.
233
+
226
234
  testing
227
- =======
235
+ -------
228
236
 
229
237
  refer to
230
238
  [TESTING.md](https://github.com/trommel/oliver/blob/master/spec/TESTING.md).
231
239
 
232
240
  contribution
233
- ============
241
+ ------------
234
242
 
235
243
  refer to
236
244
  [CONTRIBUTING.md](https://github.com/trommel/oliver/blob/master/spec/CONTRIBUTING.md).
237
245
 
238
246
 
239
247
  l3g4l 0bl1g4t10n$
240
- =================
248
+ ------------------
241
249
 
242
250
  is there even a clear idea to steal?
243
251
 
@@ -1,9 +1,16 @@
1
+ def argument?(i)
2
+ if ARGV[i].nil?
3
+ help
4
+ exit
5
+ end
6
+ end
7
+
1
8
  # Different arguments
2
9
  # (Make this into a case statement asap)
3
10
  # (It'll be way easier and cleaner to work with later)
4
11
  def different_arguments
5
- if ARGV[0].downcase == 'init'
6
-
12
+ case ARGV[0].downcase
13
+ when 'init'
7
14
  if !File.file?(Name::OLIVER)
8
15
  File.open(Name::OLIVER, 'w') do |file|
9
16
  file.write("repos:\n")
@@ -14,5 +21,16 @@ def different_arguments
14
21
  puts "#{Rainbow(Name::OLIVER).red} already exists."
15
22
  end
16
23
  exit
24
+ when 'list'
25
+ puts "list repos currently in the Olivefile"
26
+ when 'update'
27
+ puts "pull updates from each tracked repo on the Olivefile"
28
+ when 'add'
29
+ argument?(1)
30
+ puts "added #{ARGV[1]} to Olivefile"
31
+ when 'remove'
32
+ argument?(1)
33
+ puts "removed #{ARGV[1]} from Olivefile"
17
34
  end
35
+ exit
18
36
  end
@@ -1,3 +1,3 @@
1
1
  module Oliver
2
- VERSION = "1.5.3.7"
2
+ VERSION = "1.5.3.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oliver
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.3.7
4
+ version: 1.5.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-20 00:00:00.000000000 Z
11
+ date: 2014-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler