oliver 2.1 → 2.1.1
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 +4 -4
- data/LICENSE +1 -1
- data/README.md +22 -5
- data/lib/oliver/commands.rb +0 -1
- data/lib/oliver/version.rb +1 -1
- data/lib/oliver.rb +2 -1
- data/oliver.gemspec +2 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc3f79459c955a1cb49f0e8d9d2ffd797f47e5cf
|
4
|
+
data.tar.gz: 65ac07d6ce20ea0e11e53f9044ad1970039971a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ba259c211f984a5af80e40643395f7d4069199422519e2a98f6fa0e014106b82ceca446fd2e049715a692b8ac18e0a8eacf561d77c76517f502ee7f88a20633
|
7
|
+
data.tar.gz: 198ab0c9d27ce70c6e86348584f430f1b1fb4f41fadf98913fa3511e6ab07798efe6006ab79426c18890148996866dfa3524341b57203901852461c7a9963ebe
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,10 @@
|
|
1
1
|
oliver
|
2
2
|
======
|
3
3
|
|
4
|
-
[](https://gemnasium.com/trommel/oliver)
|
5
|
+
[](https://rubygems.org/gems/oliver)
|
6
|
+
[](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
|
-
|
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
|
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
|
|
data/lib/oliver/commands.rb
CHANGED
data/lib/oliver/version.rb
CHANGED
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', '~>
|
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:
|
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:
|
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:
|
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.
|
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.
|