rails 0.10.0 → 0.10.1
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.
Potentially problematic release.
This version of rails might be problematic. Click here for more details.
- data/CHANGELOG +35 -0
 - data/Rakefile +9 -9
 - data/bin/destroy +2 -0
 - data/bin/generate +2 -0
 - data/bin/rails +3 -1
 - data/bin/server +1 -4
 - data/dispatches/dispatch.fcgi +14 -1
 - data/environments/shared.rb +2 -2
 - data/environments/shared_for_gem.rb +2 -2
 - data/fresh_rakefile +12 -6
 - data/helpers/test_helper.rb +2 -1
 - data/html/favicon.ico +0 -0
 - data/html/index.html +5 -0
 - data/lib/code_statistics.rb +1 -1
 - data/lib/dispatcher.rb +1 -1
 - data/lib/rails_generator.rb +2 -1
 - data/lib/rails_generator/generators/applications/app/app_generator.rb +3 -1
 - data/lib/rails_generator/generators/components/scaffold/templates/view_new.rhtml +1 -1
 - data/lib/rails_generator/generators/components/web_service/USAGE +28 -0
 - data/lib/rails_generator/generators/components/web_service/templates/api_definition.rb +5 -0
 - data/lib/rails_generator/generators/components/web_service/templates/controller.rb +8 -0
 - data/lib/rails_generator/generators/components/web_service/templates/functional_test.rb +19 -0
 - data/lib/rails_generator/generators/components/web_service/web_service_generator.rb +29 -0
 - data/lib/webrick_server.rb +2 -1
 - metadata +16 -8
 
    
        data/CHANGELOG
    CHANGED
    
    | 
         @@ -1,3 +1,38 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            *0.10.1* (7th March, 2005)
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            * Fixed rake stats to ignore editor backup files like model.rb~ #791 [skanthak]
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            * Added exception shallowing if the DRb server can't be started (not worth making a fuss about to distract new users) #779 [Tobias Luetke]
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            * Added an empty favicon.ico file to the public directory of new applications (so the logs are not spammed by its absence)
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            * Fixed that scaffold generator new template should use local variable instead of instance variable #778 [Dan Peterson]
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            * Allow unit tests to run on a remote server for PostgreSQL #781 [adamm@galacticasoftware.com]
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            * Added web_service generator (run ./script/generate web_service for help) #776 [Leon Bredt]
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            * Added app/apis and components to code statistics report #729 [Scott Barron]
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            * Fixed WEBrick server to use ABSOLUTE_RAILS_ROOT instead of working_directory #687 [Nicholas Seckar]
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            * Fixed rails_generator to be usable without RubyGems #686 [Cristi BALAN]
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
            * Fixed -h/--help for generate and destroy generators #331
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
            * Added begin/rescue around the FCGI dispatcher so no uncaught exceptions can bubble up to kill the process (logs to log/fastcgi.crash.log)
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
            * Fixed that association#count would produce invalid sql when called sequentialy #659 [kanis@comcard.de]
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
            * Fixed test/mocks/testing to the correct test/mocks/test #740
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
            * Added early failure if the Ruby version isn't 1.8.2 or above #735
         
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
            * Removed the obsolete -i/--index option from the WEBrick servlet #743
         
     | 
| 
      
 32 
     | 
    
         
            +
             
     | 
| 
      
 33 
     | 
    
         
            +
            * Upgraded to Active Record 1.8.0, Action Pack 1.5.1, Action Mailer 0.7.1, Action Web Service 0.6.0, Active Support 1.0.1
         
     | 
| 
      
 34 
     | 
    
         
            +
             
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
       1 
36 
     | 
    
         
             
            *0.10.0* (24th February, 2005)
         
     | 
| 
       2 
37 
     | 
    
         | 
| 
       3 
38 
     | 
    
         
             
            * Changed default IP binding for WEBrick from 127.0.0.1 to 0.0.0.0 so that the server is accessible both locally and remotely #696 [Marcel]
         
     | 
    
        data/Rakefile
    CHANGED
    
    | 
         @@ -9,7 +9,7 @@ require 'rbconfig' 
     | 
|
| 
       9 
9 
     | 
    
         | 
| 
       10 
10 
     | 
    
         
             
            PKG_BUILD       = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
         
     | 
| 
       11 
11 
     | 
    
         
             
            PKG_NAME        = 'rails'
         
     | 
| 
       12 
     | 
    
         
            -
            PKG_VERSION     = '0.10. 
     | 
| 
      
 12 
     | 
    
         
            +
            PKG_VERSION     = '0.10.1' + PKG_BUILD
         
     | 
| 
       13 
13 
     | 
    
         
             
            PKG_FILE_NAME   = "#{PKG_NAME}-#{PKG_VERSION}"
         
     | 
| 
       14 
14 
     | 
    
         
             
            PKG_DESTINATION = ENV["RAILS_PKG_DESTINATION"] || "../#{PKG_NAME}"
         
     | 
| 
       15 
15 
     | 
    
         | 
| 
         @@ -17,10 +17,10 @@ PKG_DESTINATION = ENV["RAILS_PKG_DESTINATION"] || "../#{PKG_NAME}" 
     | 
|
| 
       17 
17 
     | 
    
         
             
            BASE_DIRS   = %w( app config/environments components db doc log lib public script test vendor )
         
     | 
| 
       18 
18 
     | 
    
         
             
            APP_DIRS    = %w( apis models controllers helpers views views/layouts )
         
     | 
| 
       19 
19 
     | 
    
         
             
            PUBLIC_DIRS = %w( images javascripts stylesheets )
         
     | 
| 
       20 
     | 
    
         
            -
            TEST_DIRS   = %w( fixtures unit functional mocks mocks/development mocks/ 
     | 
| 
      
 20 
     | 
    
         
            +
            TEST_DIRS   = %w( fixtures unit functional mocks mocks/development mocks/test )
         
     | 
| 
       21 
21 
     | 
    
         | 
| 
       22 
22 
     | 
    
         
             
            LOG_FILES    = %w( server.log development.log test.log production.log )
         
     | 
| 
       23 
     | 
    
         
            -
            HTML_FILES   = %w( 404.html 500.html index.html )
         
     | 
| 
      
 23 
     | 
    
         
            +
            HTML_FILES   = %w( 404.html 500.html index.html favicon.ico )
         
     | 
| 
       24 
24 
     | 
    
         
             
            BIN_FILES    = %w( generate destroy breakpointer console server update )
         
     | 
| 
       25 
25 
     | 
    
         | 
| 
       26 
26 
     | 
    
         
             
            VENDOR_LIBS = %w( actionpack activerecord actionmailer activesupport actionwebservice railties )
         
     | 
| 
         @@ -237,11 +237,11 @@ spec = Gem::Specification.new do |s| 
     | 
|
| 
       237 
237 
     | 
    
         
             
              EOF
         
     | 
| 
       238 
238 
     | 
    
         | 
| 
       239 
239 
     | 
    
         
             
              s.add_dependency('rake', '>= 0.4.15')
         
     | 
| 
       240 
     | 
    
         
            -
              s.add_dependency('activesupport',    '= 1.0. 
     | 
| 
       241 
     | 
    
         
            -
              s.add_dependency('activerecord',     '= 1. 
     | 
| 
       242 
     | 
    
         
            -
              s.add_dependency('actionpack',       '= 1.5. 
     | 
| 
       243 
     | 
    
         
            -
              s.add_dependency('actionmailer',     '= 0.7. 
     | 
| 
       244 
     | 
    
         
            -
              s.add_dependency('actionwebservice', '= 0. 
     | 
| 
      
 240 
     | 
    
         
            +
              s.add_dependency('activesupport',    '= 1.0.1' + PKG_BUILD)
         
     | 
| 
      
 241 
     | 
    
         
            +
              s.add_dependency('activerecord',     '= 1.8.0' + PKG_BUILD)
         
     | 
| 
      
 242 
     | 
    
         
            +
              s.add_dependency('actionpack',       '= 1.5.1' + PKG_BUILD)
         
     | 
| 
      
 243 
     | 
    
         
            +
              s.add_dependency('actionmailer',     '= 0.7.1' + PKG_BUILD)
         
     | 
| 
      
 244 
     | 
    
         
            +
              s.add_dependency('actionwebservice', '= 0.6.0' + PKG_BUILD)
         
     | 
| 
       245 
245 
     | 
    
         | 
| 
       246 
246 
     | 
    
         
             
              s.rdoc_options << '--exclude' << '.'
         
     | 
| 
       247 
247 
     | 
    
         
             
              s.has_rdoc = false
         
     | 
| 
         @@ -267,4 +267,4 @@ desc "Publish the API documentation" 
     | 
|
| 
       267 
267 
     | 
    
         
             
            task :pgem => [:gem] do 
         
     | 
| 
       268 
268 
     | 
    
         
             
              Rake::SshFilePublisher.new("davidhh@comox.textdrive.com", "public_html/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload
         
     | 
| 
       269 
269 
     | 
    
         
             
              `ssh davidhh@comox.textdrive.com './gemupdate.sh'`
         
     | 
| 
       270 
     | 
    
         
            -
            end
         
     | 
| 
      
 270 
     | 
    
         
            +
            end
         
     | 
    
        data/bin/destroy
    CHANGED
    
    
    
        data/bin/generate
    CHANGED
    
    
    
        data/bin/rails
    CHANGED
    
    | 
         @@ -1,4 +1,6 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            abort "Rails requires Ruby 1.8.2" if RUBY_VERSION < "1.8.2"
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
       1 
3 
     | 
    
         
             
            require File.dirname(__FILE__) + '/../lib/rails_generator'
         
     | 
| 
       2 
4 
     | 
    
         
             
            require 'rails_generator/scripts/generate'
         
     | 
| 
       3 
5 
     | 
    
         
             
            Rails::Generator::Base.use_application_sources!
         
     | 
| 
       4 
     | 
    
         
            -
            Rails::Generator::Scripts::Generate.new.run(ARGV, :generator => 'app')
         
     | 
| 
      
 6 
     | 
    
         
            +
            Rails::Generator::Scripts::Generate.new.run(ARGV, :generator => 'app')
         
     | 
    
        data/bin/server
    CHANGED
    
    | 
         @@ -22,10 +22,7 @@ ARGV.options do |opts| 
     | 
|
| 
       22 
22 
     | 
    
         
             
                      "Default: 3000") { |OPTIONS[:port]| }
         
     | 
| 
       23 
23 
     | 
    
         
             
              opts.on("-b", "--binding=ip", String,
         
     | 
| 
       24 
24 
     | 
    
         
             
                      "Binds Rails to the specified ip.",
         
     | 
| 
       25 
     | 
    
         
            -
                      "Default:  
     | 
| 
       26 
     | 
    
         
            -
              opts.on("-i", "--index=controller", String,
         
     | 
| 
       27 
     | 
    
         
            -
                      "Specifies an index controller that requests for root will go to (instead of congratulations screen)."
         
     | 
| 
       28 
     | 
    
         
            -
                      ) { |OPTIONS[:index_controller]| }
         
     | 
| 
      
 25 
     | 
    
         
            +
                      "Default: 0.0.0.0") { |OPTIONS[:ip]| }
         
     | 
| 
       29 
26 
     | 
    
         
             
              opts.on("-e", "--environment=name", String,
         
     | 
| 
       30 
27 
     | 
    
         
             
                      "Specifies the environment to run this server under (test/development/production).",
         
     | 
| 
       31 
28 
     | 
    
         
             
                      "Default: development") { |OPTIONS[:environment]| }
         
     | 
    
        data/dispatches/dispatch.fcgi
    CHANGED
    
    | 
         @@ -4,4 +4,17 @@ require File.dirname(__FILE__) + "/../config/environment" 
     | 
|
| 
       4 
4 
     | 
    
         
             
            require 'dispatcher'
         
     | 
| 
       5 
5 
     | 
    
         
             
            require 'fcgi'
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
     | 
    
         
            -
             
     | 
| 
      
 7 
     | 
    
         
            +
            log_file_path = "#{RAILS_ROOT}/log/fastcgi.crash.log"
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            FCGI.each_cgi do |cgi| 
         
     | 
| 
      
 10 
     | 
    
         
            +
              begin
         
     | 
| 
      
 11 
     | 
    
         
            +
                Dispatcher.dispatch(cgi)
         
     | 
| 
      
 12 
     | 
    
         
            +
              rescue Object => e
         
     | 
| 
      
 13 
     | 
    
         
            +
                error_message = "[#{Time.now}] Dispatcher failed to catch: #{e} (#{e.class})\n  #{e.backtrace.join("\n  ")}\n"
         
     | 
| 
      
 14 
     | 
    
         
            +
                begin
         
     | 
| 
      
 15 
     | 
    
         
            +
                  Logger.new(log_file_path).fatal(error_message)
         
     | 
| 
      
 16 
     | 
    
         
            +
                rescue Object => log_error
         
     | 
| 
      
 17 
     | 
    
         
            +
                  STDERR << "Couldn't write to #{log_file_path} (#{log_error} [#{log_error.class}])\n" << error_message
         
     | 
| 
      
 18 
     | 
    
         
            +
                end
         
     | 
| 
      
 19 
     | 
    
         
            +
              end
         
     | 
| 
      
 20 
     | 
    
         
            +
            end
         
     | 
    
        data/environments/shared.rb
    CHANGED
    
    | 
         @@ -64,8 +64,8 @@ end 
     | 
|
| 
       64 
64 
     | 
    
         
             
            ActionController::Routing::Routes.reload
         
     | 
| 
       65 
65 
     | 
    
         | 
| 
       66 
66 
     | 
    
         
             
            Controllers = Dependencies::LoadingModule.root(
         
     | 
| 
       67 
     | 
    
         
            -
              File. 
     | 
| 
       68 
     | 
    
         
            -
              File. 
     | 
| 
      
 67 
     | 
    
         
            +
              File.join(RAILS_ROOT, 'app', 'controllers'),
         
     | 
| 
      
 68 
     | 
    
         
            +
              File.join(RAILS_ROOT, 'components')
         
     | 
| 
       69 
69 
     | 
    
         
             
            )
         
     | 
| 
       70 
70 
     | 
    
         | 
| 
       71 
71 
     | 
    
         
             
            # Include your app's configuration here:
         
     | 
| 
         @@ -59,8 +59,8 @@ end 
     | 
|
| 
       59 
59 
     | 
    
         
             
            ActionController::Routing::Routes.reload
         
     | 
| 
       60 
60 
     | 
    
         | 
| 
       61 
61 
     | 
    
         
             
            Controllers = Dependencies::LoadingModule.root(
         
     | 
| 
       62 
     | 
    
         
            -
              File. 
     | 
| 
       63 
     | 
    
         
            -
              File. 
     | 
| 
      
 62 
     | 
    
         
            +
              File.join(RAILS_ROOT, 'app', 'controllers'),
         
     | 
| 
      
 63 
     | 
    
         
            +
              File.join(RAILS_ROOT, 'components')
         
     | 
| 
       64 
64 
     | 
    
         
             
            )
         
     | 
| 
       65 
65 
     | 
    
         | 
| 
       66 
66 
     | 
    
         
             
            # Include your app's configuration here:
         
     | 
    
        data/fresh_rakefile
    CHANGED
    
    | 
         @@ -75,7 +75,6 @@ Rake::RDocTask.new("apidoc") { |rdoc| 
     | 
|
| 
       75 
75 
     | 
    
         
             
              rdoc.options << '--line-numbers --inline-source'
         
     | 
| 
       76 
76 
     | 
    
         
             
              rdoc.rdoc_files.include('README')
         
     | 
| 
       77 
77 
     | 
    
         
             
              rdoc.rdoc_files.include('CHANGELOG')
         
     | 
| 
       78 
     | 
    
         
            -
              rdoc.rdoc_files.include('vendor/railties/lib/breakpoint.rb')
         
     | 
| 
       79 
78 
     | 
    
         
             
              rdoc.rdoc_files.include('vendor/railties/CHANGELOG')
         
     | 
| 
       80 
79 
     | 
    
         
             
              rdoc.rdoc_files.include('vendor/railties/MIT-LICENSE')
         
     | 
| 
       81 
80 
     | 
    
         
             
              rdoc.rdoc_files.include('vendor/activerecord/README')
         
     | 
| 
         @@ -89,14 +88,21 @@ Rake::RDocTask.new("apidoc") { |rdoc| 
     | 
|
| 
       89 
88 
     | 
    
         
             
              rdoc.rdoc_files.include('vendor/actionmailer/README')
         
     | 
| 
       90 
89 
     | 
    
         
             
              rdoc.rdoc_files.include('vendor/actionmailer/CHANGELOG')
         
     | 
| 
       91 
90 
     | 
    
         
             
              rdoc.rdoc_files.include('vendor/actionmailer/lib/action_mailer/base.rb')
         
     | 
| 
      
 91 
     | 
    
         
            +
              rdoc.rdoc_files.include('vendor/actionwebservice/README')
         
     | 
| 
      
 92 
     | 
    
         
            +
              rdoc.rdoc_files.include('vendor/actionwebservice/ChangeLog')
         
     | 
| 
      
 93 
     | 
    
         
            +
              rdoc.rdoc_files.include('vendor/actionwebservice/lib/action_web_service/**/*.rb')
         
     | 
| 
      
 94 
     | 
    
         
            +
              rdoc.rdoc_files.include('vendor/activesupport/README')
         
     | 
| 
      
 95 
     | 
    
         
            +
              rdoc.rdoc_files.include('vendor/activesupport/lib/active_support/**/*.rb')
         
     | 
| 
       92 
96 
     | 
    
         
             
            }
         
     | 
| 
       93 
97 
     | 
    
         | 
| 
       94 
98 
     | 
    
         
             
            desc "Report code statistics (KLOCs, etc) from the application"
         
     | 
| 
       95 
     | 
    
         
            -
            task :stats do
         
     | 
| 
      
 99 
     | 
    
         
            +
            task :stats => [ :environment ] do
         
     | 
| 
       96 
100 
     | 
    
         
             
              require 'code_statistics'
         
     | 
| 
       97 
101 
     | 
    
         
             
              CodeStatistics.new(
         
     | 
| 
       98 
102 
     | 
    
         
             
                ["Helpers", "app/helpers"], 
         
     | 
| 
       99 
103 
     | 
    
         
             
                ["Controllers", "app/controllers"], 
         
     | 
| 
      
 104 
     | 
    
         
            +
                ["APIs", "app/apis"],
         
     | 
| 
      
 105 
     | 
    
         
            +
                ["Components", "components"],
         
     | 
| 
       100 
106 
     | 
    
         
             
                ["Functionals", "test/functional"],
         
     | 
| 
       101 
107 
     | 
    
         
             
                ["Models", "app/models"],
         
     | 
| 
       102 
108 
     | 
    
         
             
                ["Units", "test/unit"]
         
     | 
| 
         @@ -114,7 +120,7 @@ task :clone_structure_to_test => [ :db_structure_dump, :purge_test_database ] do 
     | 
|
| 
       114 
120 
     | 
    
         
             
                    ActiveRecord::Base.connection.execute(table)
         
     | 
| 
       115 
121 
     | 
    
         
             
                  end
         
     | 
| 
       116 
122 
     | 
    
         
             
                when  "postgresql"
         
     | 
| 
       117 
     | 
    
         
            -
                  `psql -U #{abcs["test"]["username"]} -f db/#{RAILS_ENV}_structure.sql #{abcs["test"]["database"]}`
         
     | 
| 
      
 123 
     | 
    
         
            +
                  `psql -U #{abcs["test"]["username"]} -h #{abcs["test"]["host"]} -f db/#{RAILS_ENV}_structure.sql #{abcs["test"]["database"]}`
         
     | 
| 
       118 
124 
     | 
    
         
             
                when "sqlite", "sqlite3"
         
     | 
| 
       119 
125 
     | 
    
         
             
                  `#{abcs[RAILS_ENV]["adapter"]} #{abcs["test"]["dbfile"]} < db/#{RAILS_ENV}_structure.sql`
         
     | 
| 
       120 
126 
     | 
    
         
             
                else 
         
     | 
| 
         @@ -130,7 +136,7 @@ task :db_structure_dump => :environment do 
     | 
|
| 
       130 
136 
     | 
    
         
             
                  ActiveRecord::Base.establish_connection(abcs[RAILS_ENV])
         
     | 
| 
       131 
137 
     | 
    
         
             
                  File.open("db/#{RAILS_ENV}_structure.sql", "w+") { |f| f << ActiveRecord::Base.connection.structure_dump }
         
     | 
| 
       132 
138 
     | 
    
         
             
                when  "postgresql"
         
     | 
| 
       133 
     | 
    
         
            -
                  `pg_dump -U #{abcs[RAILS_ENV]["username"]} -s -f db/#{RAILS_ENV}_structure.sql #{abcs[RAILS_ENV]["database"]}`
         
     | 
| 
      
 139 
     | 
    
         
            +
                  `pg_dump -U #{abcs[RAILS_ENV]["username"]} -h #{abcs[RAILS_ENV]["host"]} -s -f db/#{RAILS_ENV}_structure.sql #{abcs[RAILS_ENV]["database"]}`
         
     | 
| 
       134 
140 
     | 
    
         
             
                when "sqlite", "sqlite3"
         
     | 
| 
       135 
141 
     | 
    
         
             
                  `#{abcs[RAILS_ENV]["adapter"]} #{abcs[RAILS_ENV]["dbfile"]} .schema > db/#{RAILS_ENV}_structure.sql`
         
     | 
| 
       136 
142 
     | 
    
         
             
                else 
         
     | 
| 
         @@ -146,8 +152,8 @@ task :purge_test_database => :environment do 
     | 
|
| 
       146 
152 
     | 
    
         
             
                  ActiveRecord::Base.establish_connection(abcs[RAILS_ENV])
         
     | 
| 
       147 
153 
     | 
    
         
             
                  ActiveRecord::Base.connection.recreate_database(abcs["test"]["database"])
         
     | 
| 
       148 
154 
     | 
    
         
             
                when "postgresql"
         
     | 
| 
       149 
     | 
    
         
            -
                  `dropdb -U #{abcs["test"]["username"]} #{abcs["test"]["database"]}`
         
     | 
| 
       150 
     | 
    
         
            -
                  `createdb -U #{abcs["test"]["username"]} 
     | 
| 
      
 155 
     | 
    
         
            +
                  `dropdb -U #{abcs["test"]["username"]} -h #{abcs["test"]["host"]} #{abcs["test"]["database"]}`
         
     | 
| 
      
 156 
     | 
    
         
            +
                  `createdb -U #{abcs["test"]["username"]} -h #{abcs["test"]["host"]} #{abcs["test"]["database"]}`
         
     | 
| 
       151 
157 
     | 
    
         
             
                when "sqlite","sqlite3"
         
     | 
| 
       152 
158 
     | 
    
         
             
                  File.delete(abcs["test"]["dbfile"]) if File.exist?(abcs["test"]["dbfile"])
         
     | 
| 
       153 
159 
     | 
    
         
             
                else 
         
     | 
    
        data/helpers/test_helper.rb
    CHANGED
    
    | 
         @@ -5,10 +5,11 @@ require 'application' 
     | 
|
| 
       5 
5 
     | 
    
         
             
            require 'test/unit'
         
     | 
| 
       6 
6 
     | 
    
         
             
            require 'active_record/fixtures'
         
     | 
| 
       7 
7 
     | 
    
         
             
            require 'action_controller/test_process'
         
     | 
| 
      
 8 
     | 
    
         
            +
            require 'action_web_service/test_invoke'
         
     | 
| 
       8 
9 
     | 
    
         
             
            require 'breakpoint'
         
     | 
| 
       9 
10 
     | 
    
         | 
| 
       10 
11 
     | 
    
         
             
            def create_fixtures(*table_names)
         
     | 
| 
       11 
12 
     | 
    
         
             
              Fixtures.create_fixtures(File.dirname(__FILE__) + "/fixtures", table_names)
         
     | 
| 
       12 
13 
     | 
    
         
             
            end
         
     | 
| 
       13 
14 
     | 
    
         | 
| 
       14 
     | 
    
         
            -
            Test::Unit::TestCase.fixture_path = File.dirname(__FILE__) + "/fixtures/"
         
     | 
| 
      
 15 
     | 
    
         
            +
            Test::Unit::TestCase.fixture_path = File.dirname(__FILE__) + "/fixtures/"
         
     | 
    
        data/html/favicon.ico
    ADDED
    
    | 
         
            File without changes
         
     | 
    
        data/html/index.html
    CHANGED
    
    | 
         @@ -60,6 +60,11 @@ 
     | 
|
| 
       60 
60 
     | 
    
         
             
              <li>Setup Apache with <a href="http://www.fastcgi.com">FastCGI</a> (and <a href="http://raa.ruby-lang.org/list.rhtml?name=fcgi">Ruby bindings</a>), if you need better performance
         
     | 
| 
       61 
61 
     | 
    
         
             
            </ol>
         
     | 
| 
       62 
62 
     | 
    
         | 
| 
      
 63 
     | 
    
         
            +
            <p>
         
     | 
| 
      
 64 
     | 
    
         
            +
              Trying to setup a default page for Rails using Routes? You'll have to delete this file (public/index.html) to get under way. Then define a new route in <tt>config/routes.rb</tt> of the form:
         
     | 
| 
      
 65 
     | 
    
         
            +
              <pre>  map.connect '', :controller => 'wiki/page', :action => 'show', :title => 'Welcome'</pre>
         
     | 
| 
      
 66 
     | 
    
         
            +
            </p>
         
     | 
| 
      
 67 
     | 
    
         
            +
             
     | 
| 
       63 
68 
     | 
    
         
             
            <p>
         
     | 
| 
       64 
69 
     | 
    
         
             
              Having problems getting up and running? First try debugging it yourself by looking at the log files. <br/>
         
     | 
| 
       65 
70 
     | 
    
         
             
              Then try the friendly Rails community <a href="http://www.rubyonrails.org">on the web</a> or <a href="http://www.rubyonrails.org/show/IRC">on IRC</a>
         
     | 
    
        data/lib/code_statistics.rb
    CHANGED
    
    | 
         @@ -23,7 +23,7 @@ class CodeStatistics 
     | 
|
| 
       23 
23 
     | 
    
         
             
                  @pairs.inject({}) { |stats, pair| stats[pair.first] = calculate_directory_statistics(pair.last); stats }
         
     | 
| 
       24 
24 
     | 
    
         
             
                end
         
     | 
| 
       25 
25 
     | 
    
         | 
| 
       26 
     | 
    
         
            -
                def calculate_directory_statistics(directory, pattern =  
     | 
| 
      
 26 
     | 
    
         
            +
                def calculate_directory_statistics(directory, pattern = /.*\.rb$/)
         
     | 
| 
       27 
27 
     | 
    
         
             
                  stats = { "lines" => 0, "codelines" => 0, "classes" => 0, "methods" => 0 }
         
     | 
| 
       28 
28 
     | 
    
         | 
| 
       29 
29 
     | 
    
         
             
                  Dir.foreach(directory) do |file_name| 
         
     | 
    
        data/lib/dispatcher.rb
    CHANGED
    
    | 
         @@ -40,7 +40,7 @@ class Dispatcher 
     | 
|
| 
       40 
40 
     | 
    
         
             
                private
         
     | 
| 
       41 
41 
     | 
    
         
             
                  def prepare_application
         
     | 
| 
       42 
42 
     | 
    
         
             
                    ActionController::Routing::Routes.reload if Dependencies.load?
         
     | 
| 
       43 
     | 
    
         
            -
                    Breakpoint.activate_drb("druby://localhost:#{BREAKPOINT_SERVER_PORT}", nil, !defined?(FastCGI)) if defined?(BREAKPOINT_SERVER_PORT)
         
     | 
| 
      
 43 
     | 
    
         
            +
                    Breakpoint.activate_drb("druby://localhost:#{BREAKPOINT_SERVER_PORT}", nil, !defined?(FastCGI)) if defined?(BREAKPOINT_SERVER_PORT) rescue nil
         
     | 
| 
       44 
44 
     | 
    
         
             
                    Controllers.const_load!(:ApplicationController, "application") unless Controllers.const_defined?(:ApplicationController)
         
     | 
| 
       45 
45 
     | 
    
         
             
                  end
         
     | 
| 
       46 
46 
     | 
    
         | 
    
        data/lib/rails_generator.rb
    CHANGED
    
    | 
         @@ -22,9 +22,10 @@ 
     | 
|
| 
       22 
22 
     | 
    
         
             
            #++
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         
             
            $:.unshift(File.dirname(__FILE__))
         
     | 
| 
      
 25 
     | 
    
         
            +
            $:.unshift(File.dirname(__FILE__) + "/../../activesupport/lib")
         
     | 
| 
       25 
26 
     | 
    
         | 
| 
       26 
27 
     | 
    
         
             
            begin
         
     | 
| 
       27 
     | 
    
         
            -
              require 'active_support'
         
     | 
| 
      
 28 
     | 
    
         
            +
              require 'active_support'  
         
     | 
| 
       28 
29 
     | 
    
         
             
            rescue LoadError
         
     | 
| 
       29 
30 
     | 
    
         
             
              require 'rubygems'
         
     | 
| 
       30 
31 
     | 
    
         
             
              require_gem 'activesupport'
         
     | 
| 
         @@ -65,6 +65,8 @@ class AppGenerator < Rails::Generator::Base 
     | 
|
| 
       65 
65 
     | 
    
         
             
                  %w(404 500 index).each do |file|
         
     | 
| 
       66 
66 
     | 
    
         
             
                    m.template "html/#{file}.html", "public/#{file}.html"
         
     | 
| 
       67 
67 
     | 
    
         
             
                  end
         
     | 
| 
      
 68 
     | 
    
         
            +
                  
         
     | 
| 
      
 69 
     | 
    
         
            +
                  m.template "html/favicon.ico", "public/favicon.ico"
         
     | 
| 
       68 
70 
     | 
    
         | 
| 
       69 
71 
     | 
    
         
             
                  # Docs
         
     | 
| 
       70 
72 
     | 
    
         
             
                  m.file "doc/README_FOR_APP", "doc/README_FOR_APP"
         
     | 
| 
         @@ -113,7 +115,7 @@ class AppGenerator < Rails::Generator::Base 
     | 
|
| 
       113 
115 
     | 
    
         
             
                test/fixtures
         
     | 
| 
       114 
116 
     | 
    
         
             
                test/functional
         
     | 
| 
       115 
117 
     | 
    
         
             
                test/mocks/development
         
     | 
| 
       116 
     | 
    
         
            -
                test/mocks/ 
     | 
| 
      
 118 
     | 
    
         
            +
                test/mocks/test
         
     | 
| 
       117 
119 
     | 
    
         
             
                test/unit
         
     | 
| 
       118 
120 
     | 
    
         
             
                vendor
         
     | 
| 
       119 
121 
     | 
    
         
             
              )
         
     | 
| 
         @@ -0,0 +1,28 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            Description:
         
     | 
| 
      
 2 
     | 
    
         
            +
                The web service generator creates the controller and API definition for 
         
     | 
| 
      
 3 
     | 
    
         
            +
                a web service.
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
                The generator takes a web service name and a list of API methods as arguments.
         
     | 
| 
      
 6 
     | 
    
         
            +
                The web service name may be given in CamelCase or under_score and should
         
     | 
| 
      
 7 
     | 
    
         
            +
                contain no extra suffixes.  To create a web service within a
         
     | 
| 
      
 8 
     | 
    
         
            +
                module, specify the web service name as 'module/webservice'.
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
                The generator creates a controller class in app/controllers, an API definition
         
     | 
| 
      
 11 
     | 
    
         
            +
                in app/apis, and a functional test suite in test/functional.
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            Example:
         
     | 
| 
      
 14 
     | 
    
         
            +
                ./script/generate web_service User add edit list remove
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
                User web service.
         
     | 
| 
      
 17 
     | 
    
         
            +
                    Controller: app/controllers/user_controller.rb
         
     | 
| 
      
 18 
     | 
    
         
            +
                    API:        app/apis/user_api.rb
         
     | 
| 
      
 19 
     | 
    
         
            +
                    Test:       test/functional/user_api_test.rb
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
            Modules Example:
         
     | 
| 
      
 22 
     | 
    
         
            +
                ./script/generate web_service 'api/registration' register renew
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
                Registration web service.
         
     | 
| 
      
 25 
     | 
    
         
            +
                    Controller: app/controllers/api/registration_controller.rb
         
     | 
| 
      
 26 
     | 
    
         
            +
                    API:        app/apis/api/registration_api.rb
         
     | 
| 
      
 27 
     | 
    
         
            +
                    Test:       test/functional/api/registration_api_test.rb
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
         @@ -0,0 +1,19 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../test_helper'
         
     | 
| 
      
 2 
     | 
    
         
            +
            require '<%= file_path %>_controller'
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            class <%= class_name %>Controller; def rescue_action(e) raise e end; end
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            class <%= class_name %>ControllerApiTest < Test::Unit::TestCase
         
     | 
| 
      
 7 
     | 
    
         
            +
              def setup
         
     | 
| 
      
 8 
     | 
    
         
            +
                @controller = <%= class_name %>Controller.new
         
     | 
| 
      
 9 
     | 
    
         
            +
                @request    = ActionController::TestRequest.new
         
     | 
| 
      
 10 
     | 
    
         
            +
                @response   = ActionController::TestResponse.new
         
     | 
| 
      
 11 
     | 
    
         
            +
              end
         
     | 
| 
      
 12 
     | 
    
         
            +
            <% for method_name in args -%>
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
              def test_<%= method_name %>
         
     | 
| 
      
 15 
     | 
    
         
            +
                result = invoke :<%= method_name %>
         
     | 
| 
      
 16 
     | 
    
         
            +
                assert_equal nil, result
         
     | 
| 
      
 17 
     | 
    
         
            +
              end
         
     | 
| 
      
 18 
     | 
    
         
            +
            <% end -%>
         
     | 
| 
      
 19 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,29 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            class WebServiceGenerator < Rails::Generator::NamedBase
         
     | 
| 
      
 2 
     | 
    
         
            +
              def manifest
         
     | 
| 
      
 3 
     | 
    
         
            +
                record do |m|
         
     | 
| 
      
 4 
     | 
    
         
            +
                  # Check for class naming collisions.
         
     | 
| 
      
 5 
     | 
    
         
            +
                  m.class_collisions class_path, "#{class_name}Api", "#{class_name}Controller", "#{class_name}ApiTest"
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
                  # API and test directories.
         
     | 
| 
      
 8 
     | 
    
         
            +
                  m.directory File.join('app/apis', class_path)
         
     | 
| 
      
 9 
     | 
    
         
            +
                  m.directory File.join('app/controllers', class_path)
         
     | 
| 
      
 10 
     | 
    
         
            +
                  m.directory File.join('test/functional', class_path)
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
                  # API definition, controller, and functional test.
         
     | 
| 
      
 13 
     | 
    
         
            +
                  m.template 'api_definition.rb',
         
     | 
| 
      
 14 
     | 
    
         
            +
                              File.join('app/apis',
         
     | 
| 
      
 15 
     | 
    
         
            +
                                        class_path,
         
     | 
| 
      
 16 
     | 
    
         
            +
                                        "#{file_name}_api.rb")
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
                  m.template 'controller.rb',
         
     | 
| 
      
 19 
     | 
    
         
            +
                              File.join('app/controllers',
         
     | 
| 
      
 20 
     | 
    
         
            +
                                        class_path,
         
     | 
| 
      
 21 
     | 
    
         
            +
                                        "#{file_name}_controller.rb")
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
                  m.template 'functional_test.rb',
         
     | 
| 
      
 24 
     | 
    
         
            +
                              File.join('test/functional',
         
     | 
| 
      
 25 
     | 
    
         
            +
                                        class_path,
         
     | 
| 
      
 26 
     | 
    
         
            +
                                        "#{file_name}_api_test.rb")
         
     | 
| 
      
 27 
     | 
    
         
            +
                end
         
     | 
| 
      
 28 
     | 
    
         
            +
              end
         
     | 
| 
      
 29 
     | 
    
         
            +
            end
         
     | 
    
        data/lib/webrick_server.rb
    CHANGED
    
    | 
         @@ -6,6 +6,7 @@ require 'stringio' 
     | 
|
| 
       6 
6 
     | 
    
         | 
| 
       7 
7 
     | 
    
         
             
            include WEBrick
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
      
 9 
     | 
    
         
            +
            ABSOLUTE_RAILS_ROOT = File.expand_path(RAILS_ROOT)
         
     | 
| 
       9 
10 
     | 
    
         | 
| 
       10 
11 
     | 
    
         
             
            class DispatchServlet < WEBrick::HTTPServlet::AbstractServlet
         
     | 
| 
       11 
12 
     | 
    
         
             
              REQUEST_MUTEX = Mutex.new
         
     | 
| 
         @@ -18,12 +19,12 @@ class DispatchServlet < WEBrick::HTTPServlet::AbstractServlet 
     | 
|
| 
       18 
19 
     | 
    
         | 
| 
       19 
20 
     | 
    
         
             
                trap("INT") { server.shutdown }
         
     | 
| 
       20 
21 
     | 
    
         
             
                server.start
         
     | 
| 
       21 
     | 
    
         
            -
                Dir::chdir(OPTIONS['working_directory']) if OPTIONS['working_directory']
         
     | 
| 
       22 
22 
     | 
    
         
             
              end
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         
             
              def initialize(server, options)
         
     | 
| 
       25 
25 
     | 
    
         
             
                @server_options = options
         
     | 
| 
       26 
26 
     | 
    
         
             
                @file_handler = WEBrick::HTTPServlet::FileHandler.new(server, options[:server_root])
         
     | 
| 
      
 27 
     | 
    
         
            +
                Dir.chdir(ABSOLUTE_RAILS_ROOT)
         
     | 
| 
       27 
28 
     | 
    
         
             
                super
         
     | 
| 
       28 
29 
     | 
    
         
             
              end
         
     | 
| 
       29 
30 
     | 
    
         | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,10 +1,10 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification 
         
     | 
| 
       2 
     | 
    
         
            -
            rubygems_version: 0.8. 
     | 
| 
      
 2 
     | 
    
         
            +
            rubygems_version: 0.8.6
         
     | 
| 
       3 
3 
     | 
    
         
             
            specification_version: 1
         
     | 
| 
       4 
4 
     | 
    
         
             
            name: rails
         
     | 
| 
       5 
5 
     | 
    
         
             
            version: !ruby/object:Gem::Version 
         
     | 
| 
       6 
     | 
    
         
            -
              version: 0.10. 
     | 
| 
       7 
     | 
    
         
            -
            date: 2005- 
     | 
| 
      
 6 
     | 
    
         
            +
              version: 0.10.1
         
     | 
| 
      
 7 
     | 
    
         
            +
            date: 2005-03-07
         
     | 
| 
       8 
8 
     | 
    
         
             
            summary: "Web-application framework with template engine, control-flow layer, and ORM."
         
     | 
| 
       9 
9 
     | 
    
         
             
            require_paths: 
         
     | 
| 
       10 
10 
     | 
    
         
             
              - lib
         
     | 
| 
         @@ -70,6 +70,7 @@ files: 
     | 
|
| 
       70 
70 
     | 
    
         
             
              - helpers/test_helper.rb
         
     | 
| 
       71 
71 
     | 
    
         
             
              - html/404.html
         
     | 
| 
       72 
72 
     | 
    
         
             
              - html/500.html
         
     | 
| 
      
 73 
     | 
    
         
            +
              - html/favicon.ico
         
     | 
| 
       73 
74 
     | 
    
         
             
              - html/index.html
         
     | 
| 
       74 
75 
     | 
    
         
             
              - lib/binding_of_caller.rb
         
     | 
| 
       75 
76 
     | 
    
         
             
              - lib/breakpoint.rb
         
     | 
| 
         @@ -98,6 +99,7 @@ files: 
     | 
|
| 
       98 
99 
     | 
    
         
             
              - lib/rails_generator/generators/components/mailer
         
     | 
| 
       99 
100 
     | 
    
         
             
              - lib/rails_generator/generators/components/model
         
     | 
| 
       100 
101 
     | 
    
         
             
              - lib/rails_generator/generators/components/scaffold
         
     | 
| 
      
 102 
     | 
    
         
            +
              - lib/rails_generator/generators/components/web_service
         
     | 
| 
       101 
103 
     | 
    
         
             
              - lib/rails_generator/generators/components/controller/controller_generator.rb
         
     | 
| 
       102 
104 
     | 
    
         
             
              - lib/rails_generator/generators/components/controller/templates
         
     | 
| 
       103 
105 
     | 
    
         
             
              - lib/rails_generator/generators/components/controller/USAGE
         
     | 
| 
         @@ -131,6 +133,12 @@ files: 
     | 
|
| 
       131 
133 
     | 
    
         
             
              - lib/rails_generator/generators/components/scaffold/templates/view_list.rhtml
         
     | 
| 
       132 
134 
     | 
    
         
             
              - lib/rails_generator/generators/components/scaffold/templates/view_new.rhtml
         
     | 
| 
       133 
135 
     | 
    
         
             
              - lib/rails_generator/generators/components/scaffold/templates/view_show.rhtml
         
     | 
| 
      
 136 
     | 
    
         
            +
              - lib/rails_generator/generators/components/web_service/templates
         
     | 
| 
      
 137 
     | 
    
         
            +
              - lib/rails_generator/generators/components/web_service/USAGE
         
     | 
| 
      
 138 
     | 
    
         
            +
              - lib/rails_generator/generators/components/web_service/web_service_generator.rb
         
     | 
| 
      
 139 
     | 
    
         
            +
              - lib/rails_generator/generators/components/web_service/templates/api_definition.rb
         
     | 
| 
      
 140 
     | 
    
         
            +
              - lib/rails_generator/generators/components/web_service/templates/controller.rb
         
     | 
| 
      
 141 
     | 
    
         
            +
              - lib/rails_generator/generators/components/web_service/templates/functional_test.rb
         
     | 
| 
       134 
142 
     | 
    
         
             
              - lib/rails_generator/scripts/destroy.rb
         
     | 
| 
       135 
143 
     | 
    
         
             
              - lib/rails_generator/scripts/generate.rb
         
     | 
| 
       136 
144 
     | 
    
         
             
              - lib/rails_generator/scripts/update.rb
         
     | 
| 
         @@ -162,7 +170,7 @@ dependencies: 
     | 
|
| 
       162 
170 
     | 
    
         
             
                    - 
         
     | 
| 
       163 
171 
     | 
    
         
             
                      - "="
         
     | 
| 
       164 
172 
     | 
    
         
             
                      - !ruby/object:Gem::Version 
         
     | 
| 
       165 
     | 
    
         
            -
                        version: 1.0. 
     | 
| 
      
 173 
     | 
    
         
            +
                        version: 1.0.1
         
     | 
| 
       166 
174 
     | 
    
         
             
                  version: 
         
     | 
| 
       167 
175 
     | 
    
         
             
              - !ruby/object:Gem::Dependency 
         
     | 
| 
       168 
176 
     | 
    
         
             
                name: activerecord
         
     | 
| 
         @@ -172,7 +180,7 @@ dependencies: 
     | 
|
| 
       172 
180 
     | 
    
         
             
                    - 
         
     | 
| 
       173 
181 
     | 
    
         
             
                      - "="
         
     | 
| 
       174 
182 
     | 
    
         
             
                      - !ruby/object:Gem::Version 
         
     | 
| 
       175 
     | 
    
         
            -
                        version: 1. 
     | 
| 
      
 183 
     | 
    
         
            +
                        version: 1.8.0
         
     | 
| 
       176 
184 
     | 
    
         
             
                  version: 
         
     | 
| 
       177 
185 
     | 
    
         
             
              - !ruby/object:Gem::Dependency 
         
     | 
| 
       178 
186 
     | 
    
         
             
                name: actionpack
         
     | 
| 
         @@ -182,7 +190,7 @@ dependencies: 
     | 
|
| 
       182 
190 
     | 
    
         
             
                    - 
         
     | 
| 
       183 
191 
     | 
    
         
             
                      - "="
         
     | 
| 
       184 
192 
     | 
    
         
             
                      - !ruby/object:Gem::Version 
         
     | 
| 
       185 
     | 
    
         
            -
                        version: 1.5. 
     | 
| 
      
 193 
     | 
    
         
            +
                        version: 1.5.1
         
     | 
| 
       186 
194 
     | 
    
         
             
                  version: 
         
     | 
| 
       187 
195 
     | 
    
         
             
              - !ruby/object:Gem::Dependency 
         
     | 
| 
       188 
196 
     | 
    
         
             
                name: actionmailer
         
     | 
| 
         @@ -192,7 +200,7 @@ dependencies: 
     | 
|
| 
       192 
200 
     | 
    
         
             
                    - 
         
     | 
| 
       193 
201 
     | 
    
         
             
                      - "="
         
     | 
| 
       194 
202 
     | 
    
         
             
                      - !ruby/object:Gem::Version 
         
     | 
| 
       195 
     | 
    
         
            -
                        version: 0.7. 
     | 
| 
      
 203 
     | 
    
         
            +
                        version: 0.7.1
         
     | 
| 
       196 
204 
     | 
    
         
             
                  version: 
         
     | 
| 
       197 
205 
     | 
    
         
             
              - !ruby/object:Gem::Dependency 
         
     | 
| 
       198 
206 
     | 
    
         
             
                name: actionwebservice
         
     | 
| 
         @@ -202,5 +210,5 @@ dependencies: 
     | 
|
| 
       202 
210 
     | 
    
         
             
                    - 
         
     | 
| 
       203 
211 
     | 
    
         
             
                      - "="
         
     | 
| 
       204 
212 
     | 
    
         
             
                      - !ruby/object:Gem::Version 
         
     | 
| 
       205 
     | 
    
         
            -
                        version: 0. 
     | 
| 
      
 213 
     | 
    
         
            +
                        version: 0.6.0
         
     | 
| 
       206 
214 
     | 
    
         
             
                  version: 
         
     |