formula 0.3.8 → 0.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.rdoc +5 -5
- data/lib/formula/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +77 -0
- metadata +11 -17
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 3e995d9a9370d5ea43b30ffd0ebb2ed60ba8fe73
|
|
4
|
+
data.tar.gz: 3255c99c68a6afb96b4a0ae4349f70dc6b44a7d2
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 0ff0610e2bff1f72db417464ba193299303f580eb3cef9294af460d9ede92eed012a0f5d30d7d69f5d674fc9fb9cbd8b8d2d9c74d694e0fc6eaf108ececdf66b
|
|
7
|
+
data.tar.gz: c0125071c7925a9949d2e917a45b64abd1619931f1166f21a22c2fa1e4991aea1a1a36cd47486bc0587fde70e723f3540b1a44a0c2b43cc27995fc926f584e49
|
data/README.rdoc
CHANGED
|
@@ -6,13 +6,14 @@ Formula is a Rails form helper that generates awesome markup. The project lets u
|
|
|
6
6
|
|
|
7
7
|
The gem is tested with:
|
|
8
8
|
|
|
9
|
-
* Ruby on Rails 3.1.
|
|
10
|
-
* Ruby on Rails 3.2.
|
|
9
|
+
* Ruby on Rails 3.1.11
|
|
10
|
+
* Ruby on Rails 3.2.13
|
|
11
|
+
* Ruby (MRI) 2.0.0
|
|
11
12
|
* Ruby (MRI) 1.9.3
|
|
12
13
|
* Ruby (MRI) 1.9.2
|
|
13
14
|
* Ruby (MRI) 1.8.7
|
|
14
15
|
* Ruby (REE) 1.8.7
|
|
15
|
-
* JRuby 1.7.
|
|
16
|
+
* JRuby 1.7.2
|
|
16
17
|
* Rubinius 1.2.4
|
|
17
18
|
|
|
18
19
|
== Installation
|
|
@@ -67,8 +68,7 @@ The gem is tested with:
|
|
|
67
68
|
== Status
|
|
68
69
|
|
|
69
70
|
{<img src="https://travis-ci.org/ksylvest/formula.png" />}[https://travis-ci.org/ksylvest/formula]
|
|
70
|
-
{<img src="https://codeclimate.com/
|
|
71
|
-
|
|
71
|
+
{<img src="https://codeclimate.com/github/ksylvest/formula.png" />}[https://codeclimate.com/github/ksylvest/formula]
|
|
72
72
|
|
|
73
73
|
== Copyright
|
|
74
74
|
|
data/lib/formula/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
|
Binary file
|
data/test/dummy/log/test.log
CHANGED
|
@@ -267,3 +267,80 @@ Completed 302 Found in 16ms (ActiveRecord: 0.0ms)
|
|
|
267
267
|
Processing by MainController#index as HTML
|
|
268
268
|
Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.0ms)
|
|
269
269
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
270
|
+
Connecting to database specified by database.yml
|
|
271
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
|
272
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "contacts"
|
|
273
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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/', '2013-05-19 21:52:37', '2013-05-19 21:52:37', 712064548, 637242267)[0m
|
|
274
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "groups"
|
|
275
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "groups" ("name", "created_at", "updated_at", "id") VALUES ('Developer', '2013-05-19 21:52:37', '2013-05-19 21:52:37', 637242267)[0m
|
|
276
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "groups" ("name", "created_at", "updated_at", "id") VALUES ('Designer', '2013-05-19 21:52:37', '2013-05-19 21:52:37', 866180701)
|
|
277
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
|
278
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "email", "password_digest", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', '2013-05-19 21:52:37', '2013-05-19 21:52:37', 980190962)
|
|
279
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "users" ("name", "email", "password_digest", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', '2013-05-19 21:52:37', '2013-05-19 21:52:37', 298486374)[0m
|
|
280
|
+
[1m[35m (0.9ms)[0m commit transaction
|
|
281
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
282
|
+
Started POST "/contacts" for 127.0.0.1 at 2013-05-19 14:52:37 -0700
|
|
283
|
+
Processing by ContactsController#create as HTML
|
|
284
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
285
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
286
|
+
[1m[35mGroup Load (0.3ms)[0m SELECT "groups".* FROM "groups"
|
|
287
|
+
Rendered contacts/_form.html.haml (67.5ms)
|
|
288
|
+
Rendered contacts/new.html.haml within layouts/application (75.5ms)
|
|
289
|
+
Completed 200 OK in 132ms (Views: 86.7ms | ActiveRecord: 0.3ms)
|
|
290
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
291
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
292
|
+
[1m[36mContact Load (0.3ms)[0m [1mSELECT "contacts".* FROM "contacts" WHERE "contacts"."id" = ? LIMIT 1[0m [["id", 712064548]]
|
|
293
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "contacts"
|
|
294
|
+
Processing by ContactsController#create as HTML
|
|
295
|
+
Parameters: {"contact"=>{"id"=>"712064548", "group_id"=>"637242267", "name"=>"Kevin", "slug"=>nil, "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"=>"2013-05-19 21:52:37 UTC", "updated_at"=>"2013-05-19 21:52:37 UTC"}}
|
|
296
|
+
WARNING: Can't mass-assign protected attributes: id
|
|
297
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
298
|
+
[1m[35mGroup Load (0.1ms)[0m SELECT "groups".* FROM "groups" WHERE "groups"."id" = 637242267 LIMIT 1
|
|
299
|
+
[attached] save attached
|
|
300
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "contacts" ("avatar_extension", "avatar_identifier", "avatar_size", "created_at", "details", "email", "group_id", "name", "phone", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["avatar_extension", nil], ["avatar_identifier", nil], ["avatar_size", nil], ["created_at", Sun, 19 May 2013 21:52:37 UTC +00:00], ["details", "A Ruby on Rails and Cocoa developer..."], ["email", "email@address.com"], ["group_id", 637242267], ["name", "Kevin"], ["phone", "(555) 555-5555"], ["slug", nil], ["updated_at", Sun, 19 May 2013 21:52:37 UTC +00:00], ["url", "http://ksylvest.com/"]]
|
|
301
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
302
|
+
Redirected to http://test.host/contacts
|
|
303
|
+
Completed 302 Found in 15ms (ActiveRecord: 0.0ms)
|
|
304
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "contacts" [0m
|
|
305
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
306
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
307
|
+
[1m[35mContact Load (0.2ms)[0m SELECT "contacts".* FROM "contacts" WHERE "contacts"."id" = ? LIMIT 1 [["id", 712064548]]
|
|
308
|
+
Processing by ContactsController#edit as HTML
|
|
309
|
+
Parameters: {"id"=>"712064548"}
|
|
310
|
+
[1m[36mContact Load (0.1ms)[0m [1mSELECT "contacts".* FROM "contacts" WHERE "contacts"."id" = ? LIMIT 1[0m [["id", "712064548"]]
|
|
311
|
+
[1m[35mGroup Load (0.2ms)[0m SELECT "groups".* FROM "groups"
|
|
312
|
+
Rendered contacts/_form.html.haml (9.8ms)
|
|
313
|
+
Completed 200 OK in 18ms (Views: 15.4ms | ActiveRecord: 0.3ms)
|
|
314
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
315
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
316
|
+
[1m[36mContact Load (0.2ms)[0m [1mSELECT "contacts".* FROM "contacts" WHERE "contacts"."id" = ? LIMIT 1[0m [["id", 712064548]]
|
|
317
|
+
Processing by ContactsController#index as HTML
|
|
318
|
+
[1m[35mContact Load (0.2ms)[0m SELECT "contacts".* FROM "contacts"
|
|
319
|
+
Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.2ms)
|
|
320
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
321
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
322
|
+
[1m[36mContact Load (0.2ms)[0m [1mSELECT "contacts".* FROM "contacts" WHERE "contacts"."id" = ? LIMIT 1[0m [["id", 712064548]]
|
|
323
|
+
Processing by ContactsController#new as HTML
|
|
324
|
+
[1m[35mGroup Load (0.3ms)[0m SELECT "groups".* FROM "groups"
|
|
325
|
+
Rendered contacts/_form.html.haml (10.5ms)
|
|
326
|
+
Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.3ms)
|
|
327
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
328
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
329
|
+
[1m[36mContact Load (0.1ms)[0m [1mSELECT "contacts".* FROM "contacts" WHERE "contacts"."id" = ? LIMIT 1[0m [["id", 712064548]]
|
|
330
|
+
Processing by ContactsController#update as HTML
|
|
331
|
+
Parameters: {"contact"=>{"id"=>"712064548", "group_id"=>"637242267", "name"=>"Kevin", "slug"=>nil, "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"=>"2013-05-19 21:52:37 UTC", "updated_at"=>"2013-05-19 21:52:37 UTC"}, "id"=>"712064548"}
|
|
332
|
+
[1m[35mContact Load (0.1ms)[0m SELECT "contacts".* FROM "contacts" WHERE "contacts"."id" = ? LIMIT 1 [["id", "712064548"]]
|
|
333
|
+
WARNING: Can't mass-assign protected attributes: id
|
|
334
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
335
|
+
[1m[35mGroup Load (0.2ms)[0m SELECT "groups".* FROM "groups" WHERE "groups"."id" = 637242267 LIMIT 1
|
|
336
|
+
[attached] save attached
|
|
337
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
338
|
+
Redirected to http://test.host/contacts
|
|
339
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
|
|
340
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
341
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
342
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
343
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
344
|
+
Processing by MainController#index as HTML
|
|
345
|
+
Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms)
|
|
346
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
metadata
CHANGED
|
@@ -1,46 +1,41 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: formula
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 0.3.9
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Kevin Sylvestre
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
11
|
+
date: 2013-05-19 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: rails
|
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
|
17
|
-
none: false
|
|
18
16
|
requirements:
|
|
19
|
-
- -
|
|
17
|
+
- - '>'
|
|
20
18
|
- !ruby/object:Gem::Version
|
|
21
19
|
version: 3.0.0
|
|
22
20
|
type: :runtime
|
|
23
21
|
prerelease: false
|
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
-
none: false
|
|
26
23
|
requirements:
|
|
27
|
-
- -
|
|
24
|
+
- - '>'
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
29
26
|
version: 3.0.0
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
|
31
28
|
name: appraisal
|
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
|
33
|
-
none: false
|
|
34
30
|
requirements:
|
|
35
|
-
- -
|
|
31
|
+
- - '>='
|
|
36
32
|
- !ruby/object:Gem::Version
|
|
37
33
|
version: '0'
|
|
38
34
|
type: :development
|
|
39
35
|
prerelease: false
|
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
-
none: false
|
|
42
37
|
requirements:
|
|
43
|
-
- -
|
|
38
|
+
- - '>='
|
|
44
39
|
- !ruby/object:Gem::Version
|
|
45
40
|
version: '0'
|
|
46
41
|
description: Formula is a Rails form generator that generates simple clean markup.
|
|
@@ -140,27 +135,26 @@ files:
|
|
|
140
135
|
- test/test_helper.rb
|
|
141
136
|
homepage: http://github.com/ksylvest/formula
|
|
142
137
|
licenses: []
|
|
138
|
+
metadata: {}
|
|
143
139
|
post_install_message:
|
|
144
140
|
rdoc_options: []
|
|
145
141
|
require_paths:
|
|
146
142
|
- lib
|
|
147
143
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
148
|
-
none: false
|
|
149
144
|
requirements:
|
|
150
|
-
- -
|
|
145
|
+
- - '>='
|
|
151
146
|
- !ruby/object:Gem::Version
|
|
152
147
|
version: '0'
|
|
153
148
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
|
-
none: false
|
|
155
149
|
requirements:
|
|
156
|
-
- -
|
|
150
|
+
- - '>='
|
|
157
151
|
- !ruby/object:Gem::Version
|
|
158
152
|
version: '0'
|
|
159
153
|
requirements: []
|
|
160
154
|
rubyforge_project:
|
|
161
|
-
rubygems_version:
|
|
155
|
+
rubygems_version: 2.0.2
|
|
162
156
|
signing_key:
|
|
163
|
-
specification_version:
|
|
157
|
+
specification_version: 4
|
|
164
158
|
summary: A great way to simplify complex forms
|
|
165
159
|
test_files:
|
|
166
160
|
- test/dummy/app/assets/javascripts/application.js
|