fix annoying warning about the spec for highline.

seems that rake gems:refresh_specs only works for gems in /vendor/gems that are mentioned in config.gem in environment.rb. Therefore I've updated environment.rb.tmpl.
This commit is contained in:
Reinier Balt 2008-12-21 21:53:42 +01:00
parent c5598a94ee
commit 0604cb187f
3 changed files with 487 additions and 398 deletions

View file

@ -26,6 +26,8 @@ Rails::Initializer.run do |config|
config.action_web_service = Rails::OrderedOptions.new
config.load_paths += %W( #{RAILS_ROOT}/app/apis )
config.gem "highline"
config.action_controller.use_accept_header = true
# Add additional load paths for your own custom dirs

View file

@ -0,0 +1,87 @@
--- !ruby/object:Gem::Specification
name: highline
version: !ruby/object:Gem::Version
version: 1.5.0
platform: ruby
authors:
- James Edward Gray II
autorequire:
bindir: bin
cert_chain: []
date: 2008-11-05 00:00:00 +01:00
default_executable:
dependencies: []
description: A high-level IO library that provides validation, type conversion, and more for command-line interfaces. HighLine also includes a complete menu system that can crank out anything from simple list selection to complete shells with just minutes of work.
email: james@grayproductions.net
executables: []
extensions: []
extra_rdoc_files:
- README
- INSTALL
- TODO
- CHANGELOG
- LICENSE
files:
- examples/ansi_colors.rb
- examples/asking_for_arrays.rb
- examples/basic_usage.rb
- examples/color_scheme.rb
- examples/menus.rb
- examples/overwrite.rb
- examples/page_and_wrap.rb
- examples/password.rb
- examples/trapping_eof.rb
- examples/using_readline.rb
- lib/highline/color_scheme.rb
- lib/highline/import.rb
- lib/highline/menu.rb
- lib/highline/question.rb
- lib/highline/system_extensions.rb
- lib/highline.rb
- test/tc_color_scheme.rb
- test/tc_highline.rb
- test/tc_import.rb
- test/tc_menu.rb
- test/ts_all.rb
- Rakefile
- setup.rb
- README
- INSTALL
- TODO
- CHANGELOG
- LICENSE
has_rdoc: true
homepage: http://highline.rubyforge.org
post_install_message:
rdoc_options:
- --title
- HighLine Documentation
- --main
- README
require_paths:
- lib
required_ruby_version: !ruby/object:Gem::Requirement
requirements:
- - ">="
- !ruby/object:Gem::Version
version: "0"
version:
required_rubygems_version: !ruby/object:Gem::Requirement
requirements:
- - ">="
- !ruby/object:Gem::Version
version: "0"
version:
requirements: []
rubyforge_project: highline
rubygems_version: 1.3.1
signing_key:
specification_version: 2
summary: HighLine is a high-level command-line IO library.
test_files:
- test/ts_all.rb

View file

@ -8,7 +8,7 @@ authors:
autorequire: openid
bindir: bin
cert_chain:
date: 2008-06-27 00:00:00 -04:00
date: 2008-06-27 00:00:00 +02:00
default_executable:
dependencies: []
@ -281,7 +281,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
requirements: []
rubyforge_project:
rubygems_version: 1.2.0
rubygems_version: 1.3.1
signing_key:
specification_version: 1
summary: A library for consuming and serving OpenID identities.