formula 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +23 -0
- data/lib/formula/version.rb +1 -1
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +3 -0
- data/test/dummy/app/assets/javascripts/contacts.js +0 -0
- data/test/dummy/app/assets/javascripts/main.js +0 -0
- data/test/dummy/app/assets/stylesheets/application.css +158 -0
- data/test/dummy/app/assets/stylesheets/contacts.css +0 -0
- data/test/dummy/app/assets/stylesheets/main.css +0 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/contacts_controller.rb +37 -0
- data/test/dummy/app/controllers/main_controller.rb +10 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/helpers/contacts_helper.rb +2 -0
- data/test/dummy/app/helpers/main_helper.rb +2 -0
- data/test/dummy/app/models/contact.rb +17 -0
- data/test/dummy/app/models/group.rb +7 -0
- data/test/dummy/app/views/contacts/_form.html.erb +19 -0
- data/test/dummy/app/views/contacts/edit.html.erb +4 -0
- data/test/dummy/app/views/contacts/index.html.erb +27 -0
- data/test/dummy/app/views/contacts/new.html.erb +4 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/main/index.html.erb +9 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +45 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +17 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +30 -0
- data/test/dummy/config/environments/production.rb +60 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/other.rb +2 -0
- data/test/dummy/config/locales/en.yml +1 -0
- data/test/dummy/config/routes.rb +6 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20110109175811_create_contacts.rb +20 -0
- data/test/dummy/db/migrate/20110213001348_create_groups.rb +9 -0
- data/test/dummy/db/schema.rb +36 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +526 -0
- data/test/dummy/log/test.log +56 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/test/fixtures/contacts.yml +7 -0
- data/test/dummy/test/fixtures/contacts/avatar.png +0 -0
- data/test/dummy/test/fixtures/groups.yml +5 -0
- data/test/dummy/test/functional/contacts_controller_test.rb +42 -0
- data/test/dummy/test/functional/main_controller_test.rb +10 -0
- data/test/dummy/test/integration/contact_form_test.rb +78 -0
- data/test/dummy/test/unit/contact_test.rb +4 -0
- data/test/dummy/test/unit/group_test.rb +4 -0
- data/test/dummy/test/unit/helpers/contacts_helper_test.rb +4 -0
- data/test/dummy/test/unit/helpers/main_helper_test.rb +4 -0
- data/test/dummy/tmp/cache/assets/BAB/A00/sprockets%2F347f335128024408181207cbc0461526 +0 -0
- data/test/dummy/tmp/cache/assets/C77/F30/sprockets%2F021780432569bfa6c8135d5d4111f2e8 +0 -0
- data/test/dummy/tmp/cache/assets/C89/150/sprockets%2F1ff78c0e818b9e0311560396b734719e +0 -0
- data/test/dummy/tmp/cache/assets/CE1/BA0/sprockets%2F263ecf6bc5196b70405d900e7c44c946 +0 -0
- data/test/dummy/tmp/cache/assets/D06/B40/sprockets%2F25fca4643219052b0d5c66cf2c71f72f +0 -0
- data/test/dummy/tmp/cache/assets/D11/430/sprockets%2F25ea8d6063b1eb98361b1196f2fce807 +0 -0
- data/test/dummy/tmp/cache/assets/D24/5A0/sprockets%2F3a89b583dd80975d1e0968e730de5bc9 +0 -0
- data/test/dummy/tmp/cache/assets/D2D/490/sprockets%2F52514897c01dab621a0d9892aafb1ea2 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
- data/test/dummy/tmp/cache/assets/D84/170/sprockets%2Fd09fc89236193cb0ff9deb09b97c648d +0 -0
- data/test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -0
- data/test/dummy/tmp/cache/assets/DA5/7E0/sprockets%2F87a5f378354ce6e80dda84ab1cfd06f3 +0 -0
- data/test/dummy/tmp/cache/assets/DA7/530/sprockets%2Fe36b8fcf5914a3a6bf058abfe7367b19 +0 -0
- data/test/dummy/tmp/cache/assets/DAA/470/sprockets%2Faa2b19ddf75cee55d7f2822e3da55779 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/pids/server.pid +1 -0
- data/test/formula_test.rb +7 -0
- data/test/test_helper.rb +8 -0
- metadata +175 -10
- data/Gemfile +0 -3
@@ -0,0 +1,56 @@
|
|
1
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "contacts"[0m
|
2
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "contacts" ("name", "details", "phone", "email", "url", "created_at", "updated_at", "id", "group_id") VALUES ('Kevin', 'A Ruby on Rails and Cocoa developer...', '(555) 555-5555', 'email@address.com', 'http://ksylvest.com/', '2011-10-23 05:30:29', '2011-10-23 05:30:29', 712064548, 637242267)
|
3
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "groups"[0m
|
4
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "groups" ("name", "created_at", "updated_at", "id") VALUES ('Developer', '2011-10-23 05:30:29', '2011-10-23 05:30:29', 637242267)
|
5
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "groups" ("name", "created_at", "updated_at", "id") VALUES ('Designer', '2011-10-23 05:30:29', '2011-10-23 05:30:29', 866180701)[0m
|
6
|
+
|
7
|
+
|
8
|
+
Started POST "/contacts" for 127.0.0.1 at 2011-10-22 22:30:29 -0700
|
9
|
+
Processing by ContactsController#create as HTML
|
10
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
12
|
+
[1m[35mGroup Load (0.3ms)[0m SELECT "groups".* FROM "groups"
|
13
|
+
Rendered contacts/_form.html.erb (18.4ms)
|
14
|
+
Rendered contacts/new.html.erb within layouts/application (46.0ms)
|
15
|
+
Completed 200 OK in 187ms (Views: 48.6ms | ActiveRecord: 0.3ms)
|
16
|
+
[1m[36mContact Load (0.4ms)[0m [1mSELECT "contacts".* FROM "contacts" WHERE "contacts"."id" = ? LIMIT 1[0m [["id", 712064548]]
|
17
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "contacts"
|
18
|
+
Processing by ContactsController#create as HTML
|
19
|
+
Parameters: {"contact"=>{"id"=>"712064548", "group_id"=>"637242267", "name"=>"Kevin", "details"=>"A Ruby on Rails and Cocoa developer...", "phone"=>"(555) 555-5555", "email"=>"email@address.com", "url"=>"http://ksylvest.com/", "avatar_identifier"=>nil, "avatar_extension"=>nil, "avatar_size"=>nil, "created_at"=>"2011-10-23 05:30:29 UTC", "updated_at"=>"2011-10-23 05:30:29 UTC"}}
|
20
|
+
WARNING: Can't mass-assign protected attributes: id
|
21
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22
|
+
[1m[35mGroup Load (0.2ms)[0m SELECT "groups".* FROM "groups" WHERE "groups"."id" = 637242267 LIMIT 1
|
23
|
+
[attached] save attached
|
24
|
+
[1m[36mSQL (1.6ms)[0m [1mINSERT INTO "contacts" ("avatar_extension", "avatar_identifier", "avatar_size", "created_at", "details", "email", "group_id", "name", "phone", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["avatar_extension", nil], ["avatar_identifier", nil], ["avatar_size", nil], ["created_at", Sun, 23 Oct 2011 05:30:29 UTC +00:00], ["details", "A Ruby on Rails and Cocoa developer..."], ["email", "email@address.com"], ["group_id", 637242267], ["name", "Kevin"], ["phone", "(555) 555-5555"], ["updated_at", Sun, 23 Oct 2011 05:30:29 UTC +00:00], ["url", "http://ksylvest.com/"]]
|
25
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26
|
+
Redirected to http://test.host/contacts
|
27
|
+
Completed 302 Found in 52ms
|
28
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "contacts" [0m
|
29
|
+
[1m[35mContact Load (0.2ms)[0m SELECT "contacts".* FROM "contacts" WHERE "contacts"."id" = ? LIMIT 1 [["id", 712064548]]
|
30
|
+
Processing by ContactsController#edit as HTML
|
31
|
+
Parameters: {"id"=>"712064548"}
|
32
|
+
[1m[36mGroup Load (0.2ms)[0m [1mSELECT "groups".* FROM "groups" [0m
|
33
|
+
Rendered contacts/_form.html.erb (9.3ms)
|
34
|
+
Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.2ms)
|
35
|
+
[1m[35mContact Load (0.2ms)[0m SELECT "contacts".* FROM "contacts" WHERE "contacts"."id" = ? LIMIT 1 [["id", 712064548]]
|
36
|
+
Processing by ContactsController#index as HTML
|
37
|
+
[1m[36mContact Load (0.2ms)[0m [1mSELECT "contacts".* FROM "contacts" [0m
|
38
|
+
Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.2ms)
|
39
|
+
[1m[35mContact Load (0.2ms)[0m SELECT "contacts".* FROM "contacts" WHERE "contacts"."id" = ? LIMIT 1 [["id", 712064548]]
|
40
|
+
Processing by ContactsController#new as HTML
|
41
|
+
[1m[36mGroup Load (0.2ms)[0m [1mSELECT "groups".* FROM "groups" [0m
|
42
|
+
Rendered contacts/_form.html.erb (7.6ms)
|
43
|
+
Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.2ms)
|
44
|
+
[1m[35mContact Load (0.1ms)[0m SELECT "contacts".* FROM "contacts" WHERE "contacts"."id" = ? LIMIT 1 [["id", 712064548]]
|
45
|
+
Processing by ContactsController#update as HTML
|
46
|
+
Parameters: {"contact"=>{"id"=>"712064548", "group_id"=>"637242267", "name"=>"Kevin", "details"=>"A Ruby on Rails and Cocoa developer...", "phone"=>"(555) 555-5555", "email"=>"email@address.com", "url"=>"http://ksylvest.com/", "avatar_identifier"=>nil, "avatar_extension"=>nil, "avatar_size"=>nil, "created_at"=>"2011-10-23 05:30:29 UTC", "updated_at"=>"2011-10-23 05:30:29 UTC"}, "id"=>"712064548"}
|
47
|
+
[1m[36mContact Load (0.1ms)[0m [1mSELECT "contacts".* FROM "contacts" WHERE "contacts"."id" = ? LIMIT 1[0m [["id", "712064548"]]
|
48
|
+
WARNING: Can't mass-assign protected attributes: id
|
49
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50
|
+
[1m[36mGroup Load (0.2ms)[0m [1mSELECT "groups".* FROM "groups" WHERE "groups"."id" = 637242267 LIMIT 1[0m
|
51
|
+
[attached] save attached
|
52
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
53
|
+
Redirected to http://test.host/contacts
|
54
|
+
Completed 302 Found in 9ms
|
55
|
+
Processing by MainController#index as HTML
|
56
|
+
Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)
|
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'
|
Binary file
|
@@ -0,0 +1,42 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class ContactsControllerTest < ActionController::TestCase
|
4
|
+
|
5
|
+
fixtures :all
|
6
|
+
|
7
|
+
setup do
|
8
|
+
@contact = contacts(:kevin)
|
9
|
+
@avatar = fixture_file_upload("/contacts/avatar.png", "image/png", :binary)
|
10
|
+
end
|
11
|
+
|
12
|
+
test "should get index" do
|
13
|
+
get :index
|
14
|
+
assert_response :success
|
15
|
+
assert_not_nil assigns(:contacts)
|
16
|
+
end
|
17
|
+
|
18
|
+
test "should get new" do
|
19
|
+
get :new
|
20
|
+
assert_response :success
|
21
|
+
end
|
22
|
+
|
23
|
+
test "should get edit" do
|
24
|
+
get :edit, :id => @contact.id
|
25
|
+
assert_response :success
|
26
|
+
end
|
27
|
+
|
28
|
+
test "should create contact" do
|
29
|
+
assert_difference('Contact.count') do
|
30
|
+
post :create, :contact => @contact.attributes
|
31
|
+
end
|
32
|
+
|
33
|
+
assert_redirected_to contacts_path
|
34
|
+
end
|
35
|
+
|
36
|
+
test "should update contact" do
|
37
|
+
post :update, :id => @contact.id, :contact => @contact.attributes
|
38
|
+
|
39
|
+
assert_redirected_to contacts_path
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
@@ -0,0 +1,78 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class ContactFormTest < ActionDispatch::IntegrationTest
|
4
|
+
|
5
|
+
fixtures :all
|
6
|
+
|
7
|
+
test "contact form" do
|
8
|
+
|
9
|
+
post_via_redirect "/contacts"
|
10
|
+
|
11
|
+
assert_response :success
|
12
|
+
|
13
|
+
assert_select(".block.details") do
|
14
|
+
assert_select(".input.text") do
|
15
|
+
assert_select("textarea")
|
16
|
+
end
|
17
|
+
assert_select("label", "Details")
|
18
|
+
assert_select(".hint", "a detailed description")
|
19
|
+
assert_select(".error", "can't be blank")
|
20
|
+
end
|
21
|
+
|
22
|
+
assert_select(".block.name") do
|
23
|
+
assert_select(".input.string") do
|
24
|
+
assert_select("input[type=text]")
|
25
|
+
end
|
26
|
+
assert_select("label", "Name")
|
27
|
+
assert_select(".hint", "first and last name")
|
28
|
+
assert_select(".error", "can't be blank")
|
29
|
+
end
|
30
|
+
|
31
|
+
assert_select(".block.email") do
|
32
|
+
assert_select(".input.email") do
|
33
|
+
assert_select("input[type=email]")
|
34
|
+
end
|
35
|
+
assert_select("label", "Email")
|
36
|
+
assert_select(".hint", "sample@example.com")
|
37
|
+
assert_select(".error", "can't be blank and is not valid")
|
38
|
+
end
|
39
|
+
|
40
|
+
assert_select(".block.phone") do
|
41
|
+
assert_select(".input.phone") do
|
42
|
+
assert_select("input[type=tel]")
|
43
|
+
end
|
44
|
+
assert_select("label", "Phone")
|
45
|
+
assert_select(".hint", "+01 (555) 555-5555")
|
46
|
+
assert_select(".error", "can't be blank and is not valid")
|
47
|
+
end
|
48
|
+
|
49
|
+
assert_select(".block.url") do
|
50
|
+
assert_select(".input.url") do
|
51
|
+
assert_select("input[type=url]")
|
52
|
+
end
|
53
|
+
assert_select("label", "Website")
|
54
|
+
assert_select(".hint", "http://example.com/")
|
55
|
+
assert_select(".error", "can't be blank")
|
56
|
+
end
|
57
|
+
|
58
|
+
assert_select(".block.avatar") do
|
59
|
+
assert_select(".input.file") do
|
60
|
+
assert_select("input[type=file]")
|
61
|
+
end
|
62
|
+
assert_select("label", "Avatar")
|
63
|
+
end
|
64
|
+
|
65
|
+
assert_select(".block.group") do
|
66
|
+
assert_select(".association.select") do
|
67
|
+
assert_select("select") do
|
68
|
+
assert_select("option", "Designer")
|
69
|
+
assert_select("option", "Developer")
|
70
|
+
end
|
71
|
+
end
|
72
|
+
assert_select(".error", "can't be blank")
|
73
|
+
assert_select("label", "Group")
|
74
|
+
end
|
75
|
+
|
76
|
+
end
|
77
|
+
|
78
|
+
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
36436
|
data/test/test_helper.rb
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: formula
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,13 +9,34 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
13
|
-
|
14
|
-
|
12
|
+
date: 2011-10-23 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: &70126021844360 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>'
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.0.0
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70126021844360
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: sqlite3
|
27
|
+
requirement: &70126021843700 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :development
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70126021843700
|
15
36
|
description: Formula is a Rails form generator that generates simple clean markup.
|
16
37
|
The project aims to let users create semantically beautiful forms without introducing
|
17
|
-
too much syntax. The goal is to make integrating advanced layout systems
|
18
|
-
|
38
|
+
too much syntax. The goal is to make integrating advanced layout systems as simple
|
39
|
+
as possible.
|
19
40
|
email:
|
20
41
|
- kevin@ksylvest.com
|
21
42
|
executables: []
|
@@ -27,9 +48,77 @@ files:
|
|
27
48
|
- lib/formula.rb
|
28
49
|
- README.rdoc
|
29
50
|
- LICENSE
|
30
|
-
- Gemfile
|
31
51
|
- Rakefile
|
32
|
-
|
52
|
+
- test/dummy/app/assets/javascripts/application.js
|
53
|
+
- test/dummy/app/assets/javascripts/contacts.js
|
54
|
+
- test/dummy/app/assets/javascripts/main.js
|
55
|
+
- test/dummy/app/assets/stylesheets/application.css
|
56
|
+
- test/dummy/app/assets/stylesheets/contacts.css
|
57
|
+
- test/dummy/app/assets/stylesheets/main.css
|
58
|
+
- test/dummy/app/controllers/application_controller.rb
|
59
|
+
- test/dummy/app/controllers/contacts_controller.rb
|
60
|
+
- test/dummy/app/controllers/main_controller.rb
|
61
|
+
- test/dummy/app/helpers/application_helper.rb
|
62
|
+
- test/dummy/app/helpers/contacts_helper.rb
|
63
|
+
- test/dummy/app/helpers/main_helper.rb
|
64
|
+
- test/dummy/app/models/contact.rb
|
65
|
+
- test/dummy/app/models/group.rb
|
66
|
+
- test/dummy/app/views/contacts/_form.html.erb
|
67
|
+
- test/dummy/app/views/contacts/edit.html.erb
|
68
|
+
- test/dummy/app/views/contacts/index.html.erb
|
69
|
+
- test/dummy/app/views/contacts/new.html.erb
|
70
|
+
- test/dummy/app/views/layouts/application.html.erb
|
71
|
+
- test/dummy/app/views/main/index.html.erb
|
72
|
+
- test/dummy/config/application.rb
|
73
|
+
- test/dummy/config/boot.rb
|
74
|
+
- test/dummy/config/database.yml
|
75
|
+
- test/dummy/config/environment.rb
|
76
|
+
- test/dummy/config/environments/development.rb
|
77
|
+
- test/dummy/config/environments/production.rb
|
78
|
+
- test/dummy/config/environments/test.rb
|
79
|
+
- test/dummy/config/initializers/other.rb
|
80
|
+
- test/dummy/config/locales/en.yml
|
81
|
+
- test/dummy/config/routes.rb
|
82
|
+
- test/dummy/config.ru
|
83
|
+
- test/dummy/db/development.sqlite3
|
84
|
+
- test/dummy/db/migrate/20110109175811_create_contacts.rb
|
85
|
+
- test/dummy/db/migrate/20110213001348_create_groups.rb
|
86
|
+
- test/dummy/db/schema.rb
|
87
|
+
- test/dummy/db/test.sqlite3
|
88
|
+
- test/dummy/log/development.log
|
89
|
+
- test/dummy/log/test.log
|
90
|
+
- test/dummy/public/favicon.ico
|
91
|
+
- test/dummy/Rakefile
|
92
|
+
- test/dummy/script/rails
|
93
|
+
- test/dummy/test/fixtures/contacts/avatar.png
|
94
|
+
- test/dummy/test/fixtures/contacts.yml
|
95
|
+
- test/dummy/test/fixtures/groups.yml
|
96
|
+
- test/dummy/test/functional/contacts_controller_test.rb
|
97
|
+
- test/dummy/test/functional/main_controller_test.rb
|
98
|
+
- test/dummy/test/integration/contact_form_test.rb
|
99
|
+
- test/dummy/test/unit/contact_test.rb
|
100
|
+
- test/dummy/test/unit/group_test.rb
|
101
|
+
- test/dummy/test/unit/helpers/contacts_helper_test.rb
|
102
|
+
- test/dummy/test/unit/helpers/main_helper_test.rb
|
103
|
+
- test/dummy/tmp/cache/assets/BAB/A00/sprockets%2F347f335128024408181207cbc0461526
|
104
|
+
- test/dummy/tmp/cache/assets/C77/F30/sprockets%2F021780432569bfa6c8135d5d4111f2e8
|
105
|
+
- test/dummy/tmp/cache/assets/C89/150/sprockets%2F1ff78c0e818b9e0311560396b734719e
|
106
|
+
- test/dummy/tmp/cache/assets/CE1/BA0/sprockets%2F263ecf6bc5196b70405d900e7c44c946
|
107
|
+
- test/dummy/tmp/cache/assets/D06/B40/sprockets%2F25fca4643219052b0d5c66cf2c71f72f
|
108
|
+
- test/dummy/tmp/cache/assets/D11/430/sprockets%2F25ea8d6063b1eb98361b1196f2fce807
|
109
|
+
- test/dummy/tmp/cache/assets/D24/5A0/sprockets%2F3a89b583dd80975d1e0968e730de5bc9
|
110
|
+
- test/dummy/tmp/cache/assets/D2D/490/sprockets%2F52514897c01dab621a0d9892aafb1ea2
|
111
|
+
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
112
|
+
- test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4
|
113
|
+
- test/dummy/tmp/cache/assets/D84/170/sprockets%2Fd09fc89236193cb0ff9deb09b97c648d
|
114
|
+
- test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384
|
115
|
+
- test/dummy/tmp/cache/assets/DA5/7E0/sprockets%2F87a5f378354ce6e80dda84ab1cfd06f3
|
116
|
+
- test/dummy/tmp/cache/assets/DA7/530/sprockets%2Fe36b8fcf5914a3a6bf058abfe7367b19
|
117
|
+
- test/dummy/tmp/cache/assets/DAA/470/sprockets%2Faa2b19ddf75cee55d7f2822e3da55779
|
118
|
+
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
119
|
+
- test/dummy/tmp/pids/server.pid
|
120
|
+
- test/formula_test.rb
|
121
|
+
- test/test_helper.rb
|
33
122
|
homepage: http://github.com/ksylvest/formula
|
34
123
|
licenses: []
|
35
124
|
post_install_message:
|
@@ -42,16 +131,92 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
42
131
|
- - ! '>='
|
43
132
|
- !ruby/object:Gem::Version
|
44
133
|
version: '0'
|
134
|
+
segments:
|
135
|
+
- 0
|
136
|
+
hash: -2932340427654427715
|
45
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
46
138
|
none: false
|
47
139
|
requirements:
|
48
140
|
- - ! '>='
|
49
141
|
- !ruby/object:Gem::Version
|
50
142
|
version: '0'
|
143
|
+
segments:
|
144
|
+
- 0
|
145
|
+
hash: -2932340427654427715
|
51
146
|
requirements: []
|
52
147
|
rubyforge_project:
|
53
|
-
rubygems_version: 1.
|
148
|
+
rubygems_version: 1.8.11
|
54
149
|
signing_key:
|
55
150
|
specification_version: 3
|
56
151
|
summary: A great way to simplify complex forms
|
57
|
-
test_files:
|
152
|
+
test_files:
|
153
|
+
- test/dummy/app/assets/javascripts/application.js
|
154
|
+
- test/dummy/app/assets/javascripts/contacts.js
|
155
|
+
- test/dummy/app/assets/javascripts/main.js
|
156
|
+
- test/dummy/app/assets/stylesheets/application.css
|
157
|
+
- test/dummy/app/assets/stylesheets/contacts.css
|
158
|
+
- test/dummy/app/assets/stylesheets/main.css
|
159
|
+
- test/dummy/app/controllers/application_controller.rb
|
160
|
+
- test/dummy/app/controllers/contacts_controller.rb
|
161
|
+
- test/dummy/app/controllers/main_controller.rb
|
162
|
+
- test/dummy/app/helpers/application_helper.rb
|
163
|
+
- test/dummy/app/helpers/contacts_helper.rb
|
164
|
+
- test/dummy/app/helpers/main_helper.rb
|
165
|
+
- test/dummy/app/models/contact.rb
|
166
|
+
- test/dummy/app/models/group.rb
|
167
|
+
- test/dummy/app/views/contacts/_form.html.erb
|
168
|
+
- test/dummy/app/views/contacts/edit.html.erb
|
169
|
+
- test/dummy/app/views/contacts/index.html.erb
|
170
|
+
- test/dummy/app/views/contacts/new.html.erb
|
171
|
+
- test/dummy/app/views/layouts/application.html.erb
|
172
|
+
- test/dummy/app/views/main/index.html.erb
|
173
|
+
- test/dummy/config/application.rb
|
174
|
+
- test/dummy/config/boot.rb
|
175
|
+
- test/dummy/config/database.yml
|
176
|
+
- test/dummy/config/environment.rb
|
177
|
+
- test/dummy/config/environments/development.rb
|
178
|
+
- test/dummy/config/environments/production.rb
|
179
|
+
- test/dummy/config/environments/test.rb
|
180
|
+
- test/dummy/config/initializers/other.rb
|
181
|
+
- test/dummy/config/locales/en.yml
|
182
|
+
- test/dummy/config/routes.rb
|
183
|
+
- test/dummy/config.ru
|
184
|
+
- test/dummy/db/development.sqlite3
|
185
|
+
- test/dummy/db/migrate/20110109175811_create_contacts.rb
|
186
|
+
- test/dummy/db/migrate/20110213001348_create_groups.rb
|
187
|
+
- test/dummy/db/schema.rb
|
188
|
+
- test/dummy/db/test.sqlite3
|
189
|
+
- test/dummy/log/development.log
|
190
|
+
- test/dummy/log/test.log
|
191
|
+
- test/dummy/public/favicon.ico
|
192
|
+
- test/dummy/Rakefile
|
193
|
+
- test/dummy/script/rails
|
194
|
+
- test/dummy/test/fixtures/contacts/avatar.png
|
195
|
+
- test/dummy/test/fixtures/contacts.yml
|
196
|
+
- test/dummy/test/fixtures/groups.yml
|
197
|
+
- test/dummy/test/functional/contacts_controller_test.rb
|
198
|
+
- test/dummy/test/functional/main_controller_test.rb
|
199
|
+
- test/dummy/test/integration/contact_form_test.rb
|
200
|
+
- test/dummy/test/unit/contact_test.rb
|
201
|
+
- test/dummy/test/unit/group_test.rb
|
202
|
+
- test/dummy/test/unit/helpers/contacts_helper_test.rb
|
203
|
+
- test/dummy/test/unit/helpers/main_helper_test.rb
|
204
|
+
- test/dummy/tmp/cache/assets/BAB/A00/sprockets%2F347f335128024408181207cbc0461526
|
205
|
+
- test/dummy/tmp/cache/assets/C77/F30/sprockets%2F021780432569bfa6c8135d5d4111f2e8
|
206
|
+
- test/dummy/tmp/cache/assets/C89/150/sprockets%2F1ff78c0e818b9e0311560396b734719e
|
207
|
+
- test/dummy/tmp/cache/assets/CE1/BA0/sprockets%2F263ecf6bc5196b70405d900e7c44c946
|
208
|
+
- test/dummy/tmp/cache/assets/D06/B40/sprockets%2F25fca4643219052b0d5c66cf2c71f72f
|
209
|
+
- test/dummy/tmp/cache/assets/D11/430/sprockets%2F25ea8d6063b1eb98361b1196f2fce807
|
210
|
+
- test/dummy/tmp/cache/assets/D24/5A0/sprockets%2F3a89b583dd80975d1e0968e730de5bc9
|
211
|
+
- test/dummy/tmp/cache/assets/D2D/490/sprockets%2F52514897c01dab621a0d9892aafb1ea2
|
212
|
+
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
213
|
+
- test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4
|
214
|
+
- test/dummy/tmp/cache/assets/D84/170/sprockets%2Fd09fc89236193cb0ff9deb09b97c648d
|
215
|
+
- test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384
|
216
|
+
- test/dummy/tmp/cache/assets/DA5/7E0/sprockets%2F87a5f378354ce6e80dda84ab1cfd06f3
|
217
|
+
- test/dummy/tmp/cache/assets/DA7/530/sprockets%2Fe36b8fcf5914a3a6bf058abfe7367b19
|
218
|
+
- test/dummy/tmp/cache/assets/DAA/470/sprockets%2Faa2b19ddf75cee55d7f2822e3da55779
|
219
|
+
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
220
|
+
- test/dummy/tmp/pids/server.pid
|
221
|
+
- test/formula_test.rb
|
222
|
+
- test/test_helper.rb
|