hobo 0.9.100 → 0.9.101
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.txt +11 -22
- data/Rakefile +1 -1
- data/bin/hobo +1 -1
- data/doctest/hobo/lifecycles.rdoctest +1 -1
- data/doctest/scopes.rdoctest +3 -3
- data/dryml_generators/rapid/pages.dryml.erb +1 -1
- data/lib/hobo.rb +1 -1
- data/test/permissions/models/models.rb +1 -1
- metadata +4 -4
data/CHANGES.txt
CHANGED
@@ -14,6 +14,11 @@ likely to cause conflicts, so it is highly recommended that you have
|
|
14
14
|
your code backed up and in a change control system such as git or
|
15
15
|
subversion.
|
16
16
|
|
17
|
+
=== Hobo 0.9.101 (AKA 1.0.BROWN_PAPER_BAG) ===
|
18
|
+
|
19
|
+
Yes, that was embarrassing. How the test suite failed to catch that
|
20
|
+
one is mind blowing.
|
21
|
+
|
17
22
|
=== Hobo 0.9.100 (AKA 1.0.RC1) ===
|
18
23
|
|
19
24
|
Deletions:
|
@@ -30,19 +35,6 @@ Deletions:
|
|
30
35
|
message when a user has signed up has been removed from
|
31
36
|
`hobo_do_signup`.
|
32
37
|
|
33
|
-
- Github no longer updates its gem repository. The canonical source
|
34
|
-
for Mislav's will\_paginate, a Hobo dependency, is now
|
35
|
-
gemcutter.org. To add gemcutter.org to your gem source list:
|
36
|
-
|
37
|
-
$ gem install gemcutter
|
38
|
-
$ gem tumble
|
39
|
-
|
40
|
-
Note that `gem tumble` is a toggle, so if you've already added
|
41
|
-
`gemcutter` to your sources list, the above commands will have
|
42
|
-
removed it! Simply run `gem tumble` again to add it back in. In
|
43
|
-
fact, sometimes the first command does the tumble automatically, so
|
44
|
-
it's worth double checking.
|
45
|
-
|
46
38
|
- The fix for
|
47
39
|
[#556](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/556)
|
48
40
|
means that the migration generator now ignores all models that have
|
@@ -57,8 +49,7 @@ Major enhancements:
|
|
57
49
|
Ruby 1.9.1 and Rails 2.3.4. Rails 2.3.3 and 2.3.5 work fine.
|
58
50
|
|
59
51
|
- Hobo has been tested against the new Rails 2.3.5. JRuby users may
|
60
|
-
encounter
|
61
|
-
https://rails.lighthouseapp.com/projects/8994/tickets/3497.
|
52
|
+
encounter [Rails bug 3497](https://rails.lighthouseapp.com/projects/8994/tickets/3497)
|
62
53
|
|
63
54
|
- Rails 2.2 is still supported for this release. Support for 2.2
|
64
55
|
may be dropped post-1.0.
|
@@ -82,8 +73,7 @@ Major enhancements:
|
|
82
73
|
was previously performed. HtmlString will sanitize before saving
|
83
74
|
to the database. You need to update your hobo-rapid.js for this
|
84
75
|
fix. Run `rake hobo:run_standard_generators` or copy the file
|
85
|
-
directly from
|
86
|
-
http://github.com/tablatom/hobo/blob/master/hobo/rails_generators/hobo_rapid/templates/hobo-rapid.js
|
76
|
+
directly from [github](http://github.com/tablatom/hobo/blob/master/hobo/rails_generators/hobo_rapid/templates/hobo-rapid.js)
|
87
77
|
|
88
78
|
- [#296](https://hobo.lighthouseapp.com/projects/8324/tickets/296)
|
89
79
|
The migration generator now fully understands HABTM join tables. Note that
|
@@ -91,7 +81,7 @@ Major enhancements:
|
|
91
81
|
is NOT supported.
|
92
82
|
|
93
83
|
- [#475](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/475)
|
94
|
-
User-defined rich types are now loaded from RAILS_ROOT/app/rich_types
|
84
|
+
User-defined rich types are now loaded from `RAILS_ROOT/app/rich_types`, if it exists.
|
95
85
|
|
96
86
|
- EnumString's can now be translated. The
|
97
87
|
[manual](http://cookbook.hobocentral.net/manual/hobofields/rich_types)
|
@@ -115,8 +105,7 @@ Major bug fixes:
|
|
115
105
|
ie7-recalc.js has been updated to improve compatibility with IE6.
|
116
106
|
Please update the copy inside of your application, either by
|
117
107
|
running `rake hobo:run_standard_generators` or by copying the file
|
118
|
-
directly from
|
119
|
-
http://github.com/tablatom/hobo/blob/master/hobo/rails_generators/hobo_rapid/templates/ie7-recalc.js
|
108
|
+
directly from [github](http://github.com/tablatom/hobo/blob/master/hobo/rails_generators/hobo_rapid/templates/ie7-recalc.js)
|
120
109
|
|
121
110
|
- [#512](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/512)
|
122
111
|
Hobo now has better compatibility with non-DRYML templates
|
@@ -132,7 +121,7 @@ Minor enhancements:
|
|
132
121
|
|
133
122
|
- [#536](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/543)
|
134
123
|
i18n has been silenced. It's messages can be made to reappear on
|
135
|
-
the log via HOBO_VERBOSE_TRANSLATIONS
|
124
|
+
the log via `HOBO_VERBOSE_TRANSLATIONS`.
|
136
125
|
|
137
126
|
- [#555](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/555)
|
138
127
|
Specifying ignore_index :foo will ignore the index named 'foo' on the model
|
@@ -140,7 +129,7 @@ Minor enhancements:
|
|
140
129
|
automatically (with a prefix length on MySQL, for instance) or existing
|
141
130
|
indexes in legacy tables.
|
142
131
|
|
143
|
-
|
132
|
+
See also the [git log](http://github.com/tablatom/hobo/commits/v0.9.100)
|
144
133
|
|
145
134
|
=== Hobo 0.9.0 ===
|
146
135
|
|
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rake'
|
|
2
2
|
require 'rake/rdoctask'
|
3
3
|
require 'rake/testtask'
|
4
4
|
|
5
|
-
require '
|
5
|
+
require 'active_record'
|
6
6
|
ActiveRecord::ActiveRecordError # hack for https://rails.lighthouseapp.com/projects/8994/tickets/2577-when-using-activerecordassociations-outside-of-rails-a-nameerror-is-thrown
|
7
7
|
$:.unshift File.join(File.expand_path(File.dirname(__FILE__)), '/lib')
|
8
8
|
$:.unshift File.join(File.expand_path(File.dirname(__FILE__)), '/../hobofields/lib')
|
data/bin/hobo
CHANGED
@@ -16,7 +16,7 @@ Hobo lifecycles is a mechanism for declaring the life-cycle of a model in a natu
|
|
16
16
|
First the junk to get us started:
|
17
17
|
|
18
18
|
doctest_require: 'rubygems'
|
19
|
-
doctest_require: '
|
19
|
+
doctest_require: 'active_record'
|
20
20
|
>> $:.unshift '/home/blarsen/dev/agility-master/vendor/plugins/hobo/hobo/lib'
|
21
21
|
>> $:.unshift '/home/blarsen/dev/agility-master/vendor/plugins/hobo/hobo/lib'
|
22
22
|
>> $:.unshift '/home/blarsen/dev/agility-master/vendor/plugins/hobo/hobofields/lib'
|
data/doctest/scopes.rdoctest
CHANGED
@@ -40,9 +40,9 @@ First off we need to configure ActiveSupport for auto-loading
|
|
40
40
|
{.hidden}
|
41
41
|
|
42
42
|
>> require 'rubygems'
|
43
|
-
>> require '
|
44
|
-
>> require '
|
45
|
-
>> require '
|
43
|
+
>> require 'active_support'
|
44
|
+
>> require 'active_record'
|
45
|
+
>> require 'action_pack'
|
46
46
|
>> require 'action_view'
|
47
47
|
>> require 'action_controller'
|
48
48
|
{.hidden}
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<navigation class="main-nav" merge-attrs param="default">
|
5
5
|
<nav-item href="#{base_url}/">Home</nav-item>
|
6
6
|
<% models.select { |m| linkable?(m, :index) }[0..4].each do |m| -%>
|
7
|
-
<nav-item with="&<%= m.name %>"><ht key="#{
|
7
|
+
<nav-item with="&<%= m.name %>"><ht key="#{m.name.tableize}.nav_item"><%= m.view_hints.model_name_plural %></ht></nav-item>
|
8
8
|
<% end -%>
|
9
9
|
</navigation>
|
10
10
|
</def>
|
data/lib/hobo.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hobo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.101
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Locke
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-01 00:00:00
|
12
|
+
date: 2009-12-01 00:00:00 -05:00
|
13
13
|
default_executable: hobo
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
requirements:
|
41
41
|
- - "="
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 0.9.
|
43
|
+
version: 0.9.101
|
44
44
|
version:
|
45
45
|
- !ruby/object:Gem::Dependency
|
46
46
|
name: hobofields
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.9.
|
53
|
+
version: 0.9.101
|
54
54
|
version:
|
55
55
|
description:
|
56
56
|
email: tom@tomlocke.com
|