oliver 1.6.2.1 → 1.6.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: 7c58f06570895eeb017670d439f69dd0a5925739
4
- data.tar.gz: cb13204038981eaaeb21079a275ee45c38890ad7
3
+ metadata.gz: a018083f29a78e5e8b047eecc3a7fc160c2f5298
4
+ data.tar.gz: fea413d6340a753dca2932ba446c0859b5e75385
5
5
  SHA512:
6
- metadata.gz: 78b17d5a2a5f810db1c37d53063b255696eb561e8cc866dcb659ea7e5332184aa1b3e5c5bd163260d1cc583b8236e7eba9234e2657ae2a771a2d9bf3210eab00
7
- data.tar.gz: 60bc1db54ee11dbbeca4280a1df1a90468fe7375fa802787e5ff683eab1c0f99245c474fd83ebec586d3b891ea04d7946f38c6436a4699af80ffd29c536cecfa
6
+ metadata.gz: 0e3ffb1f48aa28454e092c229f160759b3260299c6533cf7aa0c2e11da61bda17eda7efd980244d7d0698831d4c42c6e8a16006a46b31807c0edee7a367ccdeb
7
+ data.tar.gz: b27bf4287ffd2436a09de7bba1186f699c14c6a16af1d4a47ae620af58316711a40a555ca703820e155780191272a6007b3d001d746804c55fcb604f323ba80b
data/README.md CHANGED
@@ -4,7 +4,7 @@ oliver
4
4
  [![Gem Version](https://badge.fury.io/rb/oliver.svg)](http://badge.fury.io/rb/oliver)
5
5
 
6
6
  oliver manages your local GitHub
7
- repositories for you with a simple `Olivefile`.
7
+ repositories for you with a simple `.Olivefile.yml`.
8
8
 
9
9
  > "like podfiles, but for git repositories"
10
10
  -- [@istx25](https://github.com/istx25)
@@ -105,18 +105,20 @@ docs
105
105
 
106
106
  ### setup the repo
107
107
 
108
- create the base `Olivefile`
108
+ create the base `.Olivefile.yml`
109
109
 
110
110
  ```bash
111
111
  $ olive init
112
112
  ```
113
113
 
114
- (and in the `Olivefile`)
114
+ (and in the `.Olivefile.yml`)
115
115
 
116
116
  ```yaml
117
+ ---
117
118
  repos:
118
119
  - "trommel/oliver"
119
120
  - "istx25/dotfiles" # add any repo(s)
121
+ ---
120
122
 
121
123
  # use 3 spaces for indentation, not tabs!
122
124
  # I spent, like, an hour trying to fix a non-existent bug because of this
@@ -14,8 +14,8 @@ def init
14
14
 
15
15
  if !File.file?(Name::OLIVER)
16
16
  File.open(Name::OLIVER, 'w') do |file|
17
- file.write("repos:\n")
18
- file.write(" - \"trommel/oliver\"\n")
17
+ file.write("---\nrepos:\n")
18
+ file.write(" - \"trommel/oliver\"\n---\n")
19
19
  puts "#{Rainbow(dir_name).green}/#{Rainbow(Name::OLIVER).green} has been created."
20
20
  end
21
21
  else
@@ -2,7 +2,7 @@ def file_manager
2
2
  unless ARGV.nil?
3
3
  if File.file? Name::OLIVER
4
4
  body = File.read(Name::OLIVER.chomp)
5
- $final = YAML.load("---\n#{body}\n---")
5
+ $final = YAML.load(body)
6
6
  else
7
7
  puts "#{Rainbow(Name::OLIVER).red} does not exist."
8
8
  end
@@ -1,5 +1,5 @@
1
1
  # The main module for whatever [you]
2
2
  # want the main (YAML) file to be called
3
3
  module Name
4
- OLIVER = 'Olivefile'
4
+ OLIVER = '.Olivefile.yml'
5
5
  end
@@ -1,5 +1,5 @@
1
1
  # The main module for
2
2
  # Oliver's version
3
3
  module Oliver
4
- VERSION = '1.6.2.1'
4
+ VERSION = '1.6.3'
5
5
  end
data/lib/oliver.rb CHANGED
@@ -2,7 +2,7 @@
2
2
  # twss
3
3
  require 'rainbow'
4
4
  require 'YAML'
5
- %w(oliver_file_name file_manager arguments version main).each do |file|
5
+ %w(oliver_file_name file_manager arguments version).each do |file|
6
6
  require_relative "oliver/#{file}"
7
7
  end
8
8
 
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.6.2.1
4
+ version: 1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-05 00:00:00.000000000 Z
11
+ date: 2014-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -80,7 +80,6 @@ files:
80
80
  - lib/oliver/argument_files/update.rb
81
81
  - lib/oliver/arguments.rb
82
82
  - lib/oliver/file_manager.rb
83
- - lib/oliver/main.rb
84
83
  - lib/oliver/oliver_file_name.rb
85
84
  - lib/oliver/version.rb
86
85
  - oliver.gemspec
data/lib/oliver/main.rb DELETED
@@ -1,3 +0,0 @@
1
- # Main oliver file
2
- def run_main
3
- end