geminstaller 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +7 -0
- data/TODO.txt +5 -6
- data/geminstaller.yml +1 -1
- data/lib/geminstaller.rb +1 -1
- data/lib/geminstaller/autogem.rb +0 -1
- data/lib/geminstaller/backward_compatibility.rb +0 -1
- data/website/src/documentation/index.page +4 -6
- data/website/src/index.page +4 -1
- metadata +6 -10
data/History.txt
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
== 0.x.y / yyyy-mm-dd
|
2
|
+
|
3
|
+
== 0.2.3 / 2007-08-03
|
4
|
+
* remove Autogem#process_gem debug statement
|
5
|
+
* Don't reset test_gem_home in test_gem_home_spec, shaves about 18 seconds off suite
|
6
|
+
* Suppress output of rubygems installation during tests with --quiet flag
|
7
|
+
|
1
8
|
== 0.2.2 / 2007-07-07
|
2
9
|
* Fix performance problems with autogem command (don't manually recurse dependencies, gem method does it already)
|
3
10
|
* Fix bad links in docs
|
data/TODO.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
*
|
1
|
+
* Figure out how to suppress webrick messages from embedded gem server
|
2
2
|
* Allow array or eval'able string of gems to be passed as --gems arg or instead of args
|
3
|
-
* Add @options[:gems], should be parsed from
|
4
|
-
=============== 0.2.
|
3
|
+
* Add @options[:gems], should be parsed from command line
|
4
|
+
=============== 0.2.6
|
5
5
|
* Understand environment.rb vs boot.rb. Add doc references.
|
6
6
|
* Catch permission errors, and print descriptive instructions on how to handle sudo. "Uh Oh! A gem installation failed because it did not have permission to write to the filesystem. If you want to have automated GemInstaller goodness, you'll have to fix this. Don't worry, it's easy! You have three basic choices: ..."
|
7
7
|
* docs - clean up sudo section. Should be clearer about sudoers entry, and make sure that NOPASSWD is the last entry.
|
@@ -10,8 +10,8 @@
|
|
10
10
|
* design - dependency management is good. Maven got it right, if not for the jelly...
|
11
11
|
* search for config/geminstaller.yml by default
|
12
12
|
* Investigate gem_plugin. Plugin for mongrel???
|
13
|
-
================ 0.2.
|
14
|
-
* Rename API: autogem
|
13
|
+
================ 0.2.8 release ===================
|
14
|
+
* Rename API: deprecate 'autogem' and rename to 'loadgems'; change current 'run' to 'install'; add new 'run' which automatically calls both 'install' and 'gem', add 'no-loadgems' option (only applicable when invoked programatically) to supress automatic 'loadgems
|
15
15
|
================ 0.3.0 release =====================
|
16
16
|
* update docs with details on how to handle unmet dependencies when -y is not specified
|
17
17
|
* tutorial: using common or shared config files, with different configs for different environments - test (rspec) vs. dev (capistrano) vs. demo/staging/prod
|
@@ -23,7 +23,6 @@
|
|
23
23
|
================ 0.3.1 finishing website ===================
|
24
24
|
* make valid_platform_selector use data from tattle
|
25
25
|
* autogem and run args can be passed as string or array
|
26
|
-
* tell rspec not to alphabetize my specs, or figure out how to not run testgemhome in the middle and have it set up test gem home twice
|
27
26
|
* better test coverage for --sudo and --exception options
|
28
27
|
* use rspec context_setup
|
29
28
|
* split out geminstaller_spec into application_spec and geminstaller_spec. Fix reference in docs / design
|
data/geminstaller.yml
CHANGED
data/lib/geminstaller.rb
CHANGED
data/lib/geminstaller/autogem.rb
CHANGED
@@ -55,12 +55,11 @@ require "geminstaller"
|
|
55
55
|
config_paths = "#{File.expand_path(RAILS_ROOT)}/config/geminstaller.yml"
|
56
56
|
|
57
57
|
# Arguments which will be passed to GemInstaller
|
58
|
-
args = "--config #{config_paths}"
|
58
|
+
args = "--config #{config_paths}"
|
59
59
|
|
60
60
|
# The 'exceptions' flag determines whether errors encountered while running GemInstaller
|
61
61
|
# should raise exceptions (and abort Rails), or just return a nonzero return code
|
62
|
-
|
63
|
-
args += " --exceptions" if exceptions
|
62
|
+
args += " --exceptions"
|
64
63
|
|
65
64
|
# This will use sudo by default on all non-windows platforms, but requires an entry in your
|
66
65
|
# sudoers file to avoid having to type a password. It can be omitted if you don't want to use sudo.
|
@@ -71,9 +70,8 @@ args += " --sudo" unless RUBY_PLATFORM =~ /mswin/
|
|
71
70
|
GemInstaller.run(args)
|
72
71
|
|
73
72
|
# The 'autogem' method will automatically add all gems in the GemInstaller config to your load path, using the 'gem'
|
74
|
-
# or 'require_gem' command.
|
75
|
-
|
76
|
-
GemInstaller.autogem(config_paths, exceptions)
|
73
|
+
# or 'require_gem' command. Note that only the *first* version of any given gem will be loaded.
|
74
|
+
GemInstaller.autogem(args)
|
77
75
|
############# End GemInstaller config
|
78
76
|
|
79
77
|
unless defined?(Rails::Initializer)
|
data/website/src/index.page
CHANGED
@@ -34,10 +34,13 @@ GemInstaller was created by "Chad Woolley":http://www.thewoolleyweb.com.
|
|
34
34
|
|
35
35
|
h2(#known_bugs). Known Bugs
|
36
36
|
|
37
|
-
Currently (as of version 0.
|
37
|
+
Currently (as of version 0.2.3), the only _major_ known bug is related to auto-installing the Rails or Mongrel gems via boot.rb during startup of Mongrel or Webrick. The simple workaround is to run GemInstaller manually or just restart Rails anytime GemInstaller auto-installs a Rails/Mongrel gem upgrade during app startup. For Rails and other deployable apps, you can also "run GemInstaller from Capistrano":documentation/tutorials.html#running_geminstaller_from_capistrano to avoid this problem in demo/production environments. Researching and fixing this problem is a top priority. I bet there's another bug or twoo, so please "report them if you find them":http://rubyforge.org/tracker/?group_id=1902!
|
38
|
+
|
39
|
+
There's also some leakage of gem doc warning messages even if you turn down --rubygems-output, but these can be ignored (these same messages show up when installing gems manually). This should be fixed soon.
|
38
40
|
|
39
41
|
h2(#history). History
|
40
42
|
|
43
|
+
* 0.2.3 - Fix debug statement left in, upgrade rspec, improvements to test suite
|
41
44
|
* 0.2.2 - Fix performance problems with autogem command (don't manually recurse dependencies, gem method does it already)
|
42
45
|
* 0.2.1 - RubyGems release 0.9.3 had some major refactoring done to the internals, which broke GemInstaller 0.2.0. GemInstaller 0.2.1 is a patch release to fix this. I did limited testing on 0.9.3 and 0.9.0. Please let me know if anything is broken on any version of RubyGems.
|
43
46
|
* 0.2.0 - Initial release. Yay!
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: geminstaller
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.2.
|
7
|
-
date: 2007-
|
6
|
+
version: 0.2.3
|
7
|
+
date: 2007-09-03 00:00:00 -07:00
|
8
8
|
summary: GemInstaller provides automated management of RubyGems.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -95,14 +95,10 @@ files:
|
|
95
95
|
- website/src/index.page
|
96
96
|
test_files:
|
97
97
|
- test/test_all.rb
|
98
|
-
rdoc_options:
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
- History.txt
|
103
|
-
- Manifest.txt
|
104
|
-
- README.txt
|
105
|
-
- TODO.txt
|
98
|
+
rdoc_options: []
|
99
|
+
|
100
|
+
extra_rdoc_files: []
|
101
|
+
|
106
102
|
executables:
|
107
103
|
- geminstaller
|
108
104
|
extensions: []
|