/
ChangeLog
70 lines (46 loc) · 2.92 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
2011-04-22 Mike Howard <mike@clove.com
* version 0.0.12 (don't ask - I'm still learning git and ruby-gems)
* lib/manage_meta/railtie.rb: converted initialization to using a railtie and
an initializer which adds the initialization code to ActiveSupport's on_load chain.
* lib/manage_meta.rb: ripped out the monkey patch and conditionally require lib/manage_meta/railtie.rb
* Rakefile: expanded to do more tasks
* /tests/manage_meta_test.rb (test_helper_method_called): added test to insure that the ActiveController::Base
method 'helper_method' is called
2011-04-17 Mike Howard <mike@clove.com>
* lib/manage_meta/manage_meta.rb (included) restored 'included' to conditionally invoke 'helper_method'
on 'render_meta'.
corrected visibility of methods and moved public & protected macros to bottom of module
* versions 0.0.6 & 0.0.7 - in rapid succession
* tests/manage_meta_test.rb (many): added tests for _manage_meta_init.
* lib/manage_meta/manage_meta.rb (included): deleted 'included' method
and all the fancy stuff - couldn't make it work because it required hacking into
'initialize' - which seems to be a special method which is hard to hack.
(_manage_meta_init): new method which initializes required instance variables
2011-04-16 Mike Howard <mike@clove.com>
* lib/manage_meta/manage_meta.rb (included): added guards to old_initialize logic to cover the
case where initialize is not defined - as in Rails3 running under Ruby 1.8.7
(_manage_meta_name_to_sym, _manage_meta_sym_to_name): new functions which do what they say they
will do. These support converting all hash keys to symbols and emitting meta tag names
as Capitalized words joined by hyphens.
(add_meta, del_meta, render_meta): modified to use manage_meta_...to... calls
test/manage_meta_test.rb (ManageMetaTest): modified to test for symbols as keys and capitalized
words in rendering. Added test to make sure included works properly for a class w/o an initialize
method
* manage_meta.gem (s.version): changed to 0.0.5
* README.markdown: brought up to date with changes to hashes. Corrected many errors in content
and formatting.
2011-04-11 Mike Howard <mike@clove.com>
* test/manage_meta_test.rb (ManageMetaTest): added code to define refute() and refute_respond_to()
so the tests work for Ruby 1.8.7
* manage_meta.gem (s.version): changed to 0.0.4
2011-04-09 Mike Howard <mike@clove.com>
* lib/manage_meta/manage_meta.rb (included): moved conditional mod.helper_method call from
bottom of module to 'included' callback. Explicitly named 'mod' as receiver. now works
* manage_meta.gem (s.version): changed to 0.0.3
* 0.0.2 released
* Rakefile: added tasks 'gem' and 'doc'
* test/manage_meta_test.rb (add_format): changed name to add_meta_format to minimize name collisions
* README.markdown (add_format): likewise
* lib/manage_meta/manage_meta.rb (add_format): likewise
2011-04-08
* manage_meta.gemspec (s.version): changed to 0.0.2