streamit 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/users_controller.rb +83 -0
- data/test/dummy/app/models/stream.rb +3 -0
- data/test/dummy/app/models/user.rb +7 -0
- data/test/dummy/app/views/layouts/application.html.erb +20 -0
- data/test/dummy/app/views/streamit/streams/_stream.html.erb +3 -0
- data/test/dummy/app/views/users/_form.html.erb +25 -0
- data/test/dummy/app/views/users/edit.html.erb +6 -0
- data/test/dummy/app/views/users/index.html.erb +25 -0
- data/test/dummy/app/views/users/new.html.erb +5 -0
- data/test/dummy/app/views/users/show.html.erb +15 -0
- data/test/dummy/config/application.rb +48 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +22 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +26 -0
- data/test/dummy/config/environments/production.rb +49 -0
- data/test/dummy/config/environments/test.rb +35 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/locales/en.yml +10 -0
- data/test/dummy/config/routes.rb +66 -0
- data/test/dummy/db/migrate/20110204210910_create_items.rb +13 -0
- data/test/dummy/db/migrate/20110204210955_create_users.rb +14 -0
- data/test/dummy/db/migrate/20110204211021_create_watchings.rb +14 -0
- data/test/dummy/db/migrate/20110206230646_create_streams.rb +18 -0
- data/test/dummy/public/javascripts/application.js +2 -0
- data/test/dummy/public/javascripts/controls.js +965 -0
- data/test/dummy/public/javascripts/dragdrop.js +974 -0
- data/test/dummy/public/javascripts/effects.js +1123 -0
- data/test/dummy/public/javascripts/prototype.js +6001 -0
- data/test/dummy/public/javascripts/rails.js +175 -0
- data/test/dummy/public/stylesheets/scaffold.css +56 -0
- data/test/dummy/script/rails +6 -0
- data/test/integration/navigation_test.rb +36 -0
- data/test/store_test.rb +36 -0
- data/test/streamit_test.rb +118 -0
- data/test/support/fixtures.rb +14 -0
- data/test/support/integration_case.rb +5 -0
- data/test/test_helper.rb +22 -0
- metadata +89 -9
data/test/test_helper.rb
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# Configure Rails Envinronment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rails/test_help"
|
6
|
+
|
7
|
+
ActionMailer::Base.delivery_method = :test
|
8
|
+
ActionMailer::Base.perform_deliveries = true
|
9
|
+
ActionMailer::Base.default_url_options[:host] = "test.com"
|
10
|
+
|
11
|
+
Rails.backtrace_cleaner.remove_silencers!
|
12
|
+
|
13
|
+
# Configure capybara for integration testing
|
14
|
+
require "capybara/rails"
|
15
|
+
Capybara.default_driver = :rack_test
|
16
|
+
Capybara.default_selector = :css
|
17
|
+
|
18
|
+
# Run any available migration
|
19
|
+
ActiveRecord::Migrator.migrate File.expand_path("../dummy/db/migrate/", __FILE__)
|
20
|
+
|
21
|
+
# Load support files
|
22
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 1
|
9
|
+
version: 0.0.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Lin He
|
@@ -18,9 +18,8 @@ date: 2011-02-07 00:00:00 -08:00
|
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|
21
|
-
description: Provide feed stream like feature to applications
|
22
|
-
email:
|
23
|
-
- he9lin@gmail.com
|
21
|
+
description: Provide feed stream like feature to rails applications
|
22
|
+
email: "\"he9lin@gmail.com\""
|
24
23
|
executables: []
|
25
24
|
|
26
25
|
extensions: []
|
@@ -39,8 +38,49 @@ files:
|
|
39
38
|
- MIT-LICENSE
|
40
39
|
- Rakefile
|
41
40
|
- README.rdoc
|
41
|
+
- test/dummy/app/controllers/application_controller.rb
|
42
|
+
- test/dummy/app/controllers/users_controller.rb
|
43
|
+
- test/dummy/app/models/stream.rb
|
44
|
+
- test/dummy/app/models/user.rb
|
45
|
+
- test/dummy/app/views/layouts/application.html.erb
|
46
|
+
- test/dummy/app/views/streamit/streams/_stream.html.erb
|
47
|
+
- test/dummy/app/views/users/_form.html.erb
|
48
|
+
- test/dummy/app/views/users/edit.html.erb
|
49
|
+
- test/dummy/app/views/users/index.html.erb
|
50
|
+
- test/dummy/app/views/users/new.html.erb
|
51
|
+
- test/dummy/app/views/users/show.html.erb
|
52
|
+
- test/dummy/config/application.rb
|
53
|
+
- test/dummy/config/boot.rb
|
54
|
+
- test/dummy/config/database.yml
|
55
|
+
- test/dummy/config/environment.rb
|
56
|
+
- test/dummy/config/routes.rb
|
57
|
+
- test/dummy/config/environments/development.rb
|
58
|
+
- test/dummy/config/environments/production.rb
|
59
|
+
- test/dummy/config/environments/test.rb
|
60
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
61
|
+
- test/dummy/config/initializers/secret_token.rb
|
62
|
+
- test/dummy/config/initializers/session_store.rb
|
63
|
+
- test/dummy/config/locales/en.yml
|
64
|
+
- test/dummy/db/migrate/20110204210955_create_users.rb
|
65
|
+
- test/dummy/db/migrate/20110204210910_create_items.rb
|
66
|
+
- test/dummy/db/migrate/20110204211021_create_watchings.rb
|
67
|
+
- test/dummy/db/migrate/20110206230646_create_streams.rb
|
68
|
+
- test/dummy/public/javascripts/application.js
|
69
|
+
- test/dummy/public/javascripts/controls.js
|
70
|
+
- test/dummy/public/javascripts/dragdrop.js
|
71
|
+
- test/dummy/public/javascripts/effects.js
|
72
|
+
- test/dummy/public/javascripts/prototype.js
|
73
|
+
- test/dummy/public/javascripts/rails.js
|
74
|
+
- test/dummy/public/stylesheets/scaffold.css
|
75
|
+
- test/dummy/script/rails
|
76
|
+
- test/integration/navigation_test.rb
|
77
|
+
- test/support/fixtures.rb
|
78
|
+
- test/support/integration_case.rb
|
79
|
+
- test/store_test.rb
|
80
|
+
- test/streamit_test.rb
|
81
|
+
- test/test_helper.rb
|
42
82
|
has_rdoc: true
|
43
|
-
homepage:
|
83
|
+
homepage: http://github.com/he9lin/streamit
|
44
84
|
licenses: []
|
45
85
|
|
46
86
|
post_install_message:
|
@@ -70,6 +110,46 @@ rubyforge_project:
|
|
70
110
|
rubygems_version: 1.3.7
|
71
111
|
signing_key:
|
72
112
|
specification_version: 3
|
73
|
-
summary: Provide feed stream like feature
|
74
|
-
test_files:
|
75
|
-
|
113
|
+
summary: Provide feed stream like feature to rails applications
|
114
|
+
test_files:
|
115
|
+
- test/dummy/app/controllers/application_controller.rb
|
116
|
+
- test/dummy/app/controllers/users_controller.rb
|
117
|
+
- test/dummy/app/models/stream.rb
|
118
|
+
- test/dummy/app/models/user.rb
|
119
|
+
- test/dummy/app/views/layouts/application.html.erb
|
120
|
+
- test/dummy/app/views/streamit/streams/_stream.html.erb
|
121
|
+
- test/dummy/app/views/users/_form.html.erb
|
122
|
+
- test/dummy/app/views/users/edit.html.erb
|
123
|
+
- test/dummy/app/views/users/index.html.erb
|
124
|
+
- test/dummy/app/views/users/new.html.erb
|
125
|
+
- test/dummy/app/views/users/show.html.erb
|
126
|
+
- test/dummy/config/application.rb
|
127
|
+
- test/dummy/config/boot.rb
|
128
|
+
- test/dummy/config/database.yml
|
129
|
+
- test/dummy/config/environment.rb
|
130
|
+
- test/dummy/config/routes.rb
|
131
|
+
- test/dummy/config/environments/development.rb
|
132
|
+
- test/dummy/config/environments/production.rb
|
133
|
+
- test/dummy/config/environments/test.rb
|
134
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
135
|
+
- test/dummy/config/initializers/secret_token.rb
|
136
|
+
- test/dummy/config/initializers/session_store.rb
|
137
|
+
- test/dummy/config/locales/en.yml
|
138
|
+
- test/dummy/db/migrate/20110204210955_create_users.rb
|
139
|
+
- test/dummy/db/migrate/20110204210910_create_items.rb
|
140
|
+
- test/dummy/db/migrate/20110204211021_create_watchings.rb
|
141
|
+
- test/dummy/db/migrate/20110206230646_create_streams.rb
|
142
|
+
- test/dummy/public/javascripts/application.js
|
143
|
+
- test/dummy/public/javascripts/controls.js
|
144
|
+
- test/dummy/public/javascripts/dragdrop.js
|
145
|
+
- test/dummy/public/javascripts/effects.js
|
146
|
+
- test/dummy/public/javascripts/prototype.js
|
147
|
+
- test/dummy/public/javascripts/rails.js
|
148
|
+
- test/dummy/public/stylesheets/scaffold.css
|
149
|
+
- test/dummy/script/rails
|
150
|
+
- test/integration/navigation_test.rb
|
151
|
+
- test/support/fixtures.rb
|
152
|
+
- test/support/integration_case.rb
|
153
|
+
- test/store_test.rb
|
154
|
+
- test/streamit_test.rb
|
155
|
+
- test/test_helper.rb
|