vex 0.2.9 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,8 +1,29 @@
1
- 0.2.5
1
+ 0.3.3
2
2
 
3
- Adds ActionController.verify_hostname
4
- Adds ActionController.error
3
+ Adds Postgres support for lite table
4
+
5
+ 0.3.2
6
+
7
+ Adds PartialHelper
8
+
9
+ 0.3.1
10
+
11
+ Adds OutputLogging
12
+
13
+ 0.3.0
14
+
15
+ Adds Object#in?(collection)
16
+
17
+ 0.2.8
18
+
19
+ Adds custom validations
5
20
 
6
21
  0.2.7
7
22
 
8
23
  Fixed ActionController.verify_hostname
24
+
25
+ 0.2.5
26
+
27
+ Adds ActionController.verify_hostname
28
+ Adds ActionController.error
29
+
data/Manifest CHANGED
@@ -1,102 +0,0 @@
1
- CHANGELOG
2
- Manifest
3
- NOTICE.txt
4
- Rakefile
5
- VERSION
6
- config/README
7
- config/dependencies.rb
8
- config/gem.yml
9
- init.rb
10
- lib/nokogiri/nokogiri_ext.rb
11
- lib/vex.rb
12
- lib/vex/action_controller.rb
13
- lib/vex/action_controller/error.rb
14
- lib/vex/action_controller/verify_action.rb
15
- lib/vex/action_controller/verify_hostname.rb
16
- lib/vex/action_controller/whitelisted_actions.rb
17
- lib/vex/active_record.rb
18
- lib/vex/active_record/__init__.rb
19
- lib/vex/active_record/advisory_lock.rb
20
- lib/vex/active_record/advisory_lock/mysql_adapter.rb
21
- lib/vex/active_record/advisory_lock/sqlite_adapter.rb
22
- lib/vex/active_record/belongs_to_many.rb
23
- lib/vex/active_record/custom_validations.rb
24
- lib/vex/active_record/find_by_extension.rb
25
- lib/vex/active_record/gem.rb
26
- lib/vex/active_record/lite_table.rb
27
- lib/vex/active_record/lite_view.rb
28
- lib/vex/active_record/mass_load.rb
29
- lib/vex/active_record/mysql_backup.rb
30
- lib/vex/active_record/plugins/default_value_for/LICENSE.TXT
31
- lib/vex/active_record/plugins/default_value_for/README.rdoc
32
- lib/vex/active_record/plugins/default_value_for/Rakefile
33
- lib/vex/active_record/plugins/default_value_for/init.rb
34
- lib/vex/active_record/plugins/default_value_for/test.rb
35
- lib/vex/active_record/plugins/default_value_for/test.sqlite3
36
- lib/vex/active_record/random_id.rb
37
- lib/vex/active_record/resolver.rb
38
- lib/vex/active_record/serialize_hash.rb
39
- lib/vex/active_record/to_html.rb
40
- lib/vex/active_record/validate.rb
41
- lib/vex/active_record/validation_error_ext.rb
42
- lib/vex/base.rb
43
- lib/vex/base/app.rb
44
- lib/vex/base/array/at_random.rb
45
- lib/vex/base/array/avg.rb
46
- lib/vex/base/array/cross.rb
47
- lib/vex/base/array/each_batch.rb
48
- lib/vex/base/array/parallel_map.rb
49
- lib/vex/base/deprecation.rb
50
- lib/vex/base/enumerable/deep.rb
51
- lib/vex/base/enumerable/enumerable_ext.rb
52
- lib/vex/base/enumerable/progress.rb
53
- lib/vex/base/filesystem/fast_copy.rb
54
- lib/vex/base/filesystem/grep.rb
55
- lib/vex/base/filesystem/lock.rb
56
- lib/vex/base/filesystem/lock.rb.test.lck
57
- lib/vex/base/filesystem/lock.rb.test.pid
58
- lib/vex/base/filesystem/make_dirs.rb
59
- lib/vex/base/filesystem/parse_filename.rb
60
- lib/vex/base/filesystem/tmp_file.rb
61
- lib/vex/base/filesystem/write.rb
62
- lib/vex/base/hash/compact.rb
63
- lib/vex/base/hash/cross.rb
64
- lib/vex/base/hash/easy_access.rb
65
- lib/vex/base/hash/ensure_keys.rb
66
- lib/vex/base/hash/extract.rb
67
- lib/vex/base/hash/extras.rb
68
- lib/vex/base/hash/inspect.rb
69
- lib/vex/base/hash/simple_access_methods.rb
70
- lib/vex/base/invalid_argument/invalid_argument.rb
71
- lib/vex/base/local_conf.rb
72
- lib/vex/base/net/http_ext.rb
73
- lib/vex/base/net/socket_ext.rb
74
- lib/vex/base/object/insp.rb
75
- lib/vex/base/object/multiple_attributes.rb
76
- lib/vex/base/object/singleton_methods.rb
77
- lib/vex/base/object/with_benchmark.rb
78
- lib/vex/base/range_array.rb
79
- lib/vex/base/range_ext.rb
80
- lib/vex/base/safe_token.rb
81
- lib/vex/base/string/string_ext.rb
82
- lib/vex/base/system.rb
83
- lib/vex/base/thread/deferred.rb
84
- lib/vex/base/thread/sleep.rb
85
- lib/vex/base/time/date_ext.rb
86
- lib/vex/boot.rb
87
- lib/vex/boot/array.rb
88
- lib/vex/boot/blank.rb
89
- lib/vex/boot/string.rb
90
- migration/create_request_log.rb
91
- script/console
92
- script/rebuild
93
- tasks/echoe.rake
94
- tasks/validate_db.rake
95
- test/ar.rb
96
- test/auto.rb
97
- test/base-tests/local_conf.rb
98
- test/base.rb
99
- test/boot.rb
100
- test/config/local.defaults.yml
101
- test/config/local.yml
102
- test/test_helper.rb
data/VERSION CHANGED
@@ -1,2 +1,2 @@
1
- 0.2.9
1
+ 0.3.3
2
2
 
@@ -0,0 +1,30 @@
1
+ module ActionController::OutputLogging
2
+ def with_output_logging
3
+ around_filter ActionController::OutputLogging
4
+ end
5
+
6
+ def self.filter(controller, &block)
7
+ yield
8
+ do_output_logging controller, nil
9
+ rescue
10
+ do_output_logging controller, $!
11
+ end
12
+
13
+ def self.do_output_logging(controller, exception)
14
+ msg = []
15
+
16
+ msg << "#{Time.now}: #{controller.request.query_string}"
17
+ msg << (controller.params.to_a.sort_by(&:first).map { |k,v| " #{k}: #{v.inspect}"}).join("\n")
18
+ msg << "Caught exception #{exception.inspect}" if exception
19
+ msg << controller.response.body
20
+ msg = msg.join("\n" + "-" * 80 + "\n") + "\n" + "=" * 80
21
+
22
+ logger.warn msg
23
+ end
24
+
25
+ def self.logger
26
+ @logger ||= ActiveSupport::BufferedLogger.new "#{RAILS_ROOT}/log/output.log"
27
+ end
28
+ end
29
+
30
+ ActionController::Base.extend ActionController::OutputLogging
@@ -0,0 +1,50 @@
1
+ module ActionController::PartialHelper
2
+ def partial_for(name)
3
+ case name
4
+ when String then name
5
+ when Array then partial_for name.first
6
+ else "sh/#{name.class.name.underscore}"
7
+ end
8
+ end
9
+
10
+ #
11
+ # partial <partial-name>, <object>, <locals> or
12
+ # partial <object>, <locals>
13
+ #
14
+ def partial(partial, object=nil, locals=nil)
15
+ #
16
+ # set up object and locals
17
+ unless partial.is_a?(String)
18
+ object, locals = partial, object
19
+ end
20
+ if !locals && object.is_a?(Hash)
21
+ locals, object = object, nil
22
+ end
23
+
24
+ opts = {
25
+ :partial => partial_for(partial),
26
+ :locals => locals
27
+ }
28
+
29
+ if object
30
+ opts[:object] = object
31
+ elsif locals && locals[:collection]
32
+ opts[:collection] = locals[:collection]
33
+ end
34
+
35
+ if self.is_a?(ActionController::Base)
36
+ render_to_string(opts)
37
+ else
38
+ render(opts)
39
+ end
40
+ end
41
+
42
+ def partial?(*args)
43
+ partial *args
44
+ rescue ActionView::MissingTemplate
45
+ logger.debug $!.to_s
46
+ nil
47
+ end
48
+ end
49
+
50
+ ActionController::Base.helper ActionController::PartialHelper
@@ -63,6 +63,7 @@ module ActiveRecord::LiteTable
63
63
  when ActiveRecord::StatementInvalid, SQLite3::SQLException
64
64
  return if $!.to_s =~ /Duplicate key name/ # for MySQL
65
65
  return if $!.to_s =~ /index .* already exists/ # for Sqlite3
66
+ return if $!.to_s =~ /relation .* already exists/ # for Postgresql
66
67
  end
67
68
 
68
69
  raise
@@ -1 +1 @@
1
- 6761.106710
1
+ 991.106710
@@ -42,7 +42,7 @@ end
42
42
 
43
43
  class Object
44
44
  def not_implemented!
45
- raise MissingImplementation.new "#{self.class}##{caller_method_name}"
45
+ raise MissingImplementation, "#{self.class}##{caller_method_name}"
46
46
  end
47
47
 
48
48
  private
@@ -0,0 +1,13 @@
1
+ #
2
+ # short inspect method on all objects.
3
+ #
4
+ # "abcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnop".insp
5
+ # -> "abcdefghijklmnopabcdefghijk..."
6
+ # Model.find(1).insp
7
+ # -> "<Model#1>"
8
+
9
+ class Object
10
+ def in?(collection)
11
+ collection.include?(self)
12
+ end
13
+ end
data/vex.gemspec CHANGED
@@ -2,15 +2,15 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{vex}
5
- s.version = "0.2.9"
5
+ s.version = "0.3.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["pboy"]
9
- s.date = %q{2010-03-17}
9
+ s.date = %q{2010-04-01}
10
10
  s.description = %q{Vex: some ruby extensions}
11
11
  s.email = %q{eno-pboy@open-lab.org}
12
- s.extra_rdoc_files = ["CHANGELOG", "lib/nokogiri/nokogiri_ext.rb", "lib/vex.rb", "lib/vex/action_controller.rb", "lib/vex/action_controller/error.rb", "lib/vex/action_controller/verify_action.rb", "lib/vex/action_controller/verify_hostname.rb", "lib/vex/action_controller/whitelisted_actions.rb", "lib/vex/active_record.rb", "lib/vex/active_record/__init__.rb", "lib/vex/active_record/advisory_lock.rb", "lib/vex/active_record/advisory_lock/mysql_adapter.rb", "lib/vex/active_record/advisory_lock/sqlite_adapter.rb", "lib/vex/active_record/belongs_to_many.rb", "lib/vex/active_record/custom_validations.rb", "lib/vex/active_record/find_by_extension.rb", "lib/vex/active_record/gem.rb", "lib/vex/active_record/lite_table.rb", "lib/vex/active_record/lite_view.rb", "lib/vex/active_record/mass_load.rb", "lib/vex/active_record/mysql_backup.rb", "lib/vex/active_record/plugins/default_value_for/LICENSE.TXT", "lib/vex/active_record/plugins/default_value_for/README.rdoc", "lib/vex/active_record/plugins/default_value_for/Rakefile", "lib/vex/active_record/plugins/default_value_for/init.rb", "lib/vex/active_record/plugins/default_value_for/test.rb", "lib/vex/active_record/plugins/default_value_for/test.sqlite3", "lib/vex/active_record/random_id.rb", "lib/vex/active_record/resolver.rb", "lib/vex/active_record/serialize_hash.rb", "lib/vex/active_record/to_html.rb", "lib/vex/active_record/validate.rb", "lib/vex/active_record/validation_error_ext.rb", "lib/vex/base.rb", "lib/vex/base/app.rb", "lib/vex/base/array/at_random.rb", "lib/vex/base/array/avg.rb", "lib/vex/base/array/cross.rb", "lib/vex/base/array/each_batch.rb", "lib/vex/base/array/parallel_map.rb", "lib/vex/base/deprecation.rb", "lib/vex/base/enumerable/deep.rb", "lib/vex/base/enumerable/enumerable_ext.rb", "lib/vex/base/enumerable/progress.rb", "lib/vex/base/filesystem/fast_copy.rb", "lib/vex/base/filesystem/grep.rb", "lib/vex/base/filesystem/lock.rb", "lib/vex/base/filesystem/lock.rb.test.lck", "lib/vex/base/filesystem/lock.rb.test.pid", "lib/vex/base/filesystem/make_dirs.rb", "lib/vex/base/filesystem/parse_filename.rb", "lib/vex/base/filesystem/tmp_file.rb", "lib/vex/base/filesystem/write.rb", "lib/vex/base/hash/compact.rb", "lib/vex/base/hash/cross.rb", "lib/vex/base/hash/easy_access.rb", "lib/vex/base/hash/ensure_keys.rb", "lib/vex/base/hash/extract.rb", "lib/vex/base/hash/extras.rb", "lib/vex/base/hash/inspect.rb", "lib/vex/base/hash/simple_access_methods.rb", "lib/vex/base/invalid_argument/invalid_argument.rb", "lib/vex/base/local_conf.rb", "lib/vex/base/net/http_ext.rb", "lib/vex/base/net/socket_ext.rb", "lib/vex/base/object/insp.rb", "lib/vex/base/object/multiple_attributes.rb", "lib/vex/base/object/singleton_methods.rb", "lib/vex/base/object/with_benchmark.rb", "lib/vex/base/range_array.rb", "lib/vex/base/range_ext.rb", "lib/vex/base/safe_token.rb", "lib/vex/base/string/string_ext.rb", "lib/vex/base/system.rb", "lib/vex/base/thread/deferred.rb", "lib/vex/base/thread/sleep.rb", "lib/vex/base/time/date_ext.rb", "lib/vex/boot.rb", "lib/vex/boot/array.rb", "lib/vex/boot/blank.rb", "lib/vex/boot/string.rb", "tasks/echoe.rake", "tasks/validate_db.rake"]
13
- s.files = ["CHANGELOG", "Manifest", "NOTICE.txt", "Rakefile", "VERSION", "config/README", "config/dependencies.rb", "config/gem.yml", "init.rb", "lib/nokogiri/nokogiri_ext.rb", "lib/vex.rb", "lib/vex/action_controller.rb", "lib/vex/action_controller/error.rb", "lib/vex/action_controller/verify_action.rb", "lib/vex/action_controller/verify_hostname.rb", "lib/vex/action_controller/whitelisted_actions.rb", "lib/vex/active_record.rb", "lib/vex/active_record/__init__.rb", "lib/vex/active_record/advisory_lock.rb", "lib/vex/active_record/advisory_lock/mysql_adapter.rb", "lib/vex/active_record/advisory_lock/sqlite_adapter.rb", "lib/vex/active_record/belongs_to_many.rb", "lib/vex/active_record/custom_validations.rb", "lib/vex/active_record/find_by_extension.rb", "lib/vex/active_record/gem.rb", "lib/vex/active_record/lite_table.rb", "lib/vex/active_record/lite_view.rb", "lib/vex/active_record/mass_load.rb", "lib/vex/active_record/mysql_backup.rb", "lib/vex/active_record/plugins/default_value_for/LICENSE.TXT", "lib/vex/active_record/plugins/default_value_for/README.rdoc", "lib/vex/active_record/plugins/default_value_for/Rakefile", "lib/vex/active_record/plugins/default_value_for/init.rb", "lib/vex/active_record/plugins/default_value_for/test.rb", "lib/vex/active_record/plugins/default_value_for/test.sqlite3", "lib/vex/active_record/random_id.rb", "lib/vex/active_record/resolver.rb", "lib/vex/active_record/serialize_hash.rb", "lib/vex/active_record/to_html.rb", "lib/vex/active_record/validate.rb", "lib/vex/active_record/validation_error_ext.rb", "lib/vex/base.rb", "lib/vex/base/app.rb", "lib/vex/base/array/at_random.rb", "lib/vex/base/array/avg.rb", "lib/vex/base/array/cross.rb", "lib/vex/base/array/each_batch.rb", "lib/vex/base/array/parallel_map.rb", "lib/vex/base/deprecation.rb", "lib/vex/base/enumerable/deep.rb", "lib/vex/base/enumerable/enumerable_ext.rb", "lib/vex/base/enumerable/progress.rb", "lib/vex/base/filesystem/fast_copy.rb", "lib/vex/base/filesystem/grep.rb", "lib/vex/base/filesystem/lock.rb", "lib/vex/base/filesystem/lock.rb.test.lck", "lib/vex/base/filesystem/lock.rb.test.pid", "lib/vex/base/filesystem/make_dirs.rb", "lib/vex/base/filesystem/parse_filename.rb", "lib/vex/base/filesystem/tmp_file.rb", "lib/vex/base/filesystem/write.rb", "lib/vex/base/hash/compact.rb", "lib/vex/base/hash/cross.rb", "lib/vex/base/hash/easy_access.rb", "lib/vex/base/hash/ensure_keys.rb", "lib/vex/base/hash/extract.rb", "lib/vex/base/hash/extras.rb", "lib/vex/base/hash/inspect.rb", "lib/vex/base/hash/simple_access_methods.rb", "lib/vex/base/invalid_argument/invalid_argument.rb", "lib/vex/base/local_conf.rb", "lib/vex/base/net/http_ext.rb", "lib/vex/base/net/socket_ext.rb", "lib/vex/base/object/insp.rb", "lib/vex/base/object/multiple_attributes.rb", "lib/vex/base/object/singleton_methods.rb", "lib/vex/base/object/with_benchmark.rb", "lib/vex/base/range_array.rb", "lib/vex/base/range_ext.rb", "lib/vex/base/safe_token.rb", "lib/vex/base/string/string_ext.rb", "lib/vex/base/system.rb", "lib/vex/base/thread/deferred.rb", "lib/vex/base/thread/sleep.rb", "lib/vex/base/time/date_ext.rb", "lib/vex/boot.rb", "lib/vex/boot/array.rb", "lib/vex/boot/blank.rb", "lib/vex/boot/string.rb", "migration/create_request_log.rb", "script/console", "script/rebuild", "tasks/echoe.rake", "tasks/validate_db.rake", "test/ar.rb", "test/auto.rb", "test/base-tests/local_conf.rb", "test/base.rb", "test/boot.rb", "test/config/local.defaults.yml", "test/config/local.yml", "test/test_helper.rb", "vex.gemspec"]
12
+ s.extra_rdoc_files = ["CHANGELOG", "lib/nokogiri/nokogiri_ext.rb", "lib/vex.rb", "lib/vex/action_controller.rb", "lib/vex/action_controller/error.rb", "lib/vex/action_controller/output_logging.rb", "lib/vex/action_controller/partial_helper.rb", "lib/vex/action_controller/verify_action.rb", "lib/vex/action_controller/verify_hostname.rb", "lib/vex/action_controller/whitelisted_actions.rb", "lib/vex/active_record.rb", "lib/vex/active_record/__init__.rb", "lib/vex/active_record/advisory_lock.rb", "lib/vex/active_record/advisory_lock/mysql_adapter.rb", "lib/vex/active_record/advisory_lock/sqlite_adapter.rb", "lib/vex/active_record/belongs_to_many.rb", "lib/vex/active_record/custom_validations.rb", "lib/vex/active_record/find_by_extension.rb", "lib/vex/active_record/gem.rb", "lib/vex/active_record/lite_table.rb", "lib/vex/active_record/lite_view.rb", "lib/vex/active_record/mass_load.rb", "lib/vex/active_record/mysql_backup.rb", "lib/vex/active_record/plugins/default_value_for/LICENSE.TXT", "lib/vex/active_record/plugins/default_value_for/README.rdoc", "lib/vex/active_record/plugins/default_value_for/Rakefile", "lib/vex/active_record/plugins/default_value_for/init.rb", "lib/vex/active_record/plugins/default_value_for/test.rb", "lib/vex/active_record/plugins/default_value_for/test.sqlite3", "lib/vex/active_record/random_id.rb", "lib/vex/active_record/resolver.rb", "lib/vex/active_record/serialize_hash.rb", "lib/vex/active_record/to_html.rb", "lib/vex/active_record/validate.rb", "lib/vex/active_record/validation_error_ext.rb", "lib/vex/base.rb", "lib/vex/base/app.rb", "lib/vex/base/array/at_random.rb", "lib/vex/base/array/avg.rb", "lib/vex/base/array/cross.rb", "lib/vex/base/array/each_batch.rb", "lib/vex/base/array/parallel_map.rb", "lib/vex/base/deprecation.rb", "lib/vex/base/enumerable/deep.rb", "lib/vex/base/enumerable/enumerable_ext.rb", "lib/vex/base/enumerable/progress.rb", "lib/vex/base/filesystem/fast_copy.rb", "lib/vex/base/filesystem/grep.rb", "lib/vex/base/filesystem/lock.rb", "lib/vex/base/filesystem/lock.rb.test.lck", "lib/vex/base/filesystem/lock.rb.test.pid", "lib/vex/base/filesystem/make_dirs.rb", "lib/vex/base/filesystem/parse_filename.rb", "lib/vex/base/filesystem/tmp_file.rb", "lib/vex/base/filesystem/write.rb", "lib/vex/base/hash/compact.rb", "lib/vex/base/hash/cross.rb", "lib/vex/base/hash/easy_access.rb", "lib/vex/base/hash/ensure_keys.rb", "lib/vex/base/hash/extract.rb", "lib/vex/base/hash/extras.rb", "lib/vex/base/hash/inspect.rb", "lib/vex/base/hash/simple_access_methods.rb", "lib/vex/base/invalid_argument/invalid_argument.rb", "lib/vex/base/local_conf.rb", "lib/vex/base/net/http_ext.rb", "lib/vex/base/net/socket_ext.rb", "lib/vex/base/object/in.rb", "lib/vex/base/object/insp.rb", "lib/vex/base/object/multiple_attributes.rb", "lib/vex/base/object/singleton_methods.rb", "lib/vex/base/object/with_benchmark.rb", "lib/vex/base/range_array.rb", "lib/vex/base/range_ext.rb", "lib/vex/base/safe_token.rb", "lib/vex/base/string/string_ext.rb", "lib/vex/base/system.rb", "lib/vex/base/thread/deferred.rb", "lib/vex/base/thread/sleep.rb", "lib/vex/base/time/date_ext.rb", "lib/vex/boot.rb", "lib/vex/boot/array.rb", "lib/vex/boot/blank.rb", "lib/vex/boot/string.rb", "tasks/echoe.rake", "tasks/validate_db.rake"]
13
+ s.files = ["CHANGELOG", "Manifest", "NOTICE.txt", "Rakefile", "VERSION", "config/README", "config/dependencies.rb", "config/gem.yml", "init.rb", "lib/nokogiri/nokogiri_ext.rb", "lib/vex.rb", "lib/vex/action_controller.rb", "lib/vex/action_controller/error.rb", "lib/vex/action_controller/output_logging.rb", "lib/vex/action_controller/partial_helper.rb", "lib/vex/action_controller/verify_action.rb", "lib/vex/action_controller/verify_hostname.rb", "lib/vex/action_controller/whitelisted_actions.rb", "lib/vex/active_record.rb", "lib/vex/active_record/__init__.rb", "lib/vex/active_record/advisory_lock.rb", "lib/vex/active_record/advisory_lock/mysql_adapter.rb", "lib/vex/active_record/advisory_lock/sqlite_adapter.rb", "lib/vex/active_record/belongs_to_many.rb", "lib/vex/active_record/custom_validations.rb", "lib/vex/active_record/find_by_extension.rb", "lib/vex/active_record/gem.rb", "lib/vex/active_record/lite_table.rb", "lib/vex/active_record/lite_view.rb", "lib/vex/active_record/mass_load.rb", "lib/vex/active_record/mysql_backup.rb", "lib/vex/active_record/plugins/default_value_for/LICENSE.TXT", "lib/vex/active_record/plugins/default_value_for/README.rdoc", "lib/vex/active_record/plugins/default_value_for/Rakefile", "lib/vex/active_record/plugins/default_value_for/init.rb", "lib/vex/active_record/plugins/default_value_for/test.rb", "lib/vex/active_record/plugins/default_value_for/test.sqlite3", "lib/vex/active_record/random_id.rb", "lib/vex/active_record/resolver.rb", "lib/vex/active_record/serialize_hash.rb", "lib/vex/active_record/to_html.rb", "lib/vex/active_record/validate.rb", "lib/vex/active_record/validation_error_ext.rb", "lib/vex/base.rb", "lib/vex/base/app.rb", "lib/vex/base/array/at_random.rb", "lib/vex/base/array/avg.rb", "lib/vex/base/array/cross.rb", "lib/vex/base/array/each_batch.rb", "lib/vex/base/array/parallel_map.rb", "lib/vex/base/deprecation.rb", "lib/vex/base/enumerable/deep.rb", "lib/vex/base/enumerable/enumerable_ext.rb", "lib/vex/base/enumerable/progress.rb", "lib/vex/base/filesystem/fast_copy.rb", "lib/vex/base/filesystem/grep.rb", "lib/vex/base/filesystem/lock.rb", "lib/vex/base/filesystem/lock.rb.test.lck", "lib/vex/base/filesystem/lock.rb.test.pid", "lib/vex/base/filesystem/make_dirs.rb", "lib/vex/base/filesystem/parse_filename.rb", "lib/vex/base/filesystem/tmp_file.rb", "lib/vex/base/filesystem/write.rb", "lib/vex/base/hash/compact.rb", "lib/vex/base/hash/cross.rb", "lib/vex/base/hash/easy_access.rb", "lib/vex/base/hash/ensure_keys.rb", "lib/vex/base/hash/extract.rb", "lib/vex/base/hash/extras.rb", "lib/vex/base/hash/inspect.rb", "lib/vex/base/hash/simple_access_methods.rb", "lib/vex/base/invalid_argument/invalid_argument.rb", "lib/vex/base/local_conf.rb", "lib/vex/base/net/http_ext.rb", "lib/vex/base/net/socket_ext.rb", "lib/vex/base/object/in.rb", "lib/vex/base/object/insp.rb", "lib/vex/base/object/multiple_attributes.rb", "lib/vex/base/object/singleton_methods.rb", "lib/vex/base/object/with_benchmark.rb", "lib/vex/base/range_array.rb", "lib/vex/base/range_ext.rb", "lib/vex/base/safe_token.rb", "lib/vex/base/string/string_ext.rb", "lib/vex/base/system.rb", "lib/vex/base/thread/deferred.rb", "lib/vex/base/thread/sleep.rb", "lib/vex/base/time/date_ext.rb", "lib/vex/boot.rb", "lib/vex/boot/array.rb", "lib/vex/boot/blank.rb", "lib/vex/boot/string.rb", "migration/create_request_log.rb", "script/console", "script/rebuild", "tasks/echoe.rake", "tasks/validate_db.rake", "test/ar.rb", "test/auto.rb", "test/base-tests/local_conf.rb", "test/base.rb", "test/boot.rb", "test/config/local.defaults.yml", "test/config/local.yml", "test/test_helper.rb", "vex.gemspec"]
14
14
  s.homepage = %q{http://github.com/pboy/vex}
15
15
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Vex"]
16
16
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - pboy
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-03-17 00:00:00 +01:00
12
+ date: 2010-04-01 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -74,6 +74,8 @@ extra_rdoc_files:
74
74
  - lib/vex.rb
75
75
  - lib/vex/action_controller.rb
76
76
  - lib/vex/action_controller/error.rb
77
+ - lib/vex/action_controller/output_logging.rb
78
+ - lib/vex/action_controller/partial_helper.rb
77
79
  - lib/vex/action_controller/verify_action.rb
78
80
  - lib/vex/action_controller/verify_hostname.rb
79
81
  - lib/vex/action_controller/whitelisted_actions.rb
@@ -134,6 +136,7 @@ extra_rdoc_files:
134
136
  - lib/vex/base/local_conf.rb
135
137
  - lib/vex/base/net/http_ext.rb
136
138
  - lib/vex/base/net/socket_ext.rb
139
+ - lib/vex/base/object/in.rb
137
140
  - lib/vex/base/object/insp.rb
138
141
  - lib/vex/base/object/multiple_attributes.rb
139
142
  - lib/vex/base/object/singleton_methods.rb
@@ -166,6 +169,8 @@ files:
166
169
  - lib/vex.rb
167
170
  - lib/vex/action_controller.rb
168
171
  - lib/vex/action_controller/error.rb
172
+ - lib/vex/action_controller/output_logging.rb
173
+ - lib/vex/action_controller/partial_helper.rb
169
174
  - lib/vex/action_controller/verify_action.rb
170
175
  - lib/vex/action_controller/verify_hostname.rb
171
176
  - lib/vex/action_controller/whitelisted_actions.rb
@@ -226,6 +231,7 @@ files:
226
231
  - lib/vex/base/local_conf.rb
227
232
  - lib/vex/base/net/http_ext.rb
228
233
  - lib/vex/base/net/socket_ext.rb
234
+ - lib/vex/base/object/in.rb
229
235
  - lib/vex/base/object/insp.rb
230
236
  - lib/vex/base/object/multiple_attributes.rb
231
237
  - lib/vex/base/object/singleton_methods.rb