Changeset 6550
- Timestamp:
- 04/23/07 18:55:54 (1 year ago)
- Files:
-
- trunk/activeresource/lib/active_resource/version.rb (modified) (1 diff)
- trunk/activeresource/Rakefile (modified) (4 diffs)
- trunk/pushgems.rb (modified) (1 diff)
- trunk/railties/CHANGELOG (modified) (1 diff)
- trunk/railties/environments/environment.rb (modified) (1 diff)
- trunk/railties/lib/initializer.rb (modified) (5 diffs)
- trunk/railties/Rakefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/activeresource/lib/active_resource/version.rb
r4492 r6550 2 2 module VERSION #:nodoc: 3 3 MAJOR = 0 4 MINOR = 54 MINOR = 9 5 5 TINY = 0 6 6 trunk/activeresource/Rakefile
r5747 r6550 56 56 s.name = PKG_NAME 57 57 s.version = PKG_VERSION 58 s.summary = " Implements the ActiveRecord pattern for ORM."59 s.description = %q{ Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM. It ties database tables and classes together for business objects, like Customer or Subscription, that can find, save, and destroy themselves without resorting to manual SQL.}58 s.summary = "Think Active Record for web resources." 59 s.description = %q{Wraps web resources in model classes that can be manipulated through XML over REST.} 60 60 61 61 s.files = [ "Rakefile", "install.rb", "README", "RUNNING_UNIT_TESTS", "CHANGELOG" ] … … 64 64 end 65 65 66 s.add_dependency('activesupport', '= 1. 3.1' + PKG_BUILD)66 s.add_dependency('activesupport', '= 1.4.2' + PKG_BUILD) 67 67 68 s.files.delete "test/fixtures/fixture_database.sqlite"69 s.files.delete "test/fixtures/fixture_database_2.sqlite"70 s.files.delete "test/fixtures/fixture_database.sqlite3"71 s.files.delete "test/fixtures/fixture_database_2.sqlite3"72 68 s.require_path = 'lib' 73 s.autorequire = 'active_re cord'69 s.autorequire = 'active_resource' 74 70 75 71 s.has_rdoc = true … … 80 76 s.email = "david@loudthinking.com" 81 77 s.homepage = "http://www.rubyonrails.org" 82 s.rubyforge_project = "activere cord"78 s.rubyforge_project = "activeresource" 83 79 end 84 80 … … 92 88 lines, codelines, total_lines, total_codelines = 0, 0, 0, 0 93 89 94 for file_name in FileList["lib/active_re cord/**/*.rb"]90 for file_name in FileList["lib/active_resource/**/*.rb"] 95 91 next if file_name =~ /vendor/ 96 92 f = File.open(file_name) trunk/pushgems.rb
r5087 r6550 5 5 end 6 6 7 %w( acti onwebservice actionmailer actionpack activerecord railties activesupport ).each do |pkg|7 %w( activeresource actionmailer actionpack activerecord railties activesupport ).each do |pkg| 8 8 puts "Pushing: #{pkg} (#{build_number})" 9 9 if build_number trunk/railties/CHANGELOG
r6470 r6550 1 1 *SVN* 2 3 * Include Active Resource instead of Action Web Service [DHH] You can add AWS back with this in config/environment.rb: 4 5 config.load_paths += %W( #{RAILS_ROOT}/vendor/rails/actionwebservice/lib ) 6 7 ...or just gem 'actionwebservice' 2 8 3 9 * Give generate scaffold a more descriptive database message. Closes #7316 [jeremymcanally] trunk/railties/environments/environment.rb
r6224 r6550 15 15 16 16 # Skip frameworks you're not going to use (only works if using vendor/rails) 17 # config.frameworks -= [ :acti on_web_service, :action_mailer ]17 # config.frameworks -= [ :active_resource, :action_mailer ] 18 18 19 19 # Only load the plugins named here, by default all plugins in vendor/plugins are loaded trunk/railties/lib/initializer.rb
r6531 r6550 24 24 # 25 25 # Rails::Initializer.run do |config| 26 # config.frameworks -= [ :action_ web_service]26 # config.frameworks -= [ :action_mailer ] 27 27 # end 28 28 # … … 380 380 attr_accessor :action_view 381 381 382 # A stub for setting options on ActionWebService::Base383 attr_accessor :action_web_service384 385 382 # A stub for setting options on ActiveRecord::Base 386 383 attr_accessor :active_record 384 385 # A stub for setting options on ActiveRecord::Base 386 attr_accessor :active_resource 387 387 388 388 # Whether or not to use the breakpoint server (boolean) … … 561 561 activesupport/lib 562 562 activerecord/lib 563 activeresource/lib 563 564 actionmailer/lib 564 actionwebservice/lib565 565 ).map { |dir| "#{framework_root_path}/#{dir}" }.select { |dir| File.directory?(dir) } 566 566 end … … 572 572 573 573 def default_frameworks 574 [ :active_record, :action_controller, :action_view, :action_mailer, :acti on_web_service ]574 [ :active_record, :action_controller, :action_view, :action_mailer, :active_resource ] 575 575 end 576 576 … … 591 591 app/helpers 592 592 app/services 593 app/apis594 593 components 595 594 config trunk/railties/Rakefile
r6548 r6550 314 314 s.add_dependency('actionpack', '= 1.13.3' + PKG_BUILD) 315 315 s.add_dependency('actionmailer', '= 1.3.3' + PKG_BUILD) 316 s.add_dependency('action webservice', '= 1.2.3' + PKG_BUILD)316 s.add_dependency('actionresource', '= 0.9.0' + PKG_BUILD) 317 317 318 318 s.rdoc_options << '--exclude' << '.'