oliver 1.8.9.1 → 1.8.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b4b9c4aba59154ebfddf9b72a0cf2d8698b432f2
4
- data.tar.gz: 19e9010931fe563243f67195fec4c8ab13ecf30a
3
+ metadata.gz: 992c97443690497a230a6b50edffde48519ab0cf
4
+ data.tar.gz: 0023bcfc547d45c8b41c7a9b0bc71596ee4b7dcb
5
5
  SHA512:
6
- metadata.gz: 4c7796952314c9b5a217b9e1b4e01f8268f63b33cc0d2d4d6b690e9b4e6e4f242a353c2486362019dd3c8973bc01c17a6b85e0c90e24312091804446a0ef1b90
7
- data.tar.gz: 1057a104e1589c4c8334d3d70e87da7335e984d56b84c765dee3ae05ba01732d62c4c0d0c57721bf3aed496ef8b2b666c6cbd0bc3bbfcd53603a0c1b7b5fbdba
6
+ metadata.gz: 694e68dad440a5028e4ff679d2f3fd8056835a40c09bbd82f5c88545140acebc888b00ca327ef9c358e0c509bd10a53eb50793cb85ef5d235fc05e877ea8bec0
7
+ data.tar.gz: 965ade8ed15babd4f2fcc989700e6af192220c27c22af04869082173362be6614f338511e232810a42a46704c50ff4c47d8bd0b244477235f5a65599aa98b2ce
data/README.md CHANGED
@@ -105,6 +105,7 @@ To-Do
105
105
  -----
106
106
 
107
107
  - [ ] Remake the help/info thing to be slimmer & look better
108
+ - [ ] Expand support to any Git, not just GitHub (why didn't I do this earlier?)
108
109
  - [ ] Fix bugs with..
109
110
  - [ ] `update` (tons)
110
111
  - [ ] `install` (not as many)
@@ -3,6 +3,3 @@ require 'rainbow'
3
3
 
4
4
  # Arguments
5
5
  require_relative 'oliver/arguments'
6
-
7
- # Just exit at this point
8
- exit
@@ -17,6 +17,9 @@ options = {
17
17
  # Enable/Disable Rainbow
18
18
  Rainbow.enabled = options[:colour]
19
19
 
20
+ # Check .settings.yml
21
+ require_relative 'settings'
22
+
20
23
  # Help if user doesn't specify proper arguments
21
24
  if ARGV.empty? || ARGV[0] == 'colour=on'
22
25
  help
@@ -0,0 +1,13 @@
1
+ # Load .settings.yml to get user settings set to default
2
+ # For example, if the user specifies colour=on, do that by default
3
+ # Make this short and concise if possible
4
+
5
+ require 'yaml'
6
+ module SettingsManager
7
+ settingsName = '.settings.yml'
8
+ if File.file? settingsName
9
+ body = File.read(settingsName)
10
+ YAML = YAML.load(body)
11
+ Rainbow.enabled = true if SettingsManager::YAML["colour"] == 'on'
12
+ end
13
+ end
@@ -1,5 +1,5 @@
1
1
  # The main module for
2
2
  # Oliver's version
3
3
  module Oliver
4
- VERSION = '1.8.9.1'
4
+ VERSION = '1.8.9.5'
5
5
  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.8.9.1
4
+ version: 1.8.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-28 00:00:00.000000000 Z
11
+ date: 2014-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -107,6 +107,7 @@ files:
107
107
  - lib/oliver/arguments.rb
108
108
  - lib/oliver/file_manager.rb
109
109
  - lib/oliver/oliver_file_name.rb
110
+ - lib/oliver/settings.rb
110
111
  - lib/oliver/version.rb
111
112
  - oliver.gemspec
112
113
  homepage: https://github.com/trommel/oliver
@@ -128,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
129
  version: '0'
129
130
  requirements: []
130
131
  rubyforge_project:
131
- rubygems_version: 2.4.4
132
+ rubygems_version: 2.4.3
132
133
  signing_key:
133
134
  specification_version: 4
134
135
  summary: Manage your Git(Hub) repos / projects easier.