oliver 1.3.5 → 1.4.0

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: 0829af1cf342d287fa28774db6f66f644556eea7
4
- data.tar.gz: 9bc7e00e6c400665b323ea671082d517281632cb
3
+ metadata.gz: 0c296c278a6a6e298c4a5918d233da62d5cb9995
4
+ data.tar.gz: 18be60943b5939e18a83aa958c89367686d850a6
5
5
  SHA512:
6
- metadata.gz: ab0701d5e40e9e00d8be1591308252f9c4b9cdf7ebf90a413269107b7298a23392ad67fc029da75a37876e8aebbcd02100bb556ac3791cfb40c71ca728d2d37c
7
- data.tar.gz: 5ce71ac0fa202424fdcf2407bb04685f39c3648d9b17329879def762bc665b0e4cf14b2930e74bb4c319799102eeb480759b5af9fdce6f56368a7722190e96b9
6
+ metadata.gz: b452885ea57ef9cef2a319c4220b1eedc78a30cb43e7b8dafabefb105fafcb52be81785b87e438f308f58496acd2528a1c4e5e165e3ad5c54533485dfcc366cf
7
+ data.tar.gz: 1d23d327b80b90df2ca6e9a7370e9177df81e54feec39d7f8c2435fc46da9437df054111430ec923eef635d5175c1da5511c4782b73c2380bdb5db8111fb9819
data/README.md CHANGED
@@ -11,7 +11,7 @@ installation
11
11
  ------------
12
12
 
13
13
  oliver is a CLI that you can install
14
- through [RubyGems](https://rubygems.org)
14
+ through [RubyGems](https://rubygems.org/gems/oliver)
15
15
 
16
16
  ```bash
17
17
  $ gem install oliver
@@ -202,6 +202,31 @@ branch, if you want to check it out.
202
202
  the official gem that's hosted on rubygems, though, is
203
203
  the gem of the master branch, and that's how it's going to stay.
204
204
 
205
+ things to implement
206
+ ===================
207
+
208
+ [Douglas](https://twitter.com/istx25) gave me this cool
209
+ idea that [CocoaPods](https://github.com/CocoaPods/CocoaPods) uses, where
210
+ when we run
211
+
212
+ ```bash
213
+ $ olive install
214
+ ```
215
+
216
+ it can not only install the repos on the list, but remove the repos
217
+ that have been installed locally but are no longer on the list.
218
+ this way, if you want to delete a bunch of repositories, you can simply
219
+ remove them from the list and run
220
+
221
+ ```bash
222
+ $ olive install
223
+ ```
224
+
225
+ I spent, like, 50 minutes on this and I can't figure out a good way
226
+ to do it, though, so.. yeah
227
+
228
+ I'll add it as soon as I can figure it out.
229
+
205
230
  testing
206
231
  =======
207
232
 
data/lib/oliver/main.rb CHANGED
@@ -2,8 +2,8 @@
2
2
  def run_main
3
3
 
4
4
  # Back up your files, man
5
- if ! File.directory?('backup')
6
- Dir.mkdir 'backup'
5
+ if ! File.directory?('.backup')
6
+ Dir.mkdir '.backup'
7
7
  end
8
8
 
9
9
  # The buggiest code in the world (that's probably totally untrue)
@@ -1,3 +1,3 @@
1
1
  module Oliver
2
- VERSION = "1.3.5"
2
+ VERSION = "1.4.0"
3
3
  end
data/lib/oliver.rb CHANGED
@@ -26,9 +26,14 @@ different_arguments
26
26
  if File.file? Name::OLIVER
27
27
  if ARGV[0].downcase == 'install'
28
28
  run_main
29
+ Jib.exit
29
30
  else
31
+ # name_install = Rainbow('oliver install')
32
+ # puts "#{name_install} requires an #{Name::OLIVER} to do its magic."
30
33
  help
34
+ Jib.exit
31
35
  end
32
36
  else
33
37
  other_things
38
+ Jib.exit
34
39
  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: 1.3.5
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  version: '0'
108
108
  requirements: []
109
109
  rubyforge_project:
110
- rubygems_version: 2.4.0
110
+ rubygems_version: 2.4.1
111
111
  signing_key:
112
112
  specification_version: 4
113
113
  summary: Manage your Git(Hub) easier.