oliver 1.2.0 → 1.3

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: 731fab5602bc228ad13cfd9729ff194b1f4c760d
4
- data.tar.gz: bd22d9aeea4d7324c0315353e6a550be2673a2a7
3
+ metadata.gz: d623d8bf391421e83ae1ac8ad15828899b49eb0e
4
+ data.tar.gz: af66dd5ba8c910faf9a9334efdaf5493c19ee350
5
5
  SHA512:
6
- metadata.gz: 5a884915562c04cf1507e9d4ba4ced0b2f7052ca4998b02ac1ce55c169857da02fcddc5473ca85be78189f3b96899207ed362412c85b38c7d81792d0418083f3
7
- data.tar.gz: e0cd80e2966403acfb3f64dc882fcf3901d4f179d1a27e858a2d63bfe9b53055d4030190443df286f7810f6008573a179b1bf9d718b718c9b2f6eaee9d561b9a
6
+ metadata.gz: bf5c959d1618b944a565921461e098d8eb1c43865601e33ec5fe5f02431b33f93faf96d982253c6c88aeda5742523589ff6d0fae18295c53fc06f8c36ada29b0
7
+ data.tar.gz: 6f58f02f00589db8a6f105eb5d3194915c46548a4e202644ffa59debdc0cfce5e5c63627019f63be1474b07ef455cda7307daca52eda3dd5952b0e123753d98d
data/README.md CHANGED
@@ -130,7 +130,7 @@ and in the `Olivefile`
130
130
  repos:
131
131
  - "trommel/oliver"
132
132
  - "istx25/dotfiles"
133
-
133
+
134
134
  # use 3 spaces for indentation, not tabs!
135
135
  # I spent, like, an hour trying to fix a nonexistant bug becuase of this
136
136
  # smh so hard
@@ -186,6 +186,22 @@ append `colour=off` to any statement
186
186
 
187
187
  don't forget to spell *"colour"* **the proper way**.
188
188
 
189
+ branches
190
+ ========
191
+
192
+ I kept fixing bugs and then I would frantically
193
+ push the fixes because I was worried people, if anyone actually
194
+ uses oliver, would experience problems with it if I didn't push
195
+ the fix immediately. the problem, obviously, with this
196
+ is that I didn't catch other things I needed to fix, and now I have,
197
+ like, a billion commits, even though most of them are just me changing
198
+ the version variable.
199
+
200
+ anyways, there's an [unstable](https://github.com/trommel/oliver/tree/unstable)
201
+ branch, if you want to check it out.
202
+ the official gem that's hosted on rubygems, though, is
203
+ the gem of the master branch, and that's how it's going to stay.
204
+
189
205
  testing
190
206
  =======
191
207
 
@@ -2,7 +2,16 @@
2
2
  def different_arguments
3
3
  if ! ARGV[0].nil?
4
4
  if ARGV[0].downcase == 'init'
5
- puts "I'll implement this later"
5
+
6
+ if ! File.file?(Name::OLIVER)
7
+ File.open(Name::OLIVER, 'w') do |file|
8
+ file.write("repos:\n")
9
+ file.write(" - \"trommel/oliver\"\n")
10
+ end
11
+ else
12
+ puts "#{Rainbow(Name::OLIVER).red} already exists."
13
+ end
14
+
6
15
  Jib.exit
7
16
  end
8
17
  end
@@ -1,3 +1,3 @@
1
1
  module Oliver
2
- VERSION = "1.2.0"
2
+ VERSION = "1.3"
3
3
  end
data/lib/oliver.rb CHANGED
@@ -3,10 +3,10 @@
3
3
  require 'jibry'
4
4
  require 'rainbow'
5
5
  require 'YAML'
6
+ require_relative "oliver/oliver_file_name"
6
7
  require_relative "oliver/arguments"
7
8
  require_relative "oliver/version"
8
9
  require_relative "oliver/methods"
9
- require_relative "oliver/oliver_file_name"
10
10
  require_relative "oliver/main"
11
11
 
12
12
  # if the user doesn't want to use rainbow
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oliver
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: '1.3'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh