hobo_support 1.3.0.pre31 → 1.3.0

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/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0.pre31
1
+ 1.3.0
data/hobo_support.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.summary = 'Core Ruby extensions from the Hobo project'
12
12
  s.description = 'Core Ruby extensions from the Hobo project'
13
13
 
14
- s.add_runtime_dependency('rails', [">= 3.0.0"])
14
+ s.add_runtime_dependency('rails', ["~> 3.0.0"])
15
15
  s.add_development_dependency('rubydoctest', [">= 0"])
16
16
 
17
17
  s.files = `git ls-files -x #{name}/* -z`.split("\0")
@@ -27,7 +27,7 @@ module Generators
27
27
  default
28
28
  else
29
29
  say 'Unknown choice! ', :red
30
- choose(prompt, format)
30
+ choose(prompt, format, default)
31
31
  end
32
32
  end
33
33
 
data/lib/hobo_support.rb CHANGED
@@ -21,5 +21,7 @@ require 'hobo_support/kernel'
21
21
  module HoboSupport
22
22
 
23
23
  VERSION = File.read(File.expand_path('../../VERSION', __FILE__)).strip
24
+ @@root = Pathname.new File.expand_path('../..', __FILE__)
25
+ def self.root; @@root; end
24
26
 
25
27
  end
@@ -69,7 +69,7 @@ Dev Notes:
69
69
  when /^--skip-wizard|--skip-setup$/
70
70
  ARGV.shift
71
71
  :skip
72
- when /^--setup$/
72
+ when /^--setup|--default$/
73
73
  ARGV.shift
74
74
  :setup
75
75
  when /^--wizard$/
@@ -96,7 +96,7 @@ gem 'hobo', :path => '#{dev_root}/hobo'
96
96
  end
97
97
  else
98
98
  file.puts %(
99
- gem '#{gem}', '>= #{version}'
99
+ gem '#{gem}', '= #{version}'
100
100
  )
101
101
  end
102
102
  if is_hobo
@@ -10,12 +10,14 @@ HoboSupport is a mixed bag of core ruby extensions that have been extracted from
10
10
 
11
11
  ## Contents
12
12
 
13
+ * [Chronic](/manual/hobo_support/chronic)
13
14
  * [Enumerable](/manual/hobo_support/enumerable)
14
15
  * [Hash](/manual/hobo_support/hash)
15
16
  * [Implies](/manual/hobo_support/implies)
16
17
  * [Metaid](/manual/hobo_support/metaid)
17
18
  * [Methodphitamine](/manual/hobo_support/methodphitamine)
18
19
  * [Module](/manual/hobo_support/module)
20
+ * [XSS](/manual/hobo_support/xss)
19
21
 
20
22
  ## Object extensions
21
23
 
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hobo_support
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: 6
5
- version: 1.3.0.pre31
4
+ prerelease:
5
+ version: 1.3.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Tom Locke
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-03-29 00:00:00 -04:00
13
+ date: 2011-11-14 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -19,7 +19,7 @@ dependencies:
19
19
  requirement: &id001 !ruby/object:Gem::Requirement
20
20
  none: false
21
21
  requirements:
22
- - - ">="
22
+ - - ~>
23
23
  - !ruby/object:Gem::Version
24
24
  version: 3.0.0
25
25
  type: :runtime
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  requirements: []
104
104
 
105
105
  rubyforge_project: hobo
106
- rubygems_version: 1.5.0
106
+ rubygems_version: 1.6.2
107
107
  signing_key:
108
108
  specification_version: 3
109
109
  summary: Core Ruby extensions from the Hobo project