gemsync 0.1.2 → 0.1.3

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.
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ begin
5
5
  require 'jeweler'
6
6
  Jeweler::Tasks.new do |gem|
7
7
  gem.name = "gemsync"
8
- gem.version = "0.1.2"
8
+ gem.version = "0.1.3"
9
9
  gem.summary = %Q{Small gem to sync multiple gem installations.}
10
10
  gem.description = %Q{Small gem to sync multiple gem installations. This can be done by pointing to a ruby installation or from a text file created by `gem list > file.txt`.}
11
11
  gem.email = "quest@mac.com"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
data/bin/gemsync CHANGED
@@ -7,7 +7,7 @@ require 'trollop'
7
7
 
8
8
  # Setup arguments from the command line.
9
9
  opts = Trollop::options do
10
- version "gemsync 0.1.2 (c) 2010 Josh Ellithorpe"
10
+ version "gemsync 0.1.3 (c) 2010 Josh Ellithorpe"
11
11
  banner <<-EOS
12
12
  Small gem to sync multiple gem installations.
13
13
 
@@ -36,6 +36,13 @@ Trollop::die :destination, "\n\t-- Binary '#{opts[:destination]}/bin/gem' does n
36
36
 
37
37
  @main_dir = opts[:source]
38
38
  @sync_dir = opts[:destination]
39
+
40
+ # Cleanup main and sync dir, they shouldn't end in a '/' so lets chomp it.
41
+ # Couldn't use chomp! since opts are frozen.
42
+ @main_dir = @main_dir.chomp('/')
43
+ @sync_dir = @sync_dir.chomp('/')
44
+
45
+ # Setup additional flags
39
46
  @docstring = opts[:build_docs] ? '' : '--no-ri --no-rdoc'
40
47
  @sudostring = opts[:disable_sudo] ? '' : (`which sudo`.strip + ' ') # Just stripping newline
41
48
 
data/gemsync.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{gemsync}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["quest"]
12
- s.date = %q{2010-09-12}
12
+ s.date = %q{2010-09-19}
13
13
  s.default_executable = %q{gemsync}
14
14
  s.description = %q{Small gem to sync multiple gem installations. This can be done by pointing to a ruby installation or from a text file created by `gem list > file.txt`.}
15
15
  s.email = %q{quest@mac.com}
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
26
26
  "VERSION",
27
27
  "bin/gemsync",
28
28
  "gemsync.gemspec",
29
- "pkg/gemsync-0.1.2.gem",
29
+ "pkg/gemsync-0.1.3.gem",
30
30
  "rdoc/created.rid",
31
31
  "rdoc/files/README_rdoc.html",
32
32
  "rdoc/fr_class_index.html",
Binary file
data/rdoc/created.rid CHANGED
@@ -1 +1 @@
1
- Sun, 12 Sep 2010 15:48:26 -0700
1
+ Sun, 19 Sep 2010 04:00:03 -0700
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Sun Sep 12 15:48:05 -0700 2010</td>
59
+ <td>Mon Sep 13 01:42:28 -0700 2010</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
data/rdoc/index.html CHANGED
@@ -5,13 +5,13 @@
5
5
 
6
6
  <!--
7
7
 
8
- gemsync 0.1.2
8
+ gemsync 0.1.3
9
9
 
10
10
 
11
11
  -->
12
12
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13
13
  <head>
14
- <title>gemsync 0.1.2
14
+ <title>gemsync 0.1.3
15
15
  </title>
16
16
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
17
17
  </head>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemsync
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - quest
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-09-12 00:00:00 -07:00
18
+ date: 2010-09-19 00:00:00 -07:00
19
19
  default_executable: gemsync
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -51,7 +51,7 @@ files:
51
51
  - VERSION
52
52
  - bin/gemsync
53
53
  - gemsync.gemspec
54
- - pkg/gemsync-0.1.2.gem
54
+ - pkg/gemsync-0.1.3.gem
55
55
  - rdoc/created.rid
56
56
  - rdoc/files/README_rdoc.html
57
57
  - rdoc/fr_class_index.html
Binary file