bento 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +62 -0
- data/lib/bento.rb +6 -0
- data/lib/bento/controllers/account_scopable.rb +22 -0
- data/lib/bento/controllers/helpers.rb +17 -0
- data/lib/bento/models/account.rb +59 -0
- data/lib/bento/rails.rb +4 -0
- data/lib/bento/version.rb +3 -0
- data/lib/generators/active_record/bento_generator.rb +29 -0
- data/lib/generators/active_record/templates/add_migration.rb +9 -0
- data/lib/generators/active_record/templates/create_migration.rb +18 -0
- data/lib/generators/bento/bento_generator.rb +13 -0
- data/lib/generators/bento/orm_helpers.rb +22 -0
- data/lib/generators/bento/views_generator.rb +14 -0
- data/spec/bento/controllers/helpers_spec.rb +4 -0
- data/spec/bento/models/account_spec.rb +125 -0
- data/spec/proof_of_concepts_spec.rb +17 -0
- data/spec/rails_app/Rakefile +7 -0
- data/spec/rails_app/app/controllers/all_projects_controller.rb +6 -0
- data/spec/rails_app/app/controllers/application_controller.rb +4 -0
- data/spec/rails_app/app/controllers/custom_accounts_controller.rb +9 -0
- data/spec/rails_app/app/controllers/home_controller.rb +4 -0
- data/spec/rails_app/app/controllers/projects_controller.rb +6 -0
- data/spec/rails_app/app/models/account.rb +10 -0
- data/spec/rails_app/app/models/project.rb +4 -0
- data/spec/rails_app/app/models/user.rb +8 -0
- data/spec/rails_app/app/views/custom_accounts/new.html.erb +10 -0
- data/spec/rails_app/app/views/home/index.html.erb +1 -0
- data/spec/rails_app/app/views/layouts/application.html.erb +29 -0
- data/spec/rails_app/app/views/projects/_all_projects.html.erb +9 -0
- data/spec/rails_app/app/views/projects/_current_account_projects.html.erb +9 -0
- data/spec/rails_app/app/views/projects/_form.html.erb +5 -0
- data/spec/rails_app/app/views/projects/edit.html.erb +1 -0
- data/spec/rails_app/app/views/projects/index.html.erb +7 -0
- data/spec/rails_app/app/views/projects/new.html.erb +1 -0
- data/spec/rails_app/config.ru +4 -0
- data/spec/rails_app/config/application.rb +43 -0
- data/spec/rails_app/config/boot.rb +15 -0
- data/spec/rails_app/config/database.yml +22 -0
- data/spec/rails_app/config/environment.rb +6 -0
- data/spec/rails_app/config/environments/development.rb +28 -0
- data/spec/rails_app/config/environments/production.rb +49 -0
- data/spec/rails_app/config/environments/test.rb +35 -0
- data/spec/rails_app/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/rails_app/config/initializers/devise.rb +142 -0
- data/spec/rails_app/config/initializers/inaccessible_attributes.rb +13 -0
- data/spec/rails_app/config/initializers/inflections.rb +10 -0
- data/spec/rails_app/config/initializers/mime_types.rb +5 -0
- data/spec/rails_app/config/initializers/secret_token.rb +7 -0
- data/spec/rails_app/config/initializers/session_store.rb +8 -0
- data/spec/rails_app/config/locales/devise.en.yml +39 -0
- data/spec/rails_app/config/locales/en.yml +5 -0
- data/spec/rails_app/config/routes.rb +9 -0
- data/spec/rails_app/db/development.sqlite3 +0 -0
- data/spec/rails_app/db/migrate/20100924132032_devise_create_users.rb +19 -0
- data/spec/rails_app/db/migrate/20101015094514_bento_create_accounts.rb +15 -0
- data/spec/rails_app/db/migrate/20101015094515_bento_add_account_id_to_accounts.rb +9 -0
- data/spec/rails_app/db/migrate/20101015143011_create_projects.rb +13 -0
- data/spec/rails_app/db/production.sqlite3 +0 -0
- data/spec/rails_app/db/schema.rb +44 -0
- data/spec/rails_app/db/test.sqlite3 +0 -0
- data/spec/rails_app/log/development.log +1290 -0
- data/spec/rails_app/log/test.log +30285 -0
- data/spec/rails_app/public/404.html +26 -0
- data/spec/rails_app/public/422.html +26 -0
- data/spec/rails_app/public/500.html +26 -0
- data/spec/rails_app/public/favicon.ico +0 -0
- data/spec/rails_app/script/rails +6 -0
- data/spec/rails_app/tmp/pids/server.pid +1 -0
- data/spec/spec_helper.rb +21 -0
- data/spec/support/bento_spec_helper.rb +16 -0
- data/spec/support/blueprints.rb +32 -0
- metadata +403 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/404.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/422.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
@@ -0,0 +1 @@
|
|
1
|
+
72809
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'bundler/setup'
|
5
|
+
|
6
|
+
require "rails_app/config/environment"
|
7
|
+
require 'rspec/rails'
|
8
|
+
require "rails/test_help"
|
9
|
+
|
10
|
+
require 'capybara/dsl'
|
11
|
+
|
12
|
+
Dir["#{File.expand_path(File.dirname(__FILE__))}/support/*.rb"].each {|f| require f}
|
13
|
+
|
14
|
+
Capybara.app = RailsApp::Application
|
15
|
+
|
16
|
+
Rspec.configure do |config|
|
17
|
+
config.mock_with :mocha
|
18
|
+
config.include Capybara
|
19
|
+
config.use_transactional_fixtures = true
|
20
|
+
config.before { Account.delete_all }
|
21
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
Spec::Matchers.define :be_invalid_without do |attribute|
|
2
|
+
match do |record|
|
3
|
+
record.valid?
|
4
|
+
record.errors.include?(attribute.to_sym)
|
5
|
+
end
|
6
|
+
end
|
7
|
+
|
8
|
+
Spec::Matchers.define :have_user_accessors do
|
9
|
+
match do |record|
|
10
|
+
[record.respond_to?(:first_name),
|
11
|
+
record.respond_to?(:last_name),
|
12
|
+
record.respond_to?(:email),
|
13
|
+
record.respond_to?(:password),
|
14
|
+
record.respond_to?(:password_confirmation)].all?
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
require 'machinist/active_record'
|
2
|
+
require 'sham'
|
3
|
+
require 'ffaker'
|
4
|
+
|
5
|
+
Sham.name { Faker::Name.name }
|
6
|
+
Sham.company_name { Faker::Company.name }
|
7
|
+
Sham.first_name { Faker::Name.first_name }
|
8
|
+
Sham.last_name { Faker::Name.last_name }
|
9
|
+
Sham.email { Faker::Internet.email }
|
10
|
+
Sham.date { Date.civil((1990...2010).to_a.choice, (1..12).to_a.choice, (1..28).to_a.choice) }
|
11
|
+
Sham.account(:unique => false) { Account.find_or_create_by_name("Elabs") }
|
12
|
+
Sham.plan(:unique => false) { %w[bronze silver gold].choice }
|
13
|
+
|
14
|
+
Project.blueprint do
|
15
|
+
account
|
16
|
+
name { Sham.name }
|
17
|
+
end
|
18
|
+
|
19
|
+
Account.blueprint do
|
20
|
+
name { Sham.company_name }
|
21
|
+
email { Sham.email }
|
22
|
+
password { 'test1234' }
|
23
|
+
first_name { Sham.first_name }
|
24
|
+
last_name { Sham.last_name }
|
25
|
+
plan { Sham.plan }
|
26
|
+
end
|
27
|
+
|
28
|
+
User.blueprint do
|
29
|
+
account
|
30
|
+
email { Sham.email }
|
31
|
+
password { "test1234" }
|
32
|
+
end
|
metadata
ADDED
@@ -0,0 +1,403 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bento
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 29
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 0.0.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- "Nicklas Ramh\xC3\xB6j"
|
14
|
+
- Jonas Nicklas
|
15
|
+
autorequire:
|
16
|
+
bindir: bin
|
17
|
+
cert_chain: []
|
18
|
+
|
19
|
+
date: 2010-10-16 00:00:00 +02:00
|
20
|
+
default_executable:
|
21
|
+
dependencies:
|
22
|
+
- !ruby/object:Gem::Dependency
|
23
|
+
name: rspec
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
hash: 62196427
|
31
|
+
segments:
|
32
|
+
- 2
|
33
|
+
- 0
|
34
|
+
- 0
|
35
|
+
- beta
|
36
|
+
- 20
|
37
|
+
version: 2.0.0.beta.20
|
38
|
+
type: :development
|
39
|
+
version_requirements: *id001
|
40
|
+
- !ruby/object:Gem::Dependency
|
41
|
+
name: rspec-rails
|
42
|
+
prerelease: false
|
43
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
44
|
+
none: false
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
hash: 62196427
|
49
|
+
segments:
|
50
|
+
- 2
|
51
|
+
- 0
|
52
|
+
- 0
|
53
|
+
- beta
|
54
|
+
- 20
|
55
|
+
version: 2.0.0.beta.20
|
56
|
+
type: :development
|
57
|
+
version_requirements: *id002
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: sqlite3-ruby
|
60
|
+
prerelease: false
|
61
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
62
|
+
none: false
|
63
|
+
requirements:
|
64
|
+
- - ~>
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
hash: 25
|
67
|
+
segments:
|
68
|
+
- 1
|
69
|
+
- 3
|
70
|
+
- 1
|
71
|
+
version: 1.3.1
|
72
|
+
type: :development
|
73
|
+
version_requirements: *id003
|
74
|
+
- !ruby/object:Gem::Dependency
|
75
|
+
name: capybara
|
76
|
+
prerelease: false
|
77
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
78
|
+
none: false
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
hash: 1
|
83
|
+
segments:
|
84
|
+
- 0
|
85
|
+
- 3
|
86
|
+
- 9
|
87
|
+
version: 0.3.9
|
88
|
+
type: :development
|
89
|
+
version_requirements: *id004
|
90
|
+
- !ruby/object:Gem::Dependency
|
91
|
+
name: cucumber
|
92
|
+
prerelease: false
|
93
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
95
|
+
requirements:
|
96
|
+
- - ~>
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
hash: 27
|
99
|
+
segments:
|
100
|
+
- 0
|
101
|
+
- 8
|
102
|
+
version: "0.8"
|
103
|
+
type: :development
|
104
|
+
version_requirements: *id005
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
name: cucumber-rails
|
107
|
+
prerelease: false
|
108
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
109
|
+
none: false
|
110
|
+
requirements:
|
111
|
+
- - ~>
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
hash: 13
|
114
|
+
segments:
|
115
|
+
- 0
|
116
|
+
- 3
|
117
|
+
version: "0.3"
|
118
|
+
type: :development
|
119
|
+
version_requirements: *id006
|
120
|
+
- !ruby/object:Gem::Dependency
|
121
|
+
name: database_cleaner
|
122
|
+
prerelease: false
|
123
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
124
|
+
none: false
|
125
|
+
requirements:
|
126
|
+
- - ~>
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
hash: 1
|
129
|
+
segments:
|
130
|
+
- 0
|
131
|
+
- 5
|
132
|
+
version: "0.5"
|
133
|
+
type: :development
|
134
|
+
version_requirements: *id007
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
name: launchy
|
137
|
+
prerelease: false
|
138
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
139
|
+
none: false
|
140
|
+
requirements:
|
141
|
+
- - ~>
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
hash: 13
|
144
|
+
segments:
|
145
|
+
- 0
|
146
|
+
- 3
|
147
|
+
version: "0.3"
|
148
|
+
type: :development
|
149
|
+
version_requirements: *id008
|
150
|
+
- !ruby/object:Gem::Dependency
|
151
|
+
name: devise
|
152
|
+
prerelease: false
|
153
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
154
|
+
none: false
|
155
|
+
requirements:
|
156
|
+
- - ~>
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
hash: 13
|
159
|
+
segments:
|
160
|
+
- 1
|
161
|
+
- 1
|
162
|
+
version: "1.1"
|
163
|
+
type: :development
|
164
|
+
version_requirements: *id009
|
165
|
+
- !ruby/object:Gem::Dependency
|
166
|
+
name: machinist
|
167
|
+
prerelease: false
|
168
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ~>
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
hash: 15
|
174
|
+
segments:
|
175
|
+
- 1
|
176
|
+
- 0
|
177
|
+
version: "1.0"
|
178
|
+
type: :development
|
179
|
+
version_requirements: *id010
|
180
|
+
- !ruby/object:Gem::Dependency
|
181
|
+
name: ffaker
|
182
|
+
prerelease: false
|
183
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
184
|
+
none: false
|
185
|
+
requirements:
|
186
|
+
- - ~>
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
hash: 3
|
189
|
+
segments:
|
190
|
+
- 0
|
191
|
+
- 4
|
192
|
+
version: "0.4"
|
193
|
+
type: :development
|
194
|
+
version_requirements: *id011
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: mocha
|
197
|
+
prerelease: false
|
198
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
199
|
+
none: false
|
200
|
+
requirements:
|
201
|
+
- - ~>
|
202
|
+
- !ruby/object:Gem::Version
|
203
|
+
hash: 25
|
204
|
+
segments:
|
205
|
+
- 0
|
206
|
+
- 9
|
207
|
+
version: "0.9"
|
208
|
+
type: :development
|
209
|
+
version_requirements: *id012
|
210
|
+
- !ruby/object:Gem::Dependency
|
211
|
+
name: simple_form
|
212
|
+
prerelease: false
|
213
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
214
|
+
none: false
|
215
|
+
requirements:
|
216
|
+
- - ~>
|
217
|
+
- !ruby/object:Gem::Version
|
218
|
+
hash: 11
|
219
|
+
segments:
|
220
|
+
- 1
|
221
|
+
- 2
|
222
|
+
version: "1.2"
|
223
|
+
type: :runtime
|
224
|
+
version_requirements: *id013
|
225
|
+
- !ruby/object:Gem::Dependency
|
226
|
+
name: inherited_resources
|
227
|
+
prerelease: false
|
228
|
+
requirement: &id014 !ruby/object:Gem::Requirement
|
229
|
+
none: false
|
230
|
+
requirements:
|
231
|
+
- - ~>
|
232
|
+
- !ruby/object:Gem::Version
|
233
|
+
hash: 13
|
234
|
+
segments:
|
235
|
+
- 1
|
236
|
+
- 1
|
237
|
+
version: "1.1"
|
238
|
+
type: :runtime
|
239
|
+
version_requirements: *id014
|
240
|
+
- !ruby/object:Gem::Dependency
|
241
|
+
name: rails
|
242
|
+
prerelease: false
|
243
|
+
requirement: &id015 !ruby/object:Gem::Requirement
|
244
|
+
none: false
|
245
|
+
requirements:
|
246
|
+
- - ~>
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
hash: 7
|
249
|
+
segments:
|
250
|
+
- 3
|
251
|
+
- 0
|
252
|
+
version: "3.0"
|
253
|
+
type: :runtime
|
254
|
+
version_requirements: *id015
|
255
|
+
- !ruby/object:Gem::Dependency
|
256
|
+
name: table_for
|
257
|
+
prerelease: false
|
258
|
+
requirement: &id016 !ruby/object:Gem::Requirement
|
259
|
+
none: false
|
260
|
+
requirements:
|
261
|
+
- - ~>
|
262
|
+
- !ruby/object:Gem::Version
|
263
|
+
hash: 27
|
264
|
+
segments:
|
265
|
+
- 0
|
266
|
+
- 0
|
267
|
+
- 2
|
268
|
+
version: 0.0.2
|
269
|
+
type: :runtime
|
270
|
+
version_requirements: *id016
|
271
|
+
- !ruby/object:Gem::Dependency
|
272
|
+
name: show_for
|
273
|
+
prerelease: false
|
274
|
+
requirement: &id017 !ruby/object:Gem::Requirement
|
275
|
+
none: false
|
276
|
+
requirements:
|
277
|
+
- - ~>
|
278
|
+
- !ruby/object:Gem::Version
|
279
|
+
hash: 15
|
280
|
+
segments:
|
281
|
+
- 0
|
282
|
+
- 2
|
283
|
+
version: "0.2"
|
284
|
+
type: :runtime
|
285
|
+
version_requirements: *id017
|
286
|
+
description: A Rails account management engine
|
287
|
+
email:
|
288
|
+
- ramhoj@gmail.com
|
289
|
+
executables: []
|
290
|
+
|
291
|
+
extensions: []
|
292
|
+
|
293
|
+
extra_rdoc_files:
|
294
|
+
- README.rdoc
|
295
|
+
files:
|
296
|
+
- lib/bento/controllers/account_scopable.rb
|
297
|
+
- lib/bento/controllers/helpers.rb
|
298
|
+
- lib/bento/models/account.rb
|
299
|
+
- lib/bento/rails.rb
|
300
|
+
- lib/bento/version.rb
|
301
|
+
- lib/bento.rb
|
302
|
+
- lib/generators/active_record/bento_generator.rb
|
303
|
+
- lib/generators/active_record/templates/add_migration.rb
|
304
|
+
- lib/generators/active_record/templates/create_migration.rb
|
305
|
+
- lib/generators/bento/bento_generator.rb
|
306
|
+
- lib/generators/bento/orm_helpers.rb
|
307
|
+
- lib/generators/bento/views_generator.rb
|
308
|
+
- spec/bento/controllers/helpers_spec.rb
|
309
|
+
- spec/bento/models/account_spec.rb
|
310
|
+
- spec/proof_of_concepts_spec.rb
|
311
|
+
- spec/rails_app/app/controllers/all_projects_controller.rb
|
312
|
+
- spec/rails_app/app/controllers/application_controller.rb
|
313
|
+
- spec/rails_app/app/controllers/custom_accounts_controller.rb
|
314
|
+
- spec/rails_app/app/controllers/home_controller.rb
|
315
|
+
- spec/rails_app/app/controllers/projects_controller.rb
|
316
|
+
- spec/rails_app/app/models/account.rb
|
317
|
+
- spec/rails_app/app/models/project.rb
|
318
|
+
- spec/rails_app/app/models/user.rb
|
319
|
+
- spec/rails_app/app/views/custom_accounts/new.html.erb
|
320
|
+
- spec/rails_app/app/views/home/index.html.erb
|
321
|
+
- spec/rails_app/app/views/layouts/application.html.erb
|
322
|
+
- spec/rails_app/app/views/projects/_all_projects.html.erb
|
323
|
+
- spec/rails_app/app/views/projects/_current_account_projects.html.erb
|
324
|
+
- spec/rails_app/app/views/projects/_form.html.erb
|
325
|
+
- spec/rails_app/app/views/projects/edit.html.erb
|
326
|
+
- spec/rails_app/app/views/projects/index.html.erb
|
327
|
+
- spec/rails_app/app/views/projects/new.html.erb
|
328
|
+
- spec/rails_app/config/application.rb
|
329
|
+
- spec/rails_app/config/boot.rb
|
330
|
+
- spec/rails_app/config/database.yml
|
331
|
+
- spec/rails_app/config/environment.rb
|
332
|
+
- spec/rails_app/config/environments/development.rb
|
333
|
+
- spec/rails_app/config/environments/production.rb
|
334
|
+
- spec/rails_app/config/environments/test.rb
|
335
|
+
- spec/rails_app/config/initializers/backtrace_silencers.rb
|
336
|
+
- spec/rails_app/config/initializers/devise.rb
|
337
|
+
- spec/rails_app/config/initializers/inaccessible_attributes.rb
|
338
|
+
- spec/rails_app/config/initializers/inflections.rb
|
339
|
+
- spec/rails_app/config/initializers/mime_types.rb
|
340
|
+
- spec/rails_app/config/initializers/secret_token.rb
|
341
|
+
- spec/rails_app/config/initializers/session_store.rb
|
342
|
+
- spec/rails_app/config/locales/devise.en.yml
|
343
|
+
- spec/rails_app/config/locales/en.yml
|
344
|
+
- spec/rails_app/config/routes.rb
|
345
|
+
- spec/rails_app/config.ru
|
346
|
+
- spec/rails_app/db/development.sqlite3
|
347
|
+
- spec/rails_app/db/migrate/20100924132032_devise_create_users.rb
|
348
|
+
- spec/rails_app/db/migrate/20101015094514_bento_create_accounts.rb
|
349
|
+
- spec/rails_app/db/migrate/20101015094515_bento_add_account_id_to_accounts.rb
|
350
|
+
- spec/rails_app/db/migrate/20101015143011_create_projects.rb
|
351
|
+
- spec/rails_app/db/production.sqlite3
|
352
|
+
- spec/rails_app/db/schema.rb
|
353
|
+
- spec/rails_app/db/test.sqlite3
|
354
|
+
- spec/rails_app/log/development.log
|
355
|
+
- spec/rails_app/log/test.log
|
356
|
+
- spec/rails_app/public/404.html
|
357
|
+
- spec/rails_app/public/422.html
|
358
|
+
- spec/rails_app/public/500.html
|
359
|
+
- spec/rails_app/public/favicon.ico
|
360
|
+
- spec/rails_app/Rakefile
|
361
|
+
- spec/rails_app/script/rails
|
362
|
+
- spec/rails_app/tmp/pids/server.pid
|
363
|
+
- spec/spec_helper.rb
|
364
|
+
- spec/support/bento_spec_helper.rb
|
365
|
+
- spec/support/blueprints.rb
|
366
|
+
- README.rdoc
|
367
|
+
has_rdoc: true
|
368
|
+
homepage: http://github.com/ramhoj/bento
|
369
|
+
licenses: []
|
370
|
+
|
371
|
+
post_install_message:
|
372
|
+
rdoc_options:
|
373
|
+
- --main
|
374
|
+
- README.rdoc
|
375
|
+
require_paths:
|
376
|
+
- lib
|
377
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
378
|
+
none: false
|
379
|
+
requirements:
|
380
|
+
- - ">="
|
381
|
+
- !ruby/object:Gem::Version
|
382
|
+
hash: 3
|
383
|
+
segments:
|
384
|
+
- 0
|
385
|
+
version: "0"
|
386
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
387
|
+
none: false
|
388
|
+
requirements:
|
389
|
+
- - ">="
|
390
|
+
- !ruby/object:Gem::Version
|
391
|
+
hash: 3
|
392
|
+
segments:
|
393
|
+
- 0
|
394
|
+
version: "0"
|
395
|
+
requirements: []
|
396
|
+
|
397
|
+
rubyforge_project: bento
|
398
|
+
rubygems_version: 1.3.7
|
399
|
+
signing_key:
|
400
|
+
specification_version: 3
|
401
|
+
summary: A Rails account management engine
|
402
|
+
test_files: []
|
403
|
+
|