ruboss4ruby 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Generators +5 -0
- data/Manifest.txt +39 -41
- data/Rakefile +2 -1
- data/lib/ruboss4ruby.rb +16 -12
- data/lib/ruboss4ruby/active_foo.rb +39 -3
- data/lib/ruboss4ruby/recipes.rb +62 -0
- data/lib/ruboss4ruby/ruboss_helper.rb +54 -0
- data/lib/ruboss4ruby/ruboss_test_helpers.rb +31 -0
- data/lib/ruboss4ruby/tasks.rb +0 -2
- data/lib/ruboss4ruby/version.rb +2 -2
- data/merb_generators/ruboss_config.rb +19 -19
- data/merb_generators/ruboss_controller.rb +3 -3
- data/merb_generators/ruboss_flex_app.rb +3 -3
- data/merb_generators/ruboss_resource_controller.rb +3 -3
- data/merb_generators/ruboss_scaffold.rb +47 -47
- data/rails_generators/ruboss_config/ruboss_config_generator.rb +2 -2
- data/rails_generators/ruboss_config/templates/index.html.erb +2 -2
- data/rails_generators/ruboss_config/templates/mainapp-config.xml +21 -0
- data/rails_generators/ruboss_config/templates/mainapp.mxml +4 -7
- data/rails_generators/ruboss_config/templates/project-textmate.erb +52 -0
- data/rails_generators/ruboss_controller/ruboss_controller_generator.rb +0 -2
- data/rails_generators/ruboss_scaffold/ruboss_scaffold_generator.rb +0 -2
- data/rails_generators/ruboss_scaffold/templates/component.mxml.erb +4 -3
- data/rails_generators/ruboss_yaml_scaffold/ruboss_yaml_scaffold_generator.rb +0 -1
- data/test/controllers/application.rb +15 -0
- data/test/controllers/locations_controller.rb +93 -0
- data/test/controllers/notes_controller.rb +96 -0
- data/test/controllers/projects_controller.rb +93 -0
- data/test/controllers/tasks_controller.rb +93 -0
- data/test/controllers/users_controller.rb +93 -0
- data/test/database.yml +4 -0
- data/test/fixtures/locations.yml +8 -0
- data/test/fixtures/notes.yml +17 -0
- data/test/fixtures/projects.yml +25 -0
- data/test/fixtures/tasks.yml +46 -0
- data/test/fixtures/users.yml +13 -0
- data/test/helpers/controllers.log +8 -0
- data/test/helpers/functional_test_helper.rb +32 -0
- data/test/helpers/models.log +170 -0
- data/test/helpers/test_helper.rb +25 -0
- data/test/helpers/unit_test_helper.rb +23 -0
- data/test/model.yml +35 -0
- data/test/models/location.rb +4 -0
- data/test/models/note.rb +3 -0
- data/test/models/project.rb +6 -0
- data/test/models/task.rb +20 -0
- data/test/models/user.rb +23 -0
- data/test/playing_around_in_a_console.txt +71 -0
- data/test/schema.rb +63 -0
- data/test/test.sqlite3 +0 -0
- data/test/test.swf +1 -0
- data/test/test_active_foo.rb +79 -0
- data/test/test_ruboss_rails_integration_functional.rb +27 -0
- data/test/test_swfobject_helper.rb +63 -0
- data/test/to_fxml_test.rb +79 -0
- data/test/views/notes/empty_params_action.html.erb +1 -0
- data/test/views/notes/index.html.erb +1 -0
- metadata +57 -52
- data/merb_generators/ruboss_config/USAGE +0 -18
- data/merb_generators/ruboss_config/ruboss_config_generator.rb +0 -135
- data/merb_generators/ruboss_config/templates/actionscript.properties +0 -16
- data/merb_generators/ruboss_config/templates/actionscriptair.properties +0 -16
- data/merb_generators/ruboss_config/templates/expressInstall.swf +0 -0
- data/merb_generators/ruboss_config/templates/flex.properties +0 -2
- data/merb_generators/ruboss_config/templates/html-template/AC_OETags.js +0 -276
- data/merb_generators/ruboss_config/templates/html-template/history/history.css +0 -6
- data/merb_generators/ruboss_config/templates/html-template/history/history.js +0 -645
- data/merb_generators/ruboss_config/templates/html-template/history/historyFrame.html +0 -29
- data/merb_generators/ruboss_config/templates/html-template/index.template.html +0 -121
- data/merb_generators/ruboss_config/templates/html-template/playerProductInstall.swf +0 -0
- data/merb_generators/ruboss_config/templates/index.html.erb +0 -18
- data/merb_generators/ruboss_config/templates/mainair-app.xml +0 -134
- data/merb_generators/ruboss_config/templates/mainapp.mxml +0 -34
- data/merb_generators/ruboss_config/templates/project.properties +0 -18
- data/merb_generators/ruboss_config/templates/projectair.properties +0 -24
- data/merb_generators/ruboss_config/templates/swfobject.js +0 -5
- data/merb_generators/ruboss_controller/USAGE +0 -11
- data/merb_generators/ruboss_controller/ruboss_controller_generator.rb +0 -32
- data/merb_generators/ruboss_resource_controller/USAGE +0 -5
- data/merb_generators/ruboss_resource_controller/ruboss_resource_controller_generator.rb +0 -70
- data/merb_generators/ruboss_resource_controller/templates/app/controllers/%controller_file_name%.rb +0 -55
- data/merb_generators/ruboss_resource_controller/templates/app/helpers/%controller_file_name%_helper.rb +0 -16
- data/merb_generators/ruboss_scaffold/USAGE +0 -5
- data/merb_generators/ruboss_scaffold/ruboss_scaffold_generator.rb +0 -127
- data/merb_generators/ruboss_yaml_scaffold/USAGE +0 -5
- data/merb_generators/ruboss_yaml_scaffold/ruboss_yaml_scaffold_generator.rb +0 -53
- data/merb_generators/templates/ruboss_scaffold/component.mxml.erb +0 -148
- data/merb_generators/templates/ruboss_scaffold/fixtures.yml.erb +0 -35
- data/merb_generators/templates/ruboss_scaffold/migration.rb.erb +0 -19
- data/merb_generators/templates/ruboss_scaffold/model.as.erb +0 -42
- data/merb_generators/templates/ruboss_scaffold/model.rb.erb +0 -11
- data/test/active_foo_test.rb +0 -16
- data/test/test_generator_helper.rb +0 -29
- data/test/test_helper.rb +0 -2
- data/test/test_ruboss_config_generator.rb +0 -45
- data/test/test_ruboss_controller_generator.rb +0 -45
- data/test/test_ruboss_on_ruby.rb +0 -11
- data/test/test_ruboss_scaffold_generator.rb +0 -45
- data/test/test_ruboss_yaml_scaffold_generator.rb +0 -46
data/test/schema.rb
ADDED
@@ -0,0 +1,63 @@
|
|
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
|
+
create_table "locations", :force => true do |t|
|
15
|
+
t.string "name"
|
16
|
+
t.text "notes"
|
17
|
+
t.integer "user_id"
|
18
|
+
t.datetime "created_at"
|
19
|
+
t.datetime "updated_at"
|
20
|
+
end
|
21
|
+
|
22
|
+
create_table "notes", :force => true do |t|
|
23
|
+
t.text "content"
|
24
|
+
t.integer "user_id"
|
25
|
+
t.datetime "created_at"
|
26
|
+
t.datetime "updated_at"
|
27
|
+
end
|
28
|
+
|
29
|
+
create_table "projects", :force => true do |t|
|
30
|
+
t.string "name"
|
31
|
+
t.text "notes"
|
32
|
+
t.date "start_date"
|
33
|
+
t.date "end_date"
|
34
|
+
t.boolean "completed"
|
35
|
+
t.integer "user_id"
|
36
|
+
t.datetime "created_at"
|
37
|
+
t.datetime "updated_at"
|
38
|
+
end
|
39
|
+
|
40
|
+
create_table "tasks", :force => true do |t|
|
41
|
+
t.string "name"
|
42
|
+
t.text "notes"
|
43
|
+
t.datetime "start_time"
|
44
|
+
t.datetime "end_time"
|
45
|
+
t.boolean "completed"
|
46
|
+
t.boolean "next_action"
|
47
|
+
t.integer "project_id"
|
48
|
+
t.integer "location_id"
|
49
|
+
t.integer "user_id"
|
50
|
+
t.datetime "created_at"
|
51
|
+
t.datetime "updated_at"
|
52
|
+
end
|
53
|
+
|
54
|
+
create_table "users", :force => true do |t|
|
55
|
+
t.string "login"
|
56
|
+
t.string "first_name"
|
57
|
+
t.string "last_name"
|
58
|
+
t.string "email"
|
59
|
+
t.datetime "created_at"
|
60
|
+
t.datetime "updated_at"
|
61
|
+
end
|
62
|
+
|
63
|
+
end
|
data/test/test.sqlite3
ADDED
Binary file
|
data/test/test.swf
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
This is used for the ruboss_helper_test.rb test suite.
|
@@ -0,0 +1,79 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'test/unit'
|
3
|
+
RAILS_ROOT = File.dirname(__FILE__) unless defined? RAILS_ROOT
|
4
|
+
require File.join(File.dirname(__FILE__), 'helpers', 'test_helper')
|
5
|
+
require File.join(File.dirname(__FILE__), 'helpers', 'unit_test_helper')
|
6
|
+
|
7
|
+
class ActiveFooTest < Test::Unit::TestCase
|
8
|
+
fixtures :all
|
9
|
+
|
10
|
+
def setup
|
11
|
+
@shakespeare = users(:shakespeare)
|
12
|
+
end
|
13
|
+
|
14
|
+
def test_to_fxml_with_args_on_empty_array_should_not_blow_up
|
15
|
+
a = ClassyEmptyArray.new(Object)
|
16
|
+
assert_nothing_raised {a.to_fxml}
|
17
|
+
assert_nothing_raised {a.to_fxml(:include => :test)}
|
18
|
+
end
|
19
|
+
|
20
|
+
def test_to_fxml_on_empty_classy_array_gives_class
|
21
|
+
a = ClassyEmptyArray.new(Object)
|
22
|
+
assert_match 'Object', a.to_fxml
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_task_fxml_includes_default_method
|
26
|
+
set_response_to tasks(:haydn).to_fxml
|
27
|
+
assert_xml_select 'task is_active'
|
28
|
+
end
|
29
|
+
|
30
|
+
def test_user_fxml_includes_tasks
|
31
|
+
set_response_to users(:ludwig).to_fxml
|
32
|
+
assert_xml_select 'user tasks task'
|
33
|
+
end
|
34
|
+
|
35
|
+
def test_user_fxml_includes_has_nothing_to_do_method
|
36
|
+
set_response_to users(:ludwig).to_fxml
|
37
|
+
assert_xml_select 'user has_nothing_to_do'
|
38
|
+
end
|
39
|
+
|
40
|
+
def test_user_fxml_includes_default_method_from_task
|
41
|
+
set_response_to users(:ludwig).to_fxml
|
42
|
+
assert_xml_select 'user tasks task is_active'
|
43
|
+
end
|
44
|
+
|
45
|
+
def test_projects_fxml_includes_tasks
|
46
|
+
set_response_to projects(:music).to_fxml
|
47
|
+
assert_xml_select 'project tasks task'
|
48
|
+
end
|
49
|
+
|
50
|
+
def test_projects_with_user_included_as_symbol
|
51
|
+
set_response_to projects(:music).to_fxml(:include => :user)
|
52
|
+
assert_xml_select 'project user'
|
53
|
+
end
|
54
|
+
|
55
|
+
def test_includes_as_hash_returns_hashes
|
56
|
+
assert_equal Hash.new, User.includes_as_hash
|
57
|
+
assert_equal ({:one => 1, :two => 2}), User.includes_as_hash({:one => 1, :two => 2})
|
58
|
+
assert_equal ({:test => {}}), User.includes_as_hash(:test)
|
59
|
+
assert_equal ({:test1 => {}, :test2 => {}}), User.includes_as_hash([:test1, :test2])
|
60
|
+
end
|
61
|
+
|
62
|
+
def test_validates_length_of_validates_length
|
63
|
+
assert_nothing_raised do
|
64
|
+
@shakespeare.login = 'william_shakespeare'
|
65
|
+
@shakespeare.save
|
66
|
+
assert !@shakespeare.errors.empty?
|
67
|
+
end
|
68
|
+
@shakespeare.login = 'william'
|
69
|
+
@shakespeare.save
|
70
|
+
assert @shakespeare.errors.empty?
|
71
|
+
end
|
72
|
+
|
73
|
+
def test_you_can_do_to_fxml_with_validates_length
|
74
|
+
assert_nothing_raised do
|
75
|
+
@shakespeare.to_fxml
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
require 'rubygems'
|
3
|
+
|
4
|
+
require File.join(File.dirname(__FILE__), 'helpers', 'test_helper')
|
5
|
+
require File.join(File.dirname(__FILE__), 'helpers', 'functional_test_helper')
|
6
|
+
|
7
|
+
|
8
|
+
ActionController::Routing::Routes.draw do |map|
|
9
|
+
map.connect ':controller/:action/:id'
|
10
|
+
end
|
11
|
+
|
12
|
+
|
13
|
+
class RubossRailsIntegrationFunctionalTest < Test::Unit::TestCase
|
14
|
+
fixtures :all
|
15
|
+
|
16
|
+
def setup
|
17
|
+
@controller = NotesController.new()
|
18
|
+
@controller.request = @request = ActionController::TestRequest.new
|
19
|
+
@response = ActionController::TestResponse.new
|
20
|
+
end
|
21
|
+
|
22
|
+
def test_render_with_an_empty_params_hash_should_not_blow_up
|
23
|
+
get :empty_params_action
|
24
|
+
assert_response :success
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
require 'rubygems'
|
3
|
+
require File.join(File.dirname(__FILE__), 'helpers', 'test_helper.rb')
|
4
|
+
|
5
|
+
class RubossHelperTest < Test::Unit::TestCase
|
6
|
+
|
7
|
+
ActionView::Helpers::AssetTagHelper::ASSETS_DIR = File.dirname(__FILE__) # Make rails_asset_id work
|
8
|
+
|
9
|
+
include RubossHelper
|
10
|
+
include ActionView::Helpers
|
11
|
+
include ActionView::Helpers::UrlHelper
|
12
|
+
include ActionView::Helpers::ActiveRecordHelper
|
13
|
+
include ActionView::Helpers::JavascriptHelper
|
14
|
+
include ActionView::Helpers::AssetTagHelper
|
15
|
+
include ActionView::Helpers::TagHelper
|
16
|
+
include ActionView::Helpers::CaptureHelper
|
17
|
+
include ActionView::Helpers::TextHelper
|
18
|
+
# include ActionController
|
19
|
+
|
20
|
+
# Mock out the form authenticity token method
|
21
|
+
def form_authenticity_token
|
22
|
+
"123456"
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_sanity
|
26
|
+
assert_nothing_raised {swfobject('test.swf')}
|
27
|
+
end
|
28
|
+
|
29
|
+
def test_div_is_created_if_asked_for
|
30
|
+
swf = swfobject('test.swf', :create_div => true)
|
31
|
+
assert_match(/<div id=\"flashContent\"/, swf) #"
|
32
|
+
end
|
33
|
+
|
34
|
+
def test_div_name_is_set_properly
|
35
|
+
swf = swfobject('test.swf', :create_div => true, :id => 'my_id')
|
36
|
+
assert_match(/<div id=\"my_id\"/, swf) #"
|
37
|
+
end
|
38
|
+
|
39
|
+
def test_div_is_not_created_if_not_asked_for
|
40
|
+
swf = swfobject('test.swf')
|
41
|
+
assert_no_match(/<div/, swf)
|
42
|
+
end
|
43
|
+
|
44
|
+
def test_flash_vars_can_be_set_with_a_string
|
45
|
+
swf = swfobject('test.swf', :flash_vars => 'myVars' )
|
46
|
+
assert_match(/,myVars[ )]/, swf)
|
47
|
+
end
|
48
|
+
|
49
|
+
def test_flash_vars_can_be_set_with_a_hash
|
50
|
+
hash = {'one' => 1, 'two' => 2, 'string' => 'stringy'}
|
51
|
+
swf = swfobject('test.swf', :flash_vars => hash )
|
52
|
+
# assert_match /one:\"1\"/, swf #"
|
53
|
+
# assert_match /two:\"2\"/, swf #"
|
54
|
+
assert_match hash.to_json, swf
|
55
|
+
end
|
56
|
+
|
57
|
+
def test_rails_asset_id_is_not_blank
|
58
|
+
swf = swfobject('test.swf')
|
59
|
+
swf =~ /test.swf\?([^\']*)/
|
60
|
+
assert !$1.empty?
|
61
|
+
end
|
62
|
+
|
63
|
+
end
|
@@ -0,0 +1,79 @@
|
|
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
|
+
|
10
|
+
|
11
|
+
class ToFxmlTest < Test::Unit::TestCase
|
12
|
+
fixtures :locations, :notes, :projects, :tasks, :users
|
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
|
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
|
31
|
+
set_response_to users(:ludwig).to_fxml
|
32
|
+
assert_xml_select 'user full_name', 'Ludwig van Beethoven'
|
33
|
+
assert_xml_select 'user has_nothing_to_do'
|
34
|
+
end
|
35
|
+
|
36
|
+
|
37
|
+
def test_default_xml_methods_on_task_are_included_in_fxml
|
38
|
+
set_response_to tasks(:learn_piano).to_fxml
|
39
|
+
assert_xml_select 'task is_active'
|
40
|
+
end
|
41
|
+
|
42
|
+
def test_default_xml_methods_exists
|
43
|
+
assert User.respond_to?(:default_xml_methods_array)
|
44
|
+
assert_equal [:full_name, :has_nothing_to_do], User.default_xml_methods_array
|
45
|
+
end
|
46
|
+
|
47
|
+
def test_default_xml_methods_on_dependencies
|
48
|
+
t = users(:ludwig).tasks.first
|
49
|
+
assert t.class.respond_to?(:default_xml_methods_array)
|
50
|
+
assert_equal [:is_active], t.class.default_xml_methods_array
|
51
|
+
end
|
52
|
+
|
53
|
+
def test_default_xml_methods_are_included_in_includes
|
54
|
+
set_response_to users(:ludwig).to_fxml(:include => :tasks)
|
55
|
+
assert_xml_select 'tasks task is_active'
|
56
|
+
end
|
57
|
+
|
58
|
+
def test_model_without_default_xml_methods_still_works
|
59
|
+
assert_nothing_raised{ locations(:vienna).to_fxml }
|
60
|
+
end
|
61
|
+
|
62
|
+
def test_user_with_non_default_methods_in_to_xml
|
63
|
+
set_response_to users(:ludwig).to_fxml(:methods => :email_host)
|
64
|
+
assert_xml_select 'user email_host', 'vienna.de'
|
65
|
+
assert_xml_select 'user full_name'
|
66
|
+
end
|
67
|
+
|
68
|
+
def test_model_with_default_xml_includes
|
69
|
+
set_response_to users(:ludwig).to_fxml
|
70
|
+
assert_xml_select 'user tasks task'
|
71
|
+
end
|
72
|
+
|
73
|
+
# Test type=.... stuff for has_many, booleans, integers, dates, date-times
|
74
|
+
|
75
|
+
# Test empty arrays
|
76
|
+
|
77
|
+
# Test options[:except]
|
78
|
+
|
79
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
empty params action
|
@@ -0,0 +1 @@
|
|
1
|
+
<p>This is the note index!</p>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruboss4ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dima Berastau
|
@@ -9,10 +9,19 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-10-20 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: hoe
|
17
|
+
type: :development
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 1.8.0
|
24
|
+
version:
|
16
25
|
description: Ruboss Framework Integration Support for Rails 2.+ and Merb 0.9.3+
|
17
26
|
email:
|
18
27
|
- dima@ruboss.com
|
@@ -26,8 +35,10 @@ extra_rdoc_files:
|
|
26
35
|
- README.txt
|
27
36
|
- gpl-3.0.txt
|
28
37
|
- rcl-1.0.txt
|
38
|
+
- test/playing_around_in_a_console.txt
|
29
39
|
- website/index.txt
|
30
40
|
files:
|
41
|
+
- Generators
|
31
42
|
- History.txt
|
32
43
|
- Manifest.txt
|
33
44
|
- README.txt
|
@@ -40,41 +51,16 @@ files:
|
|
40
51
|
- lib/ruboss4ruby/active_record_tasks.rb
|
41
52
|
- lib/ruboss4ruby/configuration.rb
|
42
53
|
- lib/ruboss4ruby/generated_attribute.rb
|
54
|
+
- lib/ruboss4ruby/recipes.rb
|
55
|
+
- lib/ruboss4ruby/ruboss_helper.rb
|
56
|
+
- lib/ruboss4ruby/ruboss_test_helpers.rb
|
43
57
|
- lib/ruboss4ruby/tasks.rb
|
44
58
|
- lib/ruboss4ruby/version.rb
|
45
59
|
- merb_generators/ruboss_config.rb
|
46
|
-
- merb_generators/ruboss_config/USAGE
|
47
|
-
- merb_generators/ruboss_config/ruboss_config_generator.rb
|
48
|
-
- merb_generators/ruboss_config/templates/actionscript.properties
|
49
|
-
- merb_generators/ruboss_config/templates/actionscriptair.properties
|
50
|
-
- merb_generators/ruboss_config/templates/expressInstall.swf
|
51
|
-
- merb_generators/ruboss_config/templates/flex.properties
|
52
|
-
- merb_generators/ruboss_config/templates/html-template/AC_OETags.js
|
53
|
-
- merb_generators/ruboss_config/templates/html-template/history/history.css
|
54
|
-
- merb_generators/ruboss_config/templates/html-template/history/history.js
|
55
|
-
- merb_generators/ruboss_config/templates/html-template/history/historyFrame.html
|
56
|
-
- merb_generators/ruboss_config/templates/html-template/index.template.html
|
57
|
-
- merb_generators/ruboss_config/templates/html-template/playerProductInstall.swf
|
58
|
-
- merb_generators/ruboss_config/templates/index.html.erb
|
59
|
-
- merb_generators/ruboss_config/templates/mainair-app.xml
|
60
|
-
- merb_generators/ruboss_config/templates/mainapp.mxml
|
61
|
-
- merb_generators/ruboss_config/templates/project.properties
|
62
|
-
- merb_generators/ruboss_config/templates/projectair.properties
|
63
|
-
- merb_generators/ruboss_config/templates/swfobject.js
|
64
60
|
- merb_generators/ruboss_controller.rb
|
65
|
-
- merb_generators/ruboss_controller/USAGE
|
66
|
-
- merb_generators/ruboss_controller/ruboss_controller_generator.rb
|
67
61
|
- merb_generators/ruboss_flex_app.rb
|
68
62
|
- merb_generators/ruboss_resource_controller.rb
|
69
|
-
- merb_generators/ruboss_resource_controller/USAGE
|
70
|
-
- merb_generators/ruboss_resource_controller/ruboss_resource_controller_generator.rb
|
71
|
-
- merb_generators/ruboss_resource_controller/templates/app/controllers/%controller_file_name%.rb
|
72
|
-
- merb_generators/ruboss_resource_controller/templates/app/helpers/%controller_file_name%_helper.rb
|
73
63
|
- merb_generators/ruboss_scaffold.rb
|
74
|
-
- merb_generators/ruboss_scaffold/USAGE
|
75
|
-
- merb_generators/ruboss_scaffold/ruboss_scaffold_generator.rb
|
76
|
-
- merb_generators/ruboss_yaml_scaffold/USAGE
|
77
|
-
- merb_generators/ruboss_yaml_scaffold/ruboss_yaml_scaffold_generator.rb
|
78
64
|
- merb_generators/templates/ruboss_config/actionscript.properties
|
79
65
|
- merb_generators/templates/ruboss_config/actionscriptair.properties
|
80
66
|
- merb_generators/templates/ruboss_config/expressInstall.swf
|
@@ -94,11 +80,6 @@ files:
|
|
94
80
|
- merb_generators/templates/ruboss_controller/controller.as.erb
|
95
81
|
- merb_generators/templates/ruboss_flex_app/mainapp.mxml
|
96
82
|
- merb_generators/templates/ruboss_resource_controller/controller.rb.erb
|
97
|
-
- merb_generators/templates/ruboss_scaffold/component.mxml.erb
|
98
|
-
- merb_generators/templates/ruboss_scaffold/fixtures.yml.erb
|
99
|
-
- merb_generators/templates/ruboss_scaffold/migration.rb.erb
|
100
|
-
- merb_generators/templates/ruboss_scaffold/model.as.erb
|
101
|
-
- merb_generators/templates/ruboss_scaffold/model.rb.erb
|
102
83
|
- rails_generators/ruboss_config/USAGE
|
103
84
|
- rails_generators/ruboss_config/ruboss_config_generator.rb
|
104
85
|
- rails_generators/ruboss_config/templates/actionscript.properties
|
@@ -113,7 +94,9 @@ files:
|
|
113
94
|
- rails_generators/ruboss_config/templates/html-template/playerProductInstall.swf
|
114
95
|
- rails_generators/ruboss_config/templates/index.html.erb
|
115
96
|
- rails_generators/ruboss_config/templates/mainair-app.xml
|
97
|
+
- rails_generators/ruboss_config/templates/mainapp-config.xml
|
116
98
|
- rails_generators/ruboss_config/templates/mainapp.mxml
|
99
|
+
- rails_generators/ruboss_config/templates/project-textmate.erb
|
117
100
|
- rails_generators/ruboss_config/templates/project.properties
|
118
101
|
- rails_generators/ruboss_config/templates/projectair.properties
|
119
102
|
- rails_generators/ruboss_config/templates/ruboss.yml
|
@@ -141,14 +124,39 @@ files:
|
|
141
124
|
- tasks/deployment.rake
|
142
125
|
- tasks/environment.rake
|
143
126
|
- tasks/website.rake
|
144
|
-
- test/
|
145
|
-
- test/
|
146
|
-
- test/
|
147
|
-
- test/
|
148
|
-
- test/
|
149
|
-
- test/
|
150
|
-
- test/
|
151
|
-
- test/
|
127
|
+
- test/controllers/application.rb
|
128
|
+
- test/controllers/locations_controller.rb
|
129
|
+
- test/controllers/notes_controller.rb
|
130
|
+
- test/controllers/projects_controller.rb
|
131
|
+
- test/controllers/tasks_controller.rb
|
132
|
+
- test/controllers/users_controller.rb
|
133
|
+
- test/database.yml
|
134
|
+
- test/fixtures/locations.yml
|
135
|
+
- test/fixtures/notes.yml
|
136
|
+
- test/fixtures/projects.yml
|
137
|
+
- test/fixtures/tasks.yml
|
138
|
+
- test/fixtures/users.yml
|
139
|
+
- test/helpers/controllers.log
|
140
|
+
- test/helpers/functional_test_helper.rb
|
141
|
+
- test/helpers/models.log
|
142
|
+
- test/helpers/test_helper.rb
|
143
|
+
- test/helpers/unit_test_helper.rb
|
144
|
+
- test/model.yml
|
145
|
+
- test/models/location.rb
|
146
|
+
- test/models/note.rb
|
147
|
+
- test/models/project.rb
|
148
|
+
- test/models/task.rb
|
149
|
+
- test/models/user.rb
|
150
|
+
- test/playing_around_in_a_console.txt
|
151
|
+
- test/schema.rb
|
152
|
+
- test/test.sqlite3
|
153
|
+
- test/test.swf
|
154
|
+
- test/test_active_foo.rb
|
155
|
+
- test/test_ruboss_rails_integration_functional.rb
|
156
|
+
- test/test_swfobject_helper.rb
|
157
|
+
- test/to_fxml_test.rb
|
158
|
+
- test/views/notes/empty_params_action.html.erb
|
159
|
+
- test/views/notes/index.html.erb
|
152
160
|
- website/index.html
|
153
161
|
- website/index.txt
|
154
162
|
- website/javascripts/rounded_corners_lite.inc.js
|
@@ -182,10 +190,7 @@ signing_key:
|
|
182
190
|
specification_version: 2
|
183
191
|
summary: Ruboss Framework Integration Support for Rails 2.+ and Merb 0.9.3+
|
184
192
|
test_files:
|
185
|
-
- test/
|
186
|
-
- test/
|
187
|
-
- test/
|
188
|
-
- test/
|
189
|
-
- test/test_ruboss_on_ruby.rb
|
190
|
-
- test/test_ruboss_scaffold_generator.rb
|
191
|
-
- test/test_ruboss_yaml_scaffold_generator.rb
|
193
|
+
- test/helpers/test_helper.rb
|
194
|
+
- test/test_active_foo.rb
|
195
|
+
- test/test_ruboss_rails_integration_functional.rb
|
196
|
+
- test/test_swfobject_helper.rb
|