oliver 1.8.5.2 → 1.8.6

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: 32c30f5215e9fc74d4bf8e4e608786d7c1feb6bd
4
- data.tar.gz: 52cda34eb10c8ac5dafd4bea5c4e884deaa11692
3
+ metadata.gz: 05aa95daf21ecfe206187f09a90822ac9b268d97
4
+ data.tar.gz: 9d27c35d63416edcc5186cf3f086a9ff321db086
5
5
  SHA512:
6
- metadata.gz: 1c82868cae592d1721a3e82034408aed39053d53bd90cf089da79aa626cf930c22a58683271a8263b39a087853724e88118aa0472b1ea8725e3d3f6469adbb7a
7
- data.tar.gz: 28f44891a6c2bbb28cf8d8d346e5ea70e168085f1d4b4b5086de87030b8412f7c3ed4a5b0b2897097d1558386b465cd307252163518a339029d1ae6bb79cce85
6
+ metadata.gz: 9e4a2e0ef0c2413543fa50176a6e72ee63d414c0194e56820bdc373d19256a47fe49b1a0c5162f6cfc9ede78bb597a6c4c759da4d009b730e0a77c741d057fcb
7
+ data.tar.gz: d6a0434126c81b2e98505852d21972ab41616527430dc5765d2b9abd1bbbab9d1ef79720bce73d587496af2a0ef644303ec4b553633ff93785ebeaabea17f928
@@ -1,2 +1,12 @@
1
1
  require_relative '../oliver_file_name'
2
- puts "TODO: pull updates from each tracked repo on the #{Name::OLIVER}"
2
+ require 'git'
3
+ # puts "TODO: pull updates from each tracked repo on the #{Name::OLIVER}"
4
+ dirs = Dir.glob('*').select { |f| File.directory? f }
5
+
6
+ dirs.each do |dir|
7
+ Dir.chdir(dir)
8
+ g = Git.open(Dir.pwd)
9
+ pull = g.pull
10
+ puts "#{dir}/ has been updated." if !pull.include? 'Already up-to-date'
11
+ Dir.chdir('..')
12
+ end
@@ -1,5 +1,5 @@
1
1
  # The main module for
2
2
  # Oliver's version
3
3
  module Oliver
4
- VERSION = '1.8.5.2'
4
+ VERSION = '1.8.6'
5
5
  end
data/oliver.gemspec CHANGED
@@ -18,4 +18,5 @@ Gem::Specification.new do |gem|
18
18
  gem.add_development_dependency 'bundler', '~> 1.6'
19
19
  gem.add_development_dependency 'rake'
20
20
  gem.add_dependency 'rainbow', '>= 2.0.0'
21
+ gem.add_dependency 'git', '>= 1.2.8'
21
22
  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.5.2
4
+ version: 1.8.6
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-08 00:00:00.000000000 Z
11
+ date: 2014-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: 2.0.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: git
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 1.2.8
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 1.2.8
55
69
  description: Local Git(Hub) made easy.
56
70
  email:
57
71
  - joshception@icloud.com