hobo_support 2.0.0.pre7 → 2.0.0.pre8

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.0.pre7
1
+ 2.0.0.pre8
@@ -39,7 +39,7 @@ module Generators
39
39
  end
40
40
 
41
41
  def accessible_attributes
42
- field_attributes + bts.map {|bt| bt+"_id"} + bts + hms
42
+ field_attributes.*.name + bts.map {|bt| "#{bt}_id"} + bts + hms
43
43
  end
44
44
 
45
45
  def hms
@@ -119,13 +119,13 @@ extend Generators::HoboSupport::ThorShell
119
119
  )
120
120
  case setup_wizard
121
121
  when :setup
122
- file.puts %(
122
+ file.puts %Q/
123
123
  say 'Running Setup...'
124
124
  Bundler.with_clean_env do
125
125
  run "bundle install"
126
126
  end
127
- exec 'rails g hobo:setup_wizard --skip-wizard #{ARGV * ' '} '
128
- )
127
+ generate 'hobo:setup_wizard', '#{(['--skip-wizard']+ARGV).join("', '")}'
128
+ /
129
129
  when :wizard
130
130
  file.puts %(
131
131
  say_title "Hobo Setup Wizard"
@@ -135,7 +135,7 @@ You can run it later with `hobo g setup_wizard` from the application root dir.)"
135
135
  Bundler.with_clean_env do
136
136
  run "bundle install"
137
137
  end
138
- exec 'rails g hobo:setup_wizard --no-main-title'
138
+ generate 'hobo:setup_wizard', '--no-main-title'
139
139
  else
140
140
  say "Please, remember to run `hobo g setup_wizard` from the application root dir, in order to complete the Setup.", :yellow
141
141
  end
@@ -1,6 +1,7 @@
1
- # HoboSupport - Eumerable extensions
1
+ # HoboSupport - Enumerable extensions
2
2
 
3
3
  doctest_require: '../../lib/hobo_support'
4
+ {.hidden}
4
5
 
5
6
  ## `Enumerable#map_and_find`
6
7
 
metadata CHANGED
@@ -1,70 +1,77 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: hobo_support
3
- version: !ruby/object:Gem::Version
4
- version: 2.0.0.pre7
3
+ version: !ruby/object:Gem::Version
4
+ hash: -1298878968
5
5
  prerelease: 6
6
+ segments:
7
+ - 2
8
+ - 0
9
+ - 0
10
+ - pre
11
+ - 8
12
+ version: 2.0.0.pre8
6
13
  platform: ruby
7
- authors:
14
+ authors:
8
15
  - Tom Locke
9
16
  autorequire:
10
17
  bindir: bin
11
18
  cert_chain: []
12
- date: 2012-12-06 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
19
+
20
+ date: 2013-02-04 00:00:00 Z
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
15
23
  name: rails
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ~>
20
- - !ruby/object:Gem::Version
21
- version: 3.2.0
22
- type: :runtime
23
24
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
+ requirement: &id001 !ruby/object:Gem::Requirement
25
26
  none: false
26
- requirements:
27
+ requirements:
27
28
  - - ~>
28
- - !ruby/object:Gem::Version
29
+ - !ruby/object:Gem::Version
30
+ hash: 15
31
+ segments:
32
+ - 3
33
+ - 2
34
+ - 0
29
35
  version: 3.2.0
30
- - !ruby/object:Gem::Dependency
36
+ type: :runtime
37
+ version_requirements: *id001
38
+ - !ruby/object:Gem::Dependency
31
39
  name: rubydoctest
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: '0'
38
- type: :development
39
40
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
- - !ruby/object:Gem::Dependency
47
- name: chronic
48
- requirement: !ruby/object:Gem::Requirement
41
+ requirement: &id002 !ruby/object:Gem::Requirement
49
42
  none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ hash: 3
47
+ segments:
48
+ - 0
49
+ version: "0"
54
50
  type: :development
51
+ version_requirements: *id002
52
+ - !ruby/object:Gem::Dependency
53
+ name: chronic
55
54
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
55
+ requirement: &id003 !ruby/object:Gem::Requirement
57
56
  none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ hash: 3
61
+ segments:
62
+ - 0
63
+ version: "0"
64
+ type: :development
65
+ version_requirements: *id003
62
66
  description: Core Ruby extensions from the Hobo project
63
67
  email: tom@tomlocke.com
64
68
  executables: []
69
+
65
70
  extensions: []
71
+
66
72
  extra_rdoc_files: []
67
- files:
73
+
74
+ files:
68
75
  - CHANGES.txt
69
76
  - Gemfile
70
77
  - README.txt
@@ -110,28 +117,39 @@ files:
110
117
  - test/hobosupport/xss.rdoctest
111
118
  homepage: http://hobocentral.net
112
119
  licenses: []
120
+
113
121
  post_install_message:
114
- rdoc_options:
122
+ rdoc_options:
115
123
  - --charset=UTF-8
116
- require_paths:
124
+ require_paths:
117
125
  - lib
118
- required_ruby_version: !ruby/object:Gem::Requirement
126
+ required_ruby_version: !ruby/object:Gem::Requirement
119
127
  none: false
120
- requirements:
121
- - - ! '>='
122
- - !ruby/object:Gem::Version
123
- version: '0'
124
- required_rubygems_version: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ hash: 3
132
+ segments:
133
+ - 0
134
+ version: "0"
135
+ required_rubygems_version: !ruby/object:Gem::Requirement
125
136
  none: false
126
- requirements:
127
- - - ! '>='
128
- - !ruby/object:Gem::Version
137
+ requirements:
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ hash: 23
141
+ segments:
142
+ - 1
143
+ - 3
144
+ - 6
129
145
  version: 1.3.6
130
146
  requirements: []
147
+
131
148
  rubyforge_project: hobo
132
- rubygems_version: 1.8.24
149
+ rubygems_version: 1.8.25
133
150
  signing_key:
134
151
  specification_version: 3
135
152
  summary: Core Ruby extensions from the Hobo project
136
153
  test_files: []
154
+
137
155
  has_rdoc: