gem_tools 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,13 @@
1
+ == 0.2.8 2010-02-24
2
+ * fix boneheaded search for windows, since it catches Darwin, duh
3
+
4
+ == 0.2.7 2010-02-21
5
+ * fix load_gems
6
+
7
+ == 0.2.6 2010-02-19
8
+ * refactor version checking
9
+ * now does Windows
10
+
1
11
  == 0.2.5 2010-01-27
2
12
  * add an option to generate a Gemfile
3
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.7
1
+ 0.2.8
data/gem_tools.gemspec CHANGED
@@ -5,25 +5,23 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{gem_tools}
8
- s.version = "0.2.7"
8
+ s.version = "0.2.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Moen"]
12
- s.date = %q{2010-02-21}
12
+ s.date = %q{2010-02-24}
13
13
  s.default_executable = %q{gemtools}
14
14
  s.description = %q{A lightweight tool to manage gems using a config file, similar to GemInstaller}
15
15
  s.email = %q{michael@underpantsgnome.com}
16
16
  s.executables = ["gemtools"]
17
17
  s.extra_rdoc_files = [
18
- "README.textile",
19
- "README.txt"
18
+ "README.textile"
20
19
  ]
21
20
  s.files = [
22
21
  ".gitignore",
23
22
  "History.txt",
24
23
  "License.txt",
25
24
  "README.textile",
26
- "README.txt",
27
25
  "Rakefile",
28
26
  "VERSION",
29
27
  "bin/gemtools",
@@ -38,7 +36,7 @@ Gem::Specification.new do |s|
38
36
  s.homepage = %q{http://github.com/UnderpantsGnome/gem_tools-gem}
39
37
  s.rdoc_options = ["--charset=UTF-8"]
40
38
  s.require_paths = ["lib"]
41
- s.rubygems_version = %q{1.3.5}
39
+ s.rubygems_version = %q{1.3.6}
42
40
  s.summary = %q{A gem manager}
43
41
  s.test_files = [
44
42
  "spec/gem_tools_spec.rb",
data/lib/gem_tools.rb CHANGED
@@ -28,6 +28,7 @@ module GemTools
28
28
 
29
29
  def install
30
30
  commands.each do |command|
31
+ puts "\nrunning: #{command}"
31
32
  ret = system command
32
33
  # something bad happened, pass on the message
33
34
  p $? unless ret
@@ -108,7 +109,7 @@ module GemTools
108
109
 
109
110
  unless gems.nil?
110
111
  docs = ''
111
- unless OPTIONS.has_key?(:docs) || RUBY_PLATFORM =~ /(win|mingw)/i
112
+ unless OPTIONS.has_key?(:docs) || RUBY_PLATFORM =~ /(mswin|mingw)/i
112
113
  docs << '--no-rdoc ' unless (`rdoc --version 2> /dev/null`).nil?
113
114
  docs << '--no-ri ' unless (`ri --version 2> /dev/null`).nil?
114
115
  end
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 2
8
+ - 8
9
+ version: 0.2.8
5
10
  platform: ruby
6
11
  authors:
7
12
  - Michael Moen
@@ -9,7 +14,7 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-02-21 00:00:00 -06:00
17
+ date: 2010-02-24 00:00:00 -06:00
13
18
  default_executable: gemtools
14
19
  dependencies: []
15
20
 
@@ -21,13 +26,11 @@ extensions: []
21
26
 
22
27
  extra_rdoc_files:
23
28
  - README.textile
24
- - README.txt
25
29
  files:
26
30
  - .gitignore
27
31
  - History.txt
28
32
  - License.txt
29
33
  - README.textile
30
- - README.txt
31
34
  - Rakefile
32
35
  - VERSION
33
36
  - bin/gemtools
@@ -51,18 +54,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
51
54
  requirements:
52
55
  - - ">="
53
56
  - !ruby/object:Gem::Version
57
+ segments:
58
+ - 0
54
59
  version: "0"
55
- version:
56
60
  required_rubygems_version: !ruby/object:Gem::Requirement
57
61
  requirements:
58
62
  - - ">="
59
63
  - !ruby/object:Gem::Version
64
+ segments:
65
+ - 0
60
66
  version: "0"
61
- version:
62
67
  requirements: []
63
68
 
64
69
  rubyforge_project:
65
- rubygems_version: 1.3.5
70
+ rubygems_version: 1.3.6
66
71
  signing_key:
67
72
  specification_version: 3
68
73
  summary: A gem manager
data/README.txt DELETED
@@ -1,73 +0,0 @@
1
- h1. GemTools
2
-
3
- h2. DESCRIPTION:
4
-
5
- The gem verison of my lightweight tool to manage gems using a config file,
6
- similar to GemInstaller.
7
-
8
- My blog post on why "I prefer GemTools over config:gem":http://underpantsgnome.com/2009/4/8/i-prefer-gemtools-over-config-gem
9
-
10
- h2. SYNOPSIS:
11
-
12
- I use this to manage gem versions in my apps, it has a script to install gems
13
- and a load utility to load them on startup.
14
-
15
- h3. create a gems.yml in a new project
16
-
17
- gemtools setup path/to/app
18
-
19
- h3. Install or update required gems
20
-
21
- gemtools install
22
-
23
- h3. Check to see if any of the gems in your app have newer versions
24
-
25
- gemtools check_updates
26
-
27
- h3. Generate a Gemfile from your current gems.yml
28
-
29
- gemtools to_gemfile
30
-
31
-
32
- Make sure they are loaded with the right versions during startup, by adding the
33
- following to your script or environment.rb (Rails)
34
-
35
- require 'gem_tools'
36
- GemTools.load_gems
37
-
38
-
39
- See the "sample config":http://github.com/UnderpantsGnome/gem_tools/blob/master/gems.yml.sample for the format
40
-
41
- h2. INSTALL:
42
-
43
- [sudo] gem install gem_tools
44
-
45
- h2. TODO
46
-
47
- * Write the tests/specs
48
- * Make it work in Windows
49
-
50
- h2. LICENSE:
51
-
52
- (The MIT License)
53
-
54
- Copyright (c) 2008 Michael Moen
55
-
56
- Permission is hereby granted, free of charge, to any person obtaining
57
- a copy of this software and associated documentation files (the
58
- 'Software'), to deal in the Software without restriction, including
59
- without limitation the rights to use, copy, modify, merge, publish,
60
- distribute, sublicense, and/or sell copies of the Software, and to
61
- permit persons to whom the Software is furnished to do so, subject to
62
- the following conditions:
63
-
64
- The above copyright notice and this permission notice shall be
65
- included in all copies or substantial portions of the Software.
66
-
67
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
68
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
69
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
70
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
71
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
72
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
73
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.