oliver 2.1 → 2.1.1

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: 1d4e2a38b5314134cc132c1cd65e6b94ed7a2bc2
4
- data.tar.gz: fa2d65fcc431a5bf88c805c4646fe73a76cb45b0
3
+ metadata.gz: fc3f79459c955a1cb49f0e8d9d2ffd797f47e5cf
4
+ data.tar.gz: 65ac07d6ce20ea0e11e53f9044ad1970039971a1
5
5
  SHA512:
6
- metadata.gz: 1b5c3963c81d701154eae7bd196873b1b3137471796ac20c2cc296e75bb00491eb98b8744d131c9a8cae1a46a402849788f359b7b9ca45ae5e9f28cbcda2d3de
7
- data.tar.gz: 2dead40f0c7f91725b11a08ae0518ce74e28576ba28e1794d5fa40ef57b329b2f04a66bae8e97a97fc9e9722dc8fe5b889f5b5edf202a4a94e2f5536b398d460
6
+ metadata.gz: 1ba259c211f984a5af80e40643395f7d4069199422519e2a98f6fa0e014106b82ceca446fd2e049715a692b8ac18e0a8eacf561d77c76517f502ee7f88a20633
7
+ data.tar.gz: 198ab0c9d27ce70c6e86348584f430f1b1fb4f41fadf98913fa3511e6ab07798efe6006ab79426c18890148996866dfa3524341b57203901852461c7a9963ebe
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2014 Josh Trommel
3
+ Copyright (c) 2015 Josh Trommel
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,7 +1,10 @@
1
1
  oliver
2
2
  ======
3
3
 
4
- [![Gem Version](https://badge.fury.io/rb/oliver.svg)](http://badge.fury.io/rb/oliver)
4
+ [![Dependency Status](http://img.shields.io/gemnasium/trommel/oliver.svg)](https://gemnasium.com/trommel/oliver)
5
+ [![Gem Version](http://img.shields.io/gem/v/oliver.svg)](https://rubygems.org/gems/oliver)
6
+ [![License](http://img.shields.io/:license-mit-blue.svg)](http://trommel.mit-license.org)
7
+
5
8
 
6
9
  oliver manages your local GitHub projects in one simple file. It's like
7
10
  [CocoaPod's](http://cocoapods.org/) "podfiles", but for your Git repos.
@@ -49,11 +52,25 @@ and then add whatever you'd like to the file (write in JSON)
49
52
 
50
53
  ### Initializing the root
51
54
 
55
+ Creates the base `.oliver` file
56
+
52
57
  ```bash
53
58
  $ olive init
54
59
  ```
55
60
 
56
- ### Clones/Remove repos based on `.olive`
61
+ ```bash
62
+ $ cat .oliver
63
+ ```
64
+
65
+ ```json
66
+ {
67
+ "trommel": [
68
+ "oliver"
69
+ ]
70
+ }
71
+ ```
72
+
73
+ ### Clone/Remove repos based on `.olive`
57
74
 
58
75
  Clones repos listedy and
59
76
  removes ones saved locally that aren't found
@@ -76,7 +93,7 @@ The + (plus sign) next to the repo shows that it'll be cloned on the next
76
93
  `olive install`. The # (pound sign) next to the repo
77
94
  means it'll remain unaffected.
78
95
 
79
- ### Update (`git pull`) each repo
96
+ ### Update repos
80
97
 
81
98
  Essentially run `git pull` in each
82
99
  individual repo
@@ -88,11 +105,11 @@ $ olive update
88
105
  To-Do
89
106
  -----
90
107
 
108
+ - [x] Remake the help/info thing to be slimmer & look better
109
+ - [x] Expand repo support to Git in general, not just GitHub
91
110
  - [ ] Add `.settings` file for better customization and easier options usage
92
111
  - [ ] In `.settings`, give option to enable a "safe barrier", essentially
93
112
  Oliver will prompt you before it removes any directory
94
- - [x] Remake the help/info thing to be slimmer & look better
95
- - [x] Expand repo support to Git in general, not just GitHub
96
113
  - [ ] Add support to `olive list` so that it'll list repos that're already cloned but not on the list (so the user knows that it's being removed on the next `olive install`)
97
114
  - [ ] Clean up the mess that is [`commands.rb`](https://github.com/trommel/oliver/blob/cleanup/lib/oliver/commands.rb)
98
115
 
@@ -1,4 +1,3 @@
1
- require 'awesome_print'
2
1
  require 'json'
3
2
  require 'git'
4
3
  require 'fileutils'
@@ -1,4 +1,4 @@
1
1
  # Oliver's version
2
2
  module Oliver
3
- VERSION = '2.1'
3
+ VERSION = '2.1.1'
4
4
  end
data/lib/oliver.rb CHANGED
@@ -56,8 +56,9 @@ module Oliver
56
56
  install: 'clones/removes repos if they\'re listed',
57
57
  list: 'list user repos',
58
58
  update: 'pull updates from each tracked repo',
59
+ status: 'Pull repo\'s cloning protocol and record location',
59
60
  version: 'return the current version',
60
- help: 'return this help menu'
61
+ help: 'return this help menu',
61
62
  }
62
63
 
63
64
  unless info[:silent]
data/oliver.gemspec CHANGED
@@ -7,6 +7,7 @@ Gem::Specification.new do |gem|
7
7
  gem.description = 'Local Git(Hub) made easy.'
8
8
  gem.summary = 'Manage your Git(Hub) repos/projects easier.'
9
9
  gem.homepage = 'https://github.com/trommel/oliver'
10
+ gem.licenses = ['MIT']
10
11
 
11
12
  gem.files = `git ls-files`.split($ORS)
12
13
  gem.executables = %w(olive oliver)
@@ -16,7 +17,7 @@ Gem::Specification.new do |gem|
16
17
  gem.version = Oliver::VERSION
17
18
 
18
19
  gem.add_development_dependency 'bundler', '~> 1.6'
19
- gem.add_development_dependency 'rake', '~> 0'
20
+ gem.add_development_dependency 'rake', '~> 10.4.2'
20
21
  gem.add_dependency 'git', '~> 1.2.9', '>= 1.2.8'
21
22
  gem.add_dependency 'json', '~> 1.8.2', '>= 1.8.0'
22
23
  end
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: '2.1'
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Trommel
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 10.4.2
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 10.4.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: git
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -110,7 +110,8 @@ files:
110
110
  - spec/oliver_spec.rb
111
111
  - spec/spec_helper.rb
112
112
  homepage: https://github.com/trommel/oliver
113
- licenses: []
113
+ licenses:
114
+ - MIT
114
115
  metadata: {}
115
116
  post_install_message:
116
117
  rdoc_options: []
@@ -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.6
132
+ rubygems_version: 2.4.5
132
133
  signing_key:
133
134
  specification_version: 4
134
135
  summary: Manage your Git(Hub) repos/projects easier.