jferris-formtastic 0.2.1.0.1246297983
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/MIT-LICENSE +20 -0
 - data/README.textile +383 -0
 - data/Rakefile +58 -0
 - data/generators/formtastic_stylesheets/formtastic_stylesheets_generator.rb +21 -0
 - data/generators/formtastic_stylesheets/templates/formtastic.css +136 -0
 - data/generators/formtastic_stylesheets/templates/formtastic_changes.css +10 -0
 - data/lib/formtastic.rb +1254 -0
 - data/lib/justin_french/formtastic.rb +10 -0
 - data/lib/locale/en.yml +8 -0
 - data/rails/init.rb +3 -0
 - data/spec/formtastic_spec.rb +2951 -0
 - data/spec/test_helper.rb +14 -0
 - metadata +65 -0
 
    
        data/spec/test_helper.rb
    ADDED
    
    | 
         @@ -0,0 +1,14 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require 'rubygems'
         
     | 
| 
      
 2 
     | 
    
         
            +
            require 'spec'
         
     | 
| 
      
 3 
     | 
    
         
            +
            require 'activesupport'
         
     | 
| 
      
 4 
     | 
    
         
            +
            require 'active_support'
         
     | 
| 
      
 5 
     | 
    
         
            +
            require 'actionpack'
         
     | 
| 
      
 6 
     | 
    
         
            +
            require 'action_controller'
         
     | 
| 
      
 7 
     | 
    
         
            +
            require 'action_view'
         
     | 
| 
      
 8 
     | 
    
         
            +
            require 'rexml/document'
         
     | 
| 
      
 9 
     | 
    
         
            +
            require 'rspec_hpricot_matchers'
         
     | 
| 
      
 10 
     | 
    
         
            +
            Spec::Runner.configure do |config|
         
     | 
| 
      
 11 
     | 
    
         
            +
              config.include(RspecHpricotMatchers)
         
     | 
| 
      
 12 
     | 
    
         
            +
            end
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib')
         
     | 
    
        metadata
    ADDED
    
    | 
         @@ -0,0 +1,65 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            --- !ruby/object:Gem::Specification 
         
     | 
| 
      
 2 
     | 
    
         
            +
            name: jferris-formtastic
         
     | 
| 
      
 3 
     | 
    
         
            +
            version: !ruby/object:Gem::Version 
         
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.2.1.0.1246297983
         
     | 
| 
      
 5 
     | 
    
         
            +
            platform: ruby
         
     | 
| 
      
 6 
     | 
    
         
            +
            authors: 
         
     | 
| 
      
 7 
     | 
    
         
            +
            - Justin French
         
     | 
| 
      
 8 
     | 
    
         
            +
            autorequire: formtastic
         
     | 
| 
      
 9 
     | 
    
         
            +
            bindir: bin
         
     | 
| 
      
 10 
     | 
    
         
            +
            cert_chain: []
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2009-06-29 00:00:00 -07:00
         
     | 
| 
      
 13 
     | 
    
         
            +
            default_executable: 
         
     | 
| 
      
 14 
     | 
    
         
            +
            dependencies: []
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            description: A Rails form builder plugin/gem with semantically rich and accessible markup
         
     | 
| 
      
 17 
     | 
    
         
            +
            email: justin@indent.com.au
         
     | 
| 
      
 18 
     | 
    
         
            +
            executables: []
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            extensions: []
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            extra_rdoc_files: 
         
     | 
| 
      
 23 
     | 
    
         
            +
            - README.textile
         
     | 
| 
      
 24 
     | 
    
         
            +
            files: 
         
     | 
| 
      
 25 
     | 
    
         
            +
            - MIT-LICENSE
         
     | 
| 
      
 26 
     | 
    
         
            +
            - README.textile
         
     | 
| 
      
 27 
     | 
    
         
            +
            - Rakefile
         
     | 
| 
      
 28 
     | 
    
         
            +
            - generators/formtastic_stylesheets/formtastic_stylesheets_generator.rb
         
     | 
| 
      
 29 
     | 
    
         
            +
            - generators/formtastic_stylesheets/templates/formtastic.css
         
     | 
| 
      
 30 
     | 
    
         
            +
            - generators/formtastic_stylesheets/templates/formtastic_changes.css
         
     | 
| 
      
 31 
     | 
    
         
            +
            - lib/formtastic.rb
         
     | 
| 
      
 32 
     | 
    
         
            +
            - lib/justin_french/formtastic.rb
         
     | 
| 
      
 33 
     | 
    
         
            +
            - lib/locale/en.yml
         
     | 
| 
      
 34 
     | 
    
         
            +
            - rails/init.rb
         
     | 
| 
      
 35 
     | 
    
         
            +
            - spec/formtastic_spec.rb
         
     | 
| 
      
 36 
     | 
    
         
            +
            - spec/test_helper.rb
         
     | 
| 
      
 37 
     | 
    
         
            +
            has_rdoc: false
         
     | 
| 
      
 38 
     | 
    
         
            +
            homepage: http://github.com/justinfrench/formtastic/tree/master
         
     | 
| 
      
 39 
     | 
    
         
            +
            post_install_message: 
         
     | 
| 
      
 40 
     | 
    
         
            +
            rdoc_options: 
         
     | 
| 
      
 41 
     | 
    
         
            +
            - --charset=UTF-8
         
     | 
| 
      
 42 
     | 
    
         
            +
            require_paths: 
         
     | 
| 
      
 43 
     | 
    
         
            +
            - lib
         
     | 
| 
      
 44 
     | 
    
         
            +
            required_ruby_version: !ruby/object:Gem::Requirement 
         
     | 
| 
      
 45 
     | 
    
         
            +
              requirements: 
         
     | 
| 
      
 46 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 47 
     | 
    
         
            +
                - !ruby/object:Gem::Version 
         
     | 
| 
      
 48 
     | 
    
         
            +
                  version: "0"
         
     | 
| 
      
 49 
     | 
    
         
            +
              version: 
         
     | 
| 
      
 50 
     | 
    
         
            +
            required_rubygems_version: !ruby/object:Gem::Requirement 
         
     | 
| 
      
 51 
     | 
    
         
            +
              requirements: 
         
     | 
| 
      
 52 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 53 
     | 
    
         
            +
                - !ruby/object:Gem::Version 
         
     | 
| 
      
 54 
     | 
    
         
            +
                  version: "0"
         
     | 
| 
      
 55 
     | 
    
         
            +
              version: 
         
     | 
| 
      
 56 
     | 
    
         
            +
            requirements: []
         
     | 
| 
      
 57 
     | 
    
         
            +
             
     | 
| 
      
 58 
     | 
    
         
            +
            rubyforge_project: 
         
     | 
| 
      
 59 
     | 
    
         
            +
            rubygems_version: 1.2.0
         
     | 
| 
      
 60 
     | 
    
         
            +
            signing_key: 
         
     | 
| 
      
 61 
     | 
    
         
            +
            specification_version: 3
         
     | 
| 
      
 62 
     | 
    
         
            +
            summary: A Rails form builder plugin/gem with semantically rich and accessible markup
         
     | 
| 
      
 63 
     | 
    
         
            +
            test_files: 
         
     | 
| 
      
 64 
     | 
    
         
            +
            - spec/formtastic_spec.rb
         
     | 
| 
      
 65 
     | 
    
         
            +
            - spec/test_helper.rb
         
     |