midas-guilded 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ = 0.2.8 2009-06-12
2
+
3
+ * Removed some code from the InactiveRecord:Base extension for human attrbiute hint that returns unless
4
+ table_exists? as this does not make any sense for InactiveRecord.
5
+
6
+
1
7
  = 0.2.7 2009-06-10
2
8
 
3
9
  * Changed the BrowserDetector to need to be instantiated to use. No longer just static methods.
data/README.rdoc CHANGED
@@ -66,6 +66,12 @@ The Guilded gem contains the framework to build Guilded components.
66
66
  these is found, it includes it, otherwise, it includes the version specified by the author in the view helper. This is usually
67
67
  an unpacked version of the file.
68
68
 
69
+ === Additional common utilities
70
+ * Determine the browser making a request with the BrowserDetector class and related view helpers.
71
+ * Extends ActiveRecord to have a attr_human_hint method. This method works similar to the attr_human_name method except a hint
72
+ to use on forms, etc is being set.
73
+ * Extends InactiveRecord (http://github.com/midas/inactive_record/tree/master) to include the attr_human_hint method.
74
+
69
75
 
70
76
  == GUILDED COMPONENT PROJECTS
71
77
 
data/guilded.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{guilded}
5
- s.version = "0.2.7"
5
+ s.version = "0.2.8"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["C. Jason Harrelson (midas)"]
9
- s.date = %q{2009-06-10}
9
+ s.date = %q{2009-06-12}
10
10
  s.description = %q{Guilded is a framework for building web based components centered around current web standards and best practices. The current framework is written in ruby, but could be ported to other languages. Guilded intends to provide a toolset for creating and consuming reusable web components. Currently, this problem domain is filled with JavaScript frameworks. These frameworks are wonderful and work very well. However, they do not degrade gracefully and are not accessible. Guilded seeks to provide the same level of "componentization" and ease of use without sacrificing degradability and accessibility. Guilded will achieve these goals by applying each technology at our disposal to do what it was intended. XHTML will be employed for content. CSS used for layout and styling. Behavior will be added to a component with JavaScript through progressive enhancement. The user will have the best experience with a Guilded component when CSS and JavaScript are enabled in their browser, but will still be able to use the component when CSS and JavaScript are disabled. Guilded will use jQuery as it's base JavaScript framework. jQuery was chosen because it lends itself to progressive enhancement due to the way it was authored. In addition, the tight integration of jQuery's selectors with CSS selectors is also highly desirable. When authoring a Guilded component, it is encouraged to write the behavior code as a jQuery plugin. This will allow the jQuery plugin to be used outside of the Guilded project, if desired. Guilded also seeks to provide a standardized CSS framework for creating layouts that are reusable and predictable. Guilded will utilize the currently existing RubyGems system to package its components. A new Guilded component will be packaged in a Gem and have a dependency on the Guilded gem. The Guilded gem contains the framework to build Guilded components.}
11
11
  s.email = ["jason@lookforwardenterprises.com"]
12
12
  s.extra_rdoc_files = ["History.txt", "Manifest.txt", "PostInstall.txt", "README.rdoc"]
data/lib/guilded.rb CHANGED
@@ -73,7 +73,7 @@ require 'guilded/rails/inactive_record/human_attribute_hint'
73
73
  # <%= g_load_alerter :skin => 'blueish', :id => 'load_alerter' %>
74
74
  #
75
75
  module Guilded
76
- VERSION = '0.2.7'
76
+ VERSION = '0.2.8'
77
77
  end
78
78
 
79
79
  ActionView::Base.send( :include, Guilded::Rails::ViewHelpers ) if defined?( ActionView )
@@ -5,7 +5,7 @@ module InactiveRecord
5
5
  # converted to 'Num employees' normally using <tt>human_attribute_name</tt>. More descriptive text can be set. Example:
6
6
  # attr_human_name 'num_employees' => 'Number of employees'
7
7
  def attr_human_hint(attributes) # :nodoc:
8
- return unless table_exists?
8
+ #return unless table_exists?
9
9
 
10
10
  attributes.stringify_keys!
11
11
  write_inheritable_hash("attr_human_hint", attributes || {})
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: midas-guilded
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - C. Jason Harrelson (midas)
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-10 00:00:00 -07:00
12
+ date: 2009-06-12 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency