dima-restfulx 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. data/History.txt +7 -0
  2. data/Manifest.txt +127 -0
  3. data/README.rdoc +50 -0
  4. data/Rakefile +42 -0
  5. data/app_generators/rx_app/USAGE +22 -0
  6. data/app_generators/rx_app/rx_app_generator.rb +94 -0
  7. data/app_generators/rx_app/templates/actionscript.properties +16 -0
  8. data/app_generators/rx_app/templates/actionscriptair.properties +16 -0
  9. data/app_generators/rx_app/templates/app.yaml.erb +12 -0
  10. data/app_generators/rx_app/templates/default_tasks.rake +51 -0
  11. data/app_generators/rx_app/templates/empty.txt +0 -0
  12. data/app_generators/rx_app/templates/expressInstall.swf +0 -0
  13. data/app_generators/rx_app/templates/flex.properties +2 -0
  14. data/app_generators/rx_app/templates/generate.rb +17 -0
  15. data/app_generators/rx_app/templates/html-template/AC_OETags.js +276 -0
  16. data/app_generators/rx_app/templates/html-template/history/history.css +6 -0
  17. data/app_generators/rx_app/templates/html-template/history/history.js +645 -0
  18. data/app_generators/rx_app/templates/html-template/history/historyFrame.html +29 -0
  19. data/app_generators/rx_app/templates/html-template/index.template.html +121 -0
  20. data/app_generators/rx_app/templates/html-template/playerProductInstall.swf +0 -0
  21. data/app_generators/rx_app/templates/index.html.erb +18 -0
  22. data/app_generators/rx_app/templates/index.yaml +11 -0
  23. data/app_generators/rx_app/templates/mainair-app.xml +134 -0
  24. data/app_generators/rx_app/templates/mainapp-config.xml +21 -0
  25. data/app_generators/rx_app/templates/mainapp.mxml +31 -0
  26. data/app_generators/rx_app/templates/project-textmate.erb +52 -0
  27. data/app_generators/rx_app/templates/project.properties +18 -0
  28. data/app_generators/rx_app/templates/projectair.properties +24 -0
  29. data/app_generators/rx_app/templates/swfobject.js +5 -0
  30. data/bin/rx-gen +31 -0
  31. data/generators/rx_config/USAGE +5 -0
  32. data/generators/rx_config/rx_config_generator.rb +19 -0
  33. data/generators/rx_controller/USAGE +10 -0
  34. data/generators/rx_controller/rx_controller_generator.rb +39 -0
  35. data/generators/rx_controller/templates/assist.py +65 -0
  36. data/generators/rx_controller/templates/controller.as.erb +36 -0
  37. data/generators/rx_controller/templates/restful.py +136 -0
  38. data/generators/rx_main_app/USAGE +8 -0
  39. data/generators/rx_main_app/rx_main_app_generator.rb +60 -0
  40. data/generators/rx_main_app/templates/main.py.erb +29 -0
  41. data/generators/rx_main_app/templates/mainapp.mxml +35 -0
  42. data/generators/rx_scaffold/USAGE +29 -0
  43. data/generators/rx_scaffold/rx_scaffold_generator.rb +146 -0
  44. data/generators/rx_scaffold/templates/component.mxml.erb +149 -0
  45. data/generators/rx_scaffold/templates/controller.py.erb +27 -0
  46. data/generators/rx_scaffold/templates/model.as.erb +42 -0
  47. data/generators/rx_scaffold/templates/model.py.erb +14 -0
  48. data/generators/rx_yaml_scaffold/USAGE +45 -0
  49. data/generators/rx_yaml_scaffold/rx_yaml_scaffold_generator.rb +47 -0
  50. data/lib/restfulx/active_foo.rb +186 -0
  51. data/lib/restfulx/active_record_tasks.rb +81 -0
  52. data/lib/restfulx/configuration.rb +76 -0
  53. data/lib/restfulx/datamapper_foo.rb +31 -0
  54. data/lib/restfulx/rails/recipes.rb +60 -0
  55. data/lib/restfulx/rails/swf_helper.rb +60 -0
  56. data/lib/restfulx/tasks.rb +85 -0
  57. data/lib/restfulx.rb +117 -0
  58. data/rails_generators/rx_config/USAGE +18 -0
  59. data/rails_generators/rx_config/rx_config_generator.rb +115 -0
  60. data/rails_generators/rx_config/templates/actionscript.properties +16 -0
  61. data/rails_generators/rx_config/templates/actionscriptair.properties +16 -0
  62. data/rails_generators/rx_config/templates/expressInstall.swf +0 -0
  63. data/rails_generators/rx_config/templates/flex.properties +2 -0
  64. data/rails_generators/rx_config/templates/html-template/AC_OETags.js +276 -0
  65. data/rails_generators/rx_config/templates/html-template/history/history.css +6 -0
  66. data/rails_generators/rx_config/templates/html-template/history/history.js +645 -0
  67. data/rails_generators/rx_config/templates/html-template/history/historyFrame.html +29 -0
  68. data/rails_generators/rx_config/templates/html-template/index.template.html +121 -0
  69. data/rails_generators/rx_config/templates/html-template/playerProductInstall.swf +0 -0
  70. data/rails_generators/rx_config/templates/index.html.erb +18 -0
  71. data/rails_generators/rx_config/templates/mainair-app.xml +134 -0
  72. data/rails_generators/rx_config/templates/mainapp-config.xml +21 -0
  73. data/rails_generators/rx_config/templates/mainapp.mxml +31 -0
  74. data/rails_generators/rx_config/templates/project-textmate.erb +52 -0
  75. data/rails_generators/rx_config/templates/project.properties +18 -0
  76. data/rails_generators/rx_config/templates/projectair.properties +24 -0
  77. data/rails_generators/rx_config/templates/restfulx.yml +14 -0
  78. data/rails_generators/rx_config/templates/restfulx_tasks.rake +6 -0
  79. data/rails_generators/rx_config/templates/swfobject.js +5 -0
  80. data/rails_generators/rx_controller/USAGE +10 -0
  81. data/rails_generators/rx_controller/rx_controller_generator.rb +28 -0
  82. data/rails_generators/rx_controller/templates/controller.as.erb +40 -0
  83. data/rails_generators/rx_scaffold/USAGE +35 -0
  84. data/rails_generators/rx_scaffold/rx_scaffold_generator.rb +179 -0
  85. data/rails_generators/rx_scaffold/templates/component.mxml.erb +149 -0
  86. data/rails_generators/rx_scaffold/templates/controller.rb.erb +97 -0
  87. data/rails_generators/rx_scaffold/templates/fixtures.yml.erb +35 -0
  88. data/rails_generators/rx_scaffold/templates/migration.rb.erb +19 -0
  89. data/rails_generators/rx_scaffold/templates/model.as.erb +42 -0
  90. data/rails_generators/rx_scaffold/templates/model.rb.erb +11 -0
  91. data/rails_generators/rx_yaml_scaffold/USAGE +51 -0
  92. data/rails_generators/rx_yaml_scaffold/rx_yaml_scaffold_generator.rb +49 -0
  93. data/rdoc/generators/template/html/jamis.rb +588 -0
  94. data/spec/restfulx_spec.rb +7 -0
  95. data/spec/spec_helper.rb +16 -0
  96. data/test/rails/controllers/application.rb +15 -0
  97. data/test/rails/controllers/locations_controller.rb +93 -0
  98. data/test/rails/controllers/notes_controller.rb +96 -0
  99. data/test/rails/controllers/projects_controller.rb +93 -0
  100. data/test/rails/controllers/tasks_controller.rb +93 -0
  101. data/test/rails/controllers/users_controller.rb +93 -0
  102. data/test/rails/database.yml +4 -0
  103. data/test/rails/fixtures/locations.yml +8 -0
  104. data/test/rails/fixtures/notes.yml +17 -0
  105. data/test/rails/fixtures/projects.yml +25 -0
  106. data/test/rails/fixtures/simple_properties.yml +19 -0
  107. data/test/rails/fixtures/tasks.yml +46 -0
  108. data/test/rails/fixtures/users.yml +13 -0
  109. data/test/rails/helpers/functional_test_helper.rb +21 -0
  110. data/test/rails/helpers/test_helper.rb +61 -0
  111. data/test/rails/helpers/unit_test_helper.rb +30 -0
  112. data/test/rails/model.yml +35 -0
  113. data/test/rails/models/location.rb +4 -0
  114. data/test/rails/models/note.rb +3 -0
  115. data/test/rails/models/project.rb +4 -0
  116. data/test/rails/models/simple_property.rb +2 -0
  117. data/test/rails/models/task.rb +18 -0
  118. data/test/rails/models/user.rb +20 -0
  119. data/test/rails/playing_around_in_a_console.txt +71 -0
  120. data/test/rails/schema.rb +77 -0
  121. data/test/rails/test.swf +1 -0
  122. data/test/rails/test_active_foo.rb +36 -0
  123. data/test/rails/test_rails_integration_functional.rb +22 -0
  124. data/test/rails/test_to_fxml.rb +35 -0
  125. data/test/rails/test_to_json.rb +23 -0
  126. data/test/rails/views/notes/empty_params_action.html.erb +1 -0
  127. data/test/rails/views/notes/index.html.erb +1 -0
  128. metadata +211 -0
@@ -0,0 +1,18 @@
1
+ class Task < ActiveRecord::Base
2
+ belongs_to :project
3
+ belongs_to :location
4
+ belongs_to :user
5
+
6
+ def is_active
7
+ case
8
+ when start_time && end_time
9
+ (start_time .. end_time) === Time.now
10
+ when start_time && end_time.nil?
11
+ start_time <= Time.now
12
+ when start_time.nil && end_time
13
+ end_time >= Time.now
14
+ else
15
+ true
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,20 @@
1
+ class User < ActiveRecord::Base
2
+ has_one :note
3
+ has_many :tasks
4
+ has_many :projects
5
+ has_many :locations
6
+
7
+ validates_length_of :login, :maximum => 10
8
+
9
+ def full_name
10
+ "#{first_name} #{last_name}"
11
+ end
12
+
13
+ def has_nothing_to_do
14
+ tasks.all? {|task| task.completed}
15
+ end
16
+
17
+ def email_host
18
+ email.split('@').last
19
+ end
20
+ end
@@ -0,0 +1,71 @@
1
+ To play with the test models in a console, do this:
2
+
3
+ $> irb -r test/helpers/test_helper.rb -r test/helpers/unit_test_helper.rb
4
+
5
+ You can then do things like this:
6
+
7
+ $> irb -r test/helpers/test_helper.rb -r test/helpers/unit_test_helper.rb
8
+ -- create_table("locations", {:force=>true})
9
+ -> 0.0170s
10
+ -- create_table("notes", {:force=>true})
11
+ -> 0.0091s
12
+ -- create_table("projects", {:force=>true})
13
+ -> 0.0091s
14
+ -- create_table("tasks", {:force=>true})
15
+ -> 0.0098s
16
+ -- create_table("users", {:force=>true})
17
+ -> 0.0506s
18
+ -- initialize_schema_migrations_table()
19
+ -> 0.0010s
20
+ -- assume_migrated_upto_version(20080729045550)
21
+ -> 0.0009s
22
+ >> u = User.create(:login => 'spatten')
23
+ => #<User id: 1, login: "spatten", first_name: nil, last_name: nil, email: nil, created_at: "2008-10-15 17:29:36", updated_at: "2008-10-15 17:29:36">
24
+ >> u.tasks << Task.create
25
+ => [#<Task id: 1, name: nil, notes: nil, start_time: nil, end_time: nil, completed: nil, next_action: nil, project_id: nil, location_id: nil, user_id: 1, created_at: "2008-10-15 17:29:48", updated_at: "2008-10-15 17:29:48">]
26
+ >> u.projects << Project.create
27
+ => [#<Project id: 1, name: nil, notes: nil, start_date: nil, end_date: nil, completed: nil, user_id: 1, created_at: "2008-10-15 17:29:54", updated_at: "2008-10-15 17:29:54">]
28
+ >> puts u.to_fxml
29
+ <?xml version="1.0" encoding="UTF-8"?>
30
+ <user>
31
+ <created_at type="datetime">2008/10/15 17:29:36</created_at>
32
+ <email nil="true"></email>
33
+ <first_name nil="true"></first_name>
34
+ <id type="integer">1</id>
35
+ <last_name nil="true"></last_name>
36
+ <login>spatten</login>
37
+ <updated_at type="datetime">2008/10/15 17:29:36</updated_at>
38
+ <full_name> </full_name>
39
+ <has_nothing_to_do type="boolean">false</has_nothing_to_do>
40
+ <tasks type="array">
41
+ <task>
42
+ <completed type="boolean" nil="true"></completed>
43
+ <created_at type="datetime">2008/10/15 17:29:48</created_at>
44
+ <end_time type="datetime" nil="true"></end_time>
45
+ <id type="integer">1</id>
46
+ <location_id type="integer" nil="true"></location_id>
47
+ <name nil="true"></name>
48
+ <next_action type="boolean" nil="true"></next_action>
49
+ <notes nil="true"></notes>
50
+ <project_id type="integer" nil="true"></project_id>
51
+ <start_time type="datetime" nil="true"></start_time>
52
+ <updated_at type="datetime">2008/10/15 17:29:48</updated_at>
53
+ <user_id type="integer">1</user_id>
54
+ </task>
55
+ </tasks>
56
+ <projects type="array">
57
+ <project>
58
+ <completed type="boolean" nil="true"></completed>
59
+ <created_at type="datetime">2008/10/15 17:29:54</created_at>
60
+ <end_date type="date" nil="true"></end_date>
61
+ <id type="integer">1</id>
62
+ <name nil="true"></name>
63
+ <notes nil="true"></notes>
64
+ <start_date type="date" nil="true"></start_date>
65
+ <updated_at type="datetime">2008/10/15 17:29:54</updated_at>
66
+ <user_id type="integer">1</user_id>
67
+ </project>
68
+ </projects>
69
+ </user>
70
+ => nil
71
+ >>
@@ -0,0 +1,77 @@
1
+ # This file is auto-generated from the current state of the database. Instead of editing this file,
2
+ # please use the migrations feature of Active Record to incrementally modify your database, and
3
+ # then regenerate this schema definition.
4
+ #
5
+ # Note that this schema.rb definition is the authoritative source for your database schema. If you need
6
+ # to create the application database on another system, you should be using db:schema:load, not running
7
+ # all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
8
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
9
+ #
10
+ # It's strongly recommended to check this file into your version control system.
11
+
12
+ ActiveRecord::Schema.define(:version => 20080729045550) do
13
+
14
+ # standard pomodo models
15
+ create_table "locations", :force => true do |t|
16
+ t.string "name"
17
+ t.text "notes"
18
+ t.integer "user_id"
19
+ t.datetime "created_at"
20
+ t.datetime "updated_at"
21
+ end
22
+
23
+ create_table "notes", :force => true do |t|
24
+ t.text "content"
25
+ t.integer "user_id"
26
+ t.datetime "created_at"
27
+ t.datetime "updated_at"
28
+ end
29
+
30
+ create_table "projects", :force => true do |t|
31
+ t.string "name"
32
+ t.text "notes"
33
+ t.date "start_date"
34
+ t.date "end_date"
35
+ t.boolean "completed"
36
+ t.integer "user_id"
37
+ t.datetime "created_at"
38
+ t.datetime "updated_at"
39
+ end
40
+
41
+ create_table "tasks", :force => true do |t|
42
+ t.string "name"
43
+ t.text "notes"
44
+ t.datetime "start_time"
45
+ t.datetime "end_time"
46
+ t.boolean "completed"
47
+ t.boolean "next_action"
48
+ t.integer "project_id"
49
+ t.integer "location_id"
50
+ t.integer "user_id"
51
+ t.datetime "created_at"
52
+ t.datetime "updated_at"
53
+ end
54
+
55
+ create_table "users", :force => true do |t|
56
+ t.string "login"
57
+ t.string "first_name"
58
+ t.string "last_name"
59
+ t.string "email"
60
+ t.datetime "created_at"
61
+ t.datetime "updated_at"
62
+ end
63
+
64
+ # all simple properties test model
65
+ create_table "simple_properties", :force => true do |t|
66
+ t.string "name"
67
+ t.integer "amount"
68
+ t.float "price"
69
+ t.decimal "quantity"
70
+ t.boolean "available"
71
+ t.date "delivered_on"
72
+ t.datetime "created_at"
73
+ t.datetime "updated_at"
74
+ t.time "sold_on"
75
+ end
76
+
77
+ end
@@ -0,0 +1 @@
1
+ This is used for the ruboss_helper_test.rb test suite.
@@ -0,0 +1,36 @@
1
+ RAILS_ROOT = File.dirname(__FILE__) unless defined? RAILS_ROOT
2
+ require File.join(File.dirname(__FILE__), 'helpers', 'test_helper')
3
+ require File.join(File.dirname(__FILE__), 'helpers', 'unit_test_helper')
4
+
5
+ class ActiveFooTest < Test::Unit::TestCase
6
+ fixtures :all
7
+
8
+ def setup
9
+ @shakespeare = users(:shakespeare)
10
+ end
11
+
12
+ def test_user_fxml
13
+ set_response_to users(:ludwig).to_fxml
14
+ assert_xml_select 'user'
15
+ end
16
+
17
+ def test_task_fxml_has_default_method
18
+ set_response_to tasks(:haydn).to_fxml(:methods => :is_active)
19
+ assert_xml_select 'task is_active'
20
+ end
21
+
22
+ def test_user_fxml_includes_tasks
23
+ set_response_to users(:ludwig).to_fxml(:include => :tasks)
24
+ assert_xml_select 'user tasks task'
25
+ end
26
+
27
+ def test_user_fxml_has_nothing_to_do_method
28
+ set_response_to users(:ludwig).to_fxml(:methods => :has_nothing_to_do)
29
+ assert_xml_select 'user has_nothing_to_do'
30
+ end
31
+
32
+ def test_user_fxml_includes_default_method_from_task
33
+ set_response_to users(:ludwig).to_fxml(:methods => :is_active, :include => :tasks)
34
+ assert_xml_select 'user tasks task is_active'
35
+ end
36
+ end
@@ -0,0 +1,22 @@
1
+ require File.join(File.dirname(__FILE__), 'helpers', 'test_helper')
2
+ require File.join(File.dirname(__FILE__), 'helpers', 'functional_test_helper')
3
+
4
+ ActionController::Routing::Routes.draw do |map|
5
+ map.connect ':controller/:action/:id'
6
+ end
7
+
8
+ class RailsIntegrationFunctionalTest < Test::Unit::TestCase
9
+ fixtures :all
10
+
11
+ def setup
12
+ @controller = NotesController.new()
13
+ @controller.request = @request = ActionController::TestRequest.new
14
+ @response = ActionController::TestResponse.new
15
+ end
16
+
17
+ # def test_render_with_an_empty_params_hash_should_not_blow_up
18
+ # get :empty_params_action
19
+ # assert_response :success
20
+ # end
21
+
22
+ end
@@ -0,0 +1,35 @@
1
+ $:.unshift(File.dirname(__FILE__))
2
+
3
+ require 'helpers/unit_test_helper'
4
+ require 'models/location'
5
+ require 'models/note'
6
+ require 'models/project'
7
+ require 'models/task'
8
+ require 'models/user'
9
+ require 'models/simple_property'
10
+
11
+ class ToFxmlTest < Test::Unit::TestCase
12
+ fixtures :locations, :notes, :projects, :tasks, :users, :simple_properties
13
+
14
+ def test_to_fxml_sanity
15
+ assert_nothing_raised {users(:ludwig).to_fxml}
16
+ end
17
+
18
+ def test_to_fxml_doesnt_dasherize
19
+ set_response_to users(:ludwig).to_fxml
20
+ assert_xml_select 'user first_name', 'Ludwig'
21
+ end
22
+
23
+ def test_default_xml_methods_on_user_are_included_in_fxml
24
+ set_response_to users(:ludwig).to_fxml(:methods => [:has_nothing_to_do, :full_name])
25
+ assert_xml_select 'user full_name', 'Ludwig van Beethoven'
26
+ assert_xml_select 'user has_nothing_to_do'
27
+ end
28
+
29
+ def test_default_xml_methods_on_user_are_included_in_fxml_if_you_call_it_twice
30
+ set_response_to users(:ludwig).to_fxml(:methods => [:has_nothing_to_do, :full_name])
31
+ set_response_to users(:ludwig).to_fxml(:methods => [:has_nothing_to_do, :full_name])
32
+ assert_xml_select 'user full_name', 'Ludwig van Beethoven'
33
+ assert_xml_select 'user has_nothing_to_do'
34
+ end
35
+ end
@@ -0,0 +1,23 @@
1
+ $:.unshift(File.dirname(__FILE__))
2
+
3
+ require 'helpers/unit_test_helper'
4
+ require 'models/location'
5
+ require 'models/note'
6
+ require 'models/project'
7
+ require 'models/task'
8
+ require 'models/user'
9
+ require 'models/simple_property'
10
+
11
+ class ToJsonTest < Test::Unit::TestCase
12
+ fixtures :locations, :notes, :projects, :tasks, :users, :simple_properties
13
+
14
+ def test_to_json_sanity
15
+ assert_nothing_raised {users(:ludwig).to_json}
16
+ end
17
+
18
+ def test_to_json_methods
19
+ #set_response_to users(:ludwig).to_json
20
+ #puts users(:ludwig).to_json
21
+ puts User.all.to_json
22
+ end
23
+ end
@@ -0,0 +1 @@
1
+ empty params action
@@ -0,0 +1 @@
1
+ <p>This is the note index!</p>
metadata ADDED
@@ -0,0 +1,211 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dima-restfulx
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Dima Berastau
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-01-16 00:00:00 -08:00
13
+ default_executable: rx-gen
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rubigen
17
+ version_requirement:
18
+ version_requirements: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.4.0
23
+ version:
24
+ - !ruby/object:Gem::Dependency
25
+ name: activesupport
26
+ version_requirement:
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: 2.0.0
32
+ version:
33
+ - !ruby/object:Gem::Dependency
34
+ name: bones
35
+ version_requirement:
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 2.2.0
41
+ version:
42
+ description: "Here's some of the things you can do with *RestfulX*: * *Create* a complete _Adobe_ _Flex_ or _AIR_ application in less than 5 minutes. Use our lightweight Ruby-based code generation toolkit to create a fully functional CRUD application. Simply do: sudo gem install restfulx And then run: rx-gen -h * *Integrate* with _Ruby_ _On_ _Rails_, _Merb_ or _Sinatra_ applications that use _ActiveRecord_, _DataMapper_, _CouchRest_, _ActiveCouch_ and so on. * *Communicate* between your Flex/AIR Rich Internet Application and service providers using either _XML_ or _JSON_. * *Persist* your data directly in Adobe AIR _SQLite_ database or _CouchDB_ without any additional infrastructure or intermediate servers. * *Deploy* your RestfulX application on the Google App Engine and use Google DataStore for persistence. * *Synchronize* your data between AIR _SQLite_ and other service providers."
43
+ email: dima.berastau@gmail.com
44
+ executables:
45
+ - rx-gen
46
+ extensions: []
47
+
48
+ extra_rdoc_files:
49
+ - README.rdoc
50
+ - bin/rx-gen
51
+ files:
52
+ - History.txt
53
+ - Manifest.txt
54
+ - README.rdoc
55
+ - Rakefile
56
+ - app_generators/rx_app/USAGE
57
+ - app_generators/rx_app/rx_app_generator.rb
58
+ - app_generators/rx_app/templates/actionscript.properties
59
+ - app_generators/rx_app/templates/actionscriptair.properties
60
+ - app_generators/rx_app/templates/app.yaml.erb
61
+ - app_generators/rx_app/templates/default_tasks.rake
62
+ - app_generators/rx_app/templates/empty.txt
63
+ - app_generators/rx_app/templates/expressInstall.swf
64
+ - app_generators/rx_app/templates/flex.properties
65
+ - app_generators/rx_app/templates/generate.rb
66
+ - app_generators/rx_app/templates/html-template/AC_OETags.js
67
+ - app_generators/rx_app/templates/html-template/history/history.css
68
+ - app_generators/rx_app/templates/html-template/history/history.js
69
+ - app_generators/rx_app/templates/html-template/history/historyFrame.html
70
+ - app_generators/rx_app/templates/html-template/index.template.html
71
+ - app_generators/rx_app/templates/html-template/playerProductInstall.swf
72
+ - app_generators/rx_app/templates/index.html.erb
73
+ - app_generators/rx_app/templates/index.yaml
74
+ - app_generators/rx_app/templates/mainair-app.xml
75
+ - app_generators/rx_app/templates/mainapp-config.xml
76
+ - app_generators/rx_app/templates/mainapp.mxml
77
+ - app_generators/rx_app/templates/project-textmate.erb
78
+ - app_generators/rx_app/templates/project.properties
79
+ - app_generators/rx_app/templates/projectair.properties
80
+ - app_generators/rx_app/templates/swfobject.js
81
+ - bin/rx-gen
82
+ - generators/rx_config/USAGE
83
+ - generators/rx_config/rx_config_generator.rb
84
+ - generators/rx_controller/USAGE
85
+ - generators/rx_controller/rx_controller_generator.rb
86
+ - generators/rx_controller/templates/assist.py
87
+ - generators/rx_controller/templates/controller.as.erb
88
+ - generators/rx_controller/templates/restful.py
89
+ - generators/rx_main_app/USAGE
90
+ - generators/rx_main_app/rx_main_app_generator.rb
91
+ - generators/rx_main_app/templates/main.py.erb
92
+ - generators/rx_main_app/templates/mainapp.mxml
93
+ - generators/rx_scaffold/USAGE
94
+ - generators/rx_scaffold/rx_scaffold_generator.rb
95
+ - generators/rx_scaffold/templates/component.mxml.erb
96
+ - generators/rx_scaffold/templates/controller.py.erb
97
+ - generators/rx_scaffold/templates/model.as.erb
98
+ - generators/rx_scaffold/templates/model.py.erb
99
+ - generators/rx_yaml_scaffold/USAGE
100
+ - generators/rx_yaml_scaffold/rx_yaml_scaffold_generator.rb
101
+ - lib/restfulx.rb
102
+ - lib/restfulx/active_foo.rb
103
+ - lib/restfulx/active_record_tasks.rb
104
+ - lib/restfulx/configuration.rb
105
+ - lib/restfulx/datamapper_foo.rb
106
+ - lib/restfulx/rails/recipes.rb
107
+ - lib/restfulx/rails/swf_helper.rb
108
+ - lib/restfulx/tasks.rb
109
+ - rails_generators/rx_config/USAGE
110
+ - rails_generators/rx_config/rx_config_generator.rb
111
+ - rails_generators/rx_config/templates/actionscript.properties
112
+ - rails_generators/rx_config/templates/actionscriptair.properties
113
+ - rails_generators/rx_config/templates/expressInstall.swf
114
+ - rails_generators/rx_config/templates/flex.properties
115
+ - rails_generators/rx_config/templates/html-template/AC_OETags.js
116
+ - rails_generators/rx_config/templates/html-template/history/history.css
117
+ - rails_generators/rx_config/templates/html-template/history/history.js
118
+ - rails_generators/rx_config/templates/html-template/history/historyFrame.html
119
+ - rails_generators/rx_config/templates/html-template/index.template.html
120
+ - rails_generators/rx_config/templates/html-template/playerProductInstall.swf
121
+ - rails_generators/rx_config/templates/index.html.erb
122
+ - rails_generators/rx_config/templates/mainair-app.xml
123
+ - rails_generators/rx_config/templates/mainapp-config.xml
124
+ - rails_generators/rx_config/templates/mainapp.mxml
125
+ - rails_generators/rx_config/templates/project-textmate.erb
126
+ - rails_generators/rx_config/templates/project.properties
127
+ - rails_generators/rx_config/templates/projectair.properties
128
+ - rails_generators/rx_config/templates/restfulx.yml
129
+ - rails_generators/rx_config/templates/restfulx_tasks.rake
130
+ - rails_generators/rx_config/templates/swfobject.js
131
+ - rails_generators/rx_controller/USAGE
132
+ - rails_generators/rx_controller/rx_controller_generator.rb
133
+ - rails_generators/rx_controller/templates/controller.as.erb
134
+ - rails_generators/rx_scaffold/USAGE
135
+ - rails_generators/rx_scaffold/rx_scaffold_generator.rb
136
+ - rails_generators/rx_scaffold/templates/component.mxml.erb
137
+ - rails_generators/rx_scaffold/templates/controller.rb.erb
138
+ - rails_generators/rx_scaffold/templates/fixtures.yml.erb
139
+ - rails_generators/rx_scaffold/templates/migration.rb.erb
140
+ - rails_generators/rx_scaffold/templates/model.as.erb
141
+ - rails_generators/rx_scaffold/templates/model.rb.erb
142
+ - rails_generators/rx_yaml_scaffold/USAGE
143
+ - rails_generators/rx_yaml_scaffold/rx_yaml_scaffold_generator.rb
144
+ - rdoc/generators/template/html/jamis.rb
145
+ - spec/restfulx_spec.rb
146
+ - spec/spec_helper.rb
147
+ - test/rails/controllers/application.rb
148
+ - test/rails/controllers/locations_controller.rb
149
+ - test/rails/controllers/notes_controller.rb
150
+ - test/rails/controllers/projects_controller.rb
151
+ - test/rails/controllers/tasks_controller.rb
152
+ - test/rails/controllers/users_controller.rb
153
+ - test/rails/database.yml
154
+ - test/rails/fixtures/locations.yml
155
+ - test/rails/fixtures/notes.yml
156
+ - test/rails/fixtures/projects.yml
157
+ - test/rails/fixtures/simple_properties.yml
158
+ - test/rails/fixtures/tasks.yml
159
+ - test/rails/fixtures/users.yml
160
+ - test/rails/helpers/functional_test_helper.rb
161
+ - test/rails/helpers/test_helper.rb
162
+ - test/rails/helpers/unit_test_helper.rb
163
+ - test/rails/model.yml
164
+ - test/rails/models/location.rb
165
+ - test/rails/models/note.rb
166
+ - test/rails/models/project.rb
167
+ - test/rails/models/simple_property.rb
168
+ - test/rails/models/task.rb
169
+ - test/rails/models/user.rb
170
+ - test/rails/playing_around_in_a_console.txt
171
+ - test/rails/schema.rb
172
+ - test/rails/test.swf
173
+ - test/rails/test_active_foo.rb
174
+ - test/rails/test_rails_integration_functional.rb
175
+ - test/rails/test_to_fxml.rb
176
+ - test/rails/test_to_json.rb
177
+ - test/rails/views/notes/empty_params_action.html.erb
178
+ - test/rails/views/notes/index.html.erb
179
+ has_rdoc: true
180
+ homepage: http://wiki.github.com/dima/restfulx
181
+ post_install_message:
182
+ rdoc_options:
183
+ - --main
184
+ - README.rdoc
185
+ require_paths:
186
+ - lib
187
+ required_ruby_version: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - ">="
190
+ - !ruby/object:Gem::Version
191
+ version: "0"
192
+ version:
193
+ required_rubygems_version: !ruby/object:Gem::Requirement
194
+ requirements:
195
+ - - ">="
196
+ - !ruby/object:Gem::Version
197
+ version: "0"
198
+ version:
199
+ requirements: []
200
+
201
+ rubyforge_project: restfulx
202
+ rubygems_version: 1.2.0
203
+ signing_key:
204
+ specification_version: 2
205
+ summary: RestfulX Framework Code Generation Engine / Rails 2.1+ Integration Support
206
+ test_files:
207
+ - test/rails/helpers/test_helper.rb
208
+ - test/rails/test_active_foo.rb
209
+ - test/rails/test_rails_integration_functional.rb
210
+ - test/rails/test_to_fxml.rb
211
+ - test/rails/test_to_json.rb