fine_print 0.0.1

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.
Files changed (114) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.md +124 -0
  3. data/Rakefile +23 -0
  4. data/app/assets/javascripts/fine_print/agreements.js +19 -0
  5. data/app/assets/javascripts/fine_print/agreements.js~ +19 -0
  6. data/app/assets/javascripts/fine_print/application.js +4 -0
  7. data/app/assets/javascripts/fine_print/application.js~ +5 -0
  8. data/app/assets/javascripts/fine_print/dialog.js +2 -0
  9. data/app/assets/javascripts/fine_print/dialog.js~ +2 -0
  10. data/app/assets/javascripts/fine_print/user_agreements.js +20 -0
  11. data/app/assets/javascripts/fine_print/user_agreements.js~ +20 -0
  12. data/app/assets/stylesheets/fine_print/agreements.css +11 -0
  13. data/app/assets/stylesheets/fine_print/agreements.css~ +11 -0
  14. data/app/assets/stylesheets/fine_print/application.css +5 -0
  15. data/app/assets/stylesheets/fine_print/application.css~ +60 -0
  16. data/app/assets/stylesheets/fine_print/scaffold.css +56 -0
  17. data/app/assets/stylesheets/fine_print/user_agreements.css~ +3 -0
  18. data/app/assets/stylesheets/scaffold.css~ +56 -0
  19. data/app/controllers/fine_print/agreements_controller.rb +114 -0
  20. data/app/controllers/fine_print/agreements_controller.rb~ +113 -0
  21. data/app/controllers/fine_print/application_controller.rb +13 -0
  22. data/app/controllers/fine_print/application_controller.rb~ +13 -0
  23. data/app/controllers/fine_print/home_controller.rb +14 -0
  24. data/app/controllers/fine_print/home_controller.rb~ +15 -0
  25. data/app/controllers/fine_print/user_agreements_controller.rb +63 -0
  26. data/app/controllers/fine_print/user_agreements_controller.rb~ +63 -0
  27. data/app/models/fine_print/agreement.rb +50 -0
  28. data/app/models/fine_print/agreement.rb~ +50 -0
  29. data/app/models/fine_print/user_agreement.rb +19 -0
  30. data/app/models/fine_print/user_agreement.rb~ +21 -0
  31. data/app/views/fine_print/agreements/_agreement.html.erb +77 -0
  32. data/app/views/fine_print/agreements/_agreement.html.erb~ +77 -0
  33. data/app/views/fine_print/agreements/_dialog.html.erb +27 -0
  34. data/app/views/fine_print/agreements/_dialog.html.erb~ +27 -0
  35. data/app/views/fine_print/agreements/_form.html.erb +51 -0
  36. data/app/views/fine_print/agreements/_form.html.erb~ +51 -0
  37. data/app/views/fine_print/agreements/edit.html.erb +8 -0
  38. data/app/views/fine_print/agreements/edit.html.erb~ +8 -0
  39. data/app/views/fine_print/agreements/index.html.erb +32 -0
  40. data/app/views/fine_print/agreements/index.html.erb~ +32 -0
  41. data/app/views/fine_print/agreements/new.html.erb +7 -0
  42. data/app/views/fine_print/agreements/new.html.erb~ +7 -0
  43. data/app/views/fine_print/agreements/new_version.html.erb +7 -0
  44. data/app/views/fine_print/agreements/new_version.html.erb~ +7 -0
  45. data/app/views/fine_print/agreements/show.html.erb +15 -0
  46. data/app/views/fine_print/agreements/show.html.erb~ +14 -0
  47. data/app/views/fine_print/home/index.html.erb +7 -0
  48. data/app/views/fine_print/home/index.html.erb~ +7 -0
  49. data/app/views/fine_print/user_agreements/cancel.js.erb +1 -0
  50. data/app/views/fine_print/user_agreements/cancel.js.erb~ +2 -0
  51. data/app/views/fine_print/user_agreements/create.js.erb +2 -0
  52. data/app/views/fine_print/user_agreements/create.js.erb~ +2 -0
  53. data/app/views/fine_print/user_agreements/index.html.erb +25 -0
  54. data/app/views/fine_print/user_agreements/index.html.erb~ +25 -0
  55. data/app/views/layouts/fine_print/application.html.erb +14 -0
  56. data/config/initializers/fine_print.rb +53 -0
  57. data/config/initializers/fine_print.rb~ +53 -0
  58. data/config/routes.rb +7 -0
  59. data/config/routes.rb~ +7 -0
  60. data/db/migrate/0_create_fine_print_agreements.rb~ +22 -0
  61. data/db/migrate/0_install.rb +28 -0
  62. data/db/migrate/0_install.rb~ +28 -0
  63. data/lib/fine_print/agreements_helper.rb +13 -0
  64. data/lib/fine_print/agreements_helper.rb~ +11 -0
  65. data/lib/fine_print/engine.rb +5 -0
  66. data/lib/fine_print/fine_print_agreement.rb +26 -0
  67. data/lib/fine_print/fine_print_agreement.rb~ +26 -0
  68. data/lib/fine_print/require_agreement.rb~ +22 -0
  69. data/lib/fine_print/security_transgression.rb +4 -0
  70. data/lib/fine_print/security_transgression.rb~ +3 -0
  71. data/lib/fine_print/version.rb +3 -0
  72. data/lib/fine_print/version.rb~ +3 -0
  73. data/lib/fine_print.rb +69 -0
  74. data/lib/fine_print.rb~ +68 -0
  75. data/lib/tasks/fine_print_tasks.rake +42 -0
  76. data/lib/tasks/fine_print_tasks.rake~ +85 -0
  77. data/spec/dummy/README.md +3 -0
  78. data/spec/dummy/README.md~ +3 -0
  79. data/spec/dummy/Rakefile +7 -0
  80. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  81. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  82. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  83. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  84. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  85. data/spec/dummy/config/application.rb +59 -0
  86. data/spec/dummy/config/boot.rb +10 -0
  87. data/spec/dummy/config/database.yml +25 -0
  88. data/spec/dummy/config/environment.rb +5 -0
  89. data/spec/dummy/config/environments/development.rb +37 -0
  90. data/spec/dummy/config/environments/production.rb +67 -0
  91. data/spec/dummy/config/environments/test.rb +37 -0
  92. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  93. data/spec/dummy/config/initializers/inflections.rb +15 -0
  94. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  95. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  96. data/spec/dummy/config/initializers/session_store.rb +8 -0
  97. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  98. data/spec/dummy/config/locales/en.yml +5 -0
  99. data/spec/dummy/config/routes.rb +4 -0
  100. data/spec/dummy/config.ru +4 -0
  101. data/spec/dummy/db/development.sqlite3 +0 -0
  102. data/spec/dummy/db/schema.rb +36 -0
  103. data/spec/dummy/db/test.sqlite3 +0 -0
  104. data/spec/dummy/log/development.log +41 -0
  105. data/spec/dummy/log/test.log +3 -0
  106. data/spec/dummy/public/404.html +26 -0
  107. data/spec/dummy/public/422.html +26 -0
  108. data/spec/dummy/public/500.html +25 -0
  109. data/spec/dummy/public/favicon.ico +0 -0
  110. data/spec/dummy/script/rails +6 -0
  111. data/spec/fine_print_spec.rb +7 -0
  112. data/spec/fine_print_spec.rb~ +7 -0
  113. data/spec/minitest_helper.rb +12 -0
  114. metadata +277 -0
@@ -0,0 +1,15 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format
4
+ # (all these examples are active by default):
5
+ # ActiveSupport::Inflector.inflections do |inflect|
6
+ # inflect.plural /^(ox)$/i, '\1en'
7
+ # inflect.singular /^(ox)en/i, '\1'
8
+ # inflect.irregular 'person', 'people'
9
+ # inflect.uncountable %w( fish sheep )
10
+ # end
11
+ #
12
+ # These inflection rules are supported but not enabled by default:
13
+ # ActiveSupport::Inflector.inflections do |inflect|
14
+ # inflect.acronym 'RESTful'
15
+ # end
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+ # Make sure the secret is at least 30 characters and all random,
6
+ # no regular words or you'll be exposed to dictionary attacks.
7
+ Dummy::Application.config.secret_token = '686318144c9183cbbeccd12c808fd8ac13548714039777a283717c755b1eb0cbe46b9fb9b3edde7168faf6ba04f124c97a2ee5295af66d5b3df3046940b9a29b'
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
4
+
5
+ # Use the database for sessions instead of the cookie-based default,
6
+ # which shouldn't be used to store highly confidential information
7
+ # (create the session table with "rails generate session_migration")
8
+ # Dummy::Application.config.session_store :active_record_store
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+ #
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json]
9
+ end
10
+
11
+ # Disable root element in JSON by default.
12
+ ActiveSupport.on_load(:active_record) do
13
+ self.include_root_in_json = false
14
+ end
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,4 @@
1
+ Rails.application.routes.draw do
2
+
3
+ mount FinePrint::Engine => "/fine_print"
4
+ end
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Dummy::Application
Binary file
@@ -0,0 +1,36 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 0) do
15
+
16
+ create_table "fine_print_agreements", :force => true do |t|
17
+ t.string "name"
18
+ t.text "content"
19
+ t.integer "version"
20
+ t.datetime "created_at", :null => false
21
+ t.datetime "updated_at", :null => false
22
+ end
23
+
24
+ add_index "fine_print_agreements", ["name", "version"], :name => "index_fine_print_agreements_on_name_and_version"
25
+
26
+ create_table "fine_print_user_agreements", :force => true do |t|
27
+ t.integer "user_id"
28
+ t.integer "agreement_id"
29
+ t.datetime "created_at", :null => false
30
+ t.datetime "updated_at", :null => false
31
+ end
32
+
33
+ add_index "fine_print_user_agreements", ["agreement_id"], :name => "index_fine_print_user_agreements_on_agreement_id"
34
+ add_index "fine_print_user_agreements", ["user_id", "agreement_id"], :name => "index_fine_print_user_agreements_on_user_id_and_agreement_id"
35
+
36
+ end
Binary file
@@ -0,0 +1,41 @@
1
+ Connecting to database specified by database.yml
2
+  (0.1ms) select sqlite_version(*)
3
+  (11.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
4
+  (5.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
6
+ Connecting to database specified by database.yml
7
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
8
+ Migrating to InstallFinePrint (0)
9
+  (0.0ms) select sqlite_version(*)
10
+  (0.0ms) begin transaction
11
+  (0.3ms) CREATE TABLE "fine_print_agreements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "content" text, "version" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
12
+  (0.1ms) CREATE TABLE "fine_print_user_agreements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "agreement_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
13
+  (0.1ms) CREATE INDEX "index_fine_print_agreements_on_name_and_version" ON "fine_print_agreements" ("name", "version")
14
+  (0.1ms) CREATE INDEX "index_fine_print_user_agreements_on_user_id_and_agreement_id" ON "fine_print_user_agreements" ("user_id", "agreement_id")
15
+  (0.1ms) CREATE INDEX "index_fine_print_user_agreements_on_agreement_id" ON "fine_print_user_agreements" ("agreement_id")
16
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('0')
17
+  (11.6ms) commit transaction
18
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
19
+ Connecting to database specified by database.yml
20
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
21
+  (0.1ms) select sqlite_version(*)
22
+  (20.0ms) CREATE TABLE "fine_print_agreements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "content" text, "version" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
23
+  (5.1ms) CREATE INDEX "index_fine_print_agreements_on_name_and_version" ON "fine_print_agreements" ("name", "version")
24
+  (4.9ms) CREATE TABLE "fine_print_user_agreements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "agreement_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
25
+  (5.2ms) CREATE INDEX "index_fine_print_user_agreements_on_agreement_id" ON "fine_print_user_agreements" ("agreement_id")
26
+  (5.3ms) CREATE INDEX "index_fine_print_user_agreements_on_user_id_and_agreement_id" ON "fine_print_user_agreements" ("user_id", "agreement_id")
27
+  (5.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
28
+  (5.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
29
+  (0.1ms) SELECT version FROM "schema_migrations"
30
+  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
31
+ Connecting to database specified by database.yml
32
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
33
+  (0.2ms) select sqlite_version(*)
34
+  (14.5ms) DROP TABLE "fine_print_agreements"
35
+  (4.3ms) CREATE TABLE "fine_print_agreements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "content" text, "version" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
36
+  (4.2ms) CREATE INDEX "index_fine_print_agreements_on_name_and_version" ON "fine_print_agreements" ("name", "version")
37
+  (4.7ms) DROP TABLE "fine_print_user_agreements"
38
+  (4.3ms) CREATE TABLE "fine_print_user_agreements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "agreement_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
39
+  (4.2ms) CREATE INDEX "index_fine_print_user_agreements_on_agreement_id" ON "fine_print_user_agreements" ("agreement_id")
40
+  (4.2ms) CREATE INDEX "index_fine_print_user_agreements_on_user_id_and_agreement_id" ON "fine_print_user_agreements" ("user_id", "agreement_id")
41
+  (0.1ms) SELECT version FROM "schema_migrations"
@@ -0,0 +1,3 @@
1
+ Connecting to database specified by database.yml
2
+  (0.2ms) begin transaction
3
+  (0.0ms) rollback transaction
@@ -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,25 @@
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
+ </div>
24
+ </body>
25
+ </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,7 @@
1
+ require 'minitest_helper'
2
+
3
+ class FinePrintTest < ActiveSupport::TestCase
4
+ test "truth" do
5
+ assert_kind_of Module, FinePrint
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class FinePrintTest < ActiveSupport::TestCase
4
+ test "truth" do
5
+ assert_kind_of Module, FinePrint
6
+ end
7
+ end
@@ -0,0 +1,12 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+
6
+ require "minitest/autorun"
7
+ require "minitest/rails"
8
+
9
+ require "minitest/rails/capybara"
10
+
11
+ Rails.backtrace_cleaner.remove_silencers!
12
+
metadata ADDED
@@ -0,0 +1,277 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fine_print
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Dante Soares
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-03-22 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '3.1'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '3.1'
30
+ - !ruby/object:Gem::Dependency
31
+ name: jquery-rails
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: sqlite3
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: minitest-rails
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: minitest-rails-capybara
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ description: FinePrint allows site admins to easily create, update and ask users to
95
+ sign site agreements, keeping a record of when users signed a certain version of
96
+ each agreement.
97
+ email:
98
+ - dms3@rice.edu
99
+ executables: []
100
+ extensions: []
101
+ extra_rdoc_files: []
102
+ files:
103
+ - app/controllers/fine_print/application_controller.rb~
104
+ - app/controllers/fine_print/user_agreements_controller.rb
105
+ - app/controllers/fine_print/agreements_controller.rb
106
+ - app/controllers/fine_print/home_controller.rb
107
+ - app/controllers/fine_print/home_controller.rb~
108
+ - app/controllers/fine_print/agreements_controller.rb~
109
+ - app/controllers/fine_print/application_controller.rb
110
+ - app/controllers/fine_print/user_agreements_controller.rb~
111
+ - app/assets/stylesheets/scaffold.css~
112
+ - app/assets/stylesheets/fine_print/application.css
113
+ - app/assets/stylesheets/fine_print/application.css~
114
+ - app/assets/stylesheets/fine_print/agreements.css
115
+ - app/assets/stylesheets/fine_print/agreements.css~
116
+ - app/assets/stylesheets/fine_print/user_agreements.css~
117
+ - app/assets/stylesheets/fine_print/scaffold.css
118
+ - app/assets/javascripts/fine_print/agreements.js
119
+ - app/assets/javascripts/fine_print/agreements.js~
120
+ - app/assets/javascripts/fine_print/application.js
121
+ - app/assets/javascripts/fine_print/application.js~
122
+ - app/assets/javascripts/fine_print/dialog.js~
123
+ - app/assets/javascripts/fine_print/dialog.js
124
+ - app/assets/javascripts/fine_print/user_agreements.js
125
+ - app/assets/javascripts/fine_print/user_agreements.js~
126
+ - app/models/fine_print/user_agreement.rb
127
+ - app/models/fine_print/agreement.rb~
128
+ - app/models/fine_print/agreement.rb
129
+ - app/models/fine_print/user_agreement.rb~
130
+ - app/views/layouts/fine_print/application.html.erb
131
+ - app/views/fine_print/user_agreements/create.js.erb
132
+ - app/views/fine_print/user_agreements/index.html.erb~
133
+ - app/views/fine_print/user_agreements/index.html.erb
134
+ - app/views/fine_print/user_agreements/cancel.js.erb
135
+ - app/views/fine_print/user_agreements/create.js.erb~
136
+ - app/views/fine_print/user_agreements/cancel.js.erb~
137
+ - app/views/fine_print/agreements/_dialog.html.erb~
138
+ - app/views/fine_print/agreements/new.html.erb
139
+ - app/views/fine_print/agreements/show.html.erb~
140
+ - app/views/fine_print/agreements/new_version.html.erb
141
+ - app/views/fine_print/agreements/index.html.erb~
142
+ - app/views/fine_print/agreements/new_version.html.erb~
143
+ - app/views/fine_print/agreements/index.html.erb
144
+ - app/views/fine_print/agreements/_agreement.html.erb~
145
+ - app/views/fine_print/agreements/new.html.erb~
146
+ - app/views/fine_print/agreements/_agreement.html.erb
147
+ - app/views/fine_print/agreements/_dialog.html.erb
148
+ - app/views/fine_print/agreements/edit.html.erb
149
+ - app/views/fine_print/agreements/_form.html.erb
150
+ - app/views/fine_print/agreements/show.html.erb
151
+ - app/views/fine_print/agreements/edit.html.erb~
152
+ - app/views/fine_print/agreements/_form.html.erb~
153
+ - app/views/fine_print/home/index.html.erb~
154
+ - app/views/fine_print/home/index.html.erb
155
+ - config/routes.rb
156
+ - config/initializers/fine_print.rb
157
+ - config/initializers/fine_print.rb~
158
+ - config/routes.rb~
159
+ - db/migrate/0_install.rb
160
+ - db/migrate/0_install.rb~
161
+ - db/migrate/0_create_fine_print_agreements.rb~
162
+ - lib/fine_print.rb
163
+ - lib/fine_print/require_agreement.rb~
164
+ - lib/fine_print/fine_print_agreement.rb
165
+ - lib/fine_print/version.rb~
166
+ - lib/fine_print/agreements_helper.rb
167
+ - lib/fine_print/engine.rb
168
+ - lib/fine_print/version.rb
169
+ - lib/fine_print/security_transgression.rb~
170
+ - lib/fine_print/agreements_helper.rb~
171
+ - lib/fine_print/fine_print_agreement.rb~
172
+ - lib/fine_print/security_transgression.rb
173
+ - lib/tasks/fine_print_tasks.rake
174
+ - lib/tasks/fine_print_tasks.rake~
175
+ - lib/fine_print.rb~
176
+ - MIT-LICENSE
177
+ - Rakefile
178
+ - README.md
179
+ - spec/fine_print_spec.rb~
180
+ - spec/minitest_helper.rb
181
+ - spec/dummy/script/rails
182
+ - spec/dummy/Rakefile
183
+ - spec/dummy/app/controllers/application_controller.rb
184
+ - spec/dummy/app/assets/stylesheets/application.css
185
+ - spec/dummy/app/assets/javascripts/application.js
186
+ - spec/dummy/app/helpers/application_helper.rb
187
+ - spec/dummy/app/views/layouts/application.html.erb
188
+ - spec/dummy/config/locales/en.yml
189
+ - spec/dummy/config/environment.rb
190
+ - spec/dummy/config/routes.rb
191
+ - spec/dummy/config/environments/production.rb
192
+ - spec/dummy/config/environments/test.rb
193
+ - spec/dummy/config/environments/development.rb
194
+ - spec/dummy/config/initializers/wrap_parameters.rb
195
+ - spec/dummy/config/initializers/secret_token.rb
196
+ - spec/dummy/config/initializers/mime_types.rb
197
+ - spec/dummy/config/initializers/session_store.rb
198
+ - spec/dummy/config/initializers/backtrace_silencers.rb
199
+ - spec/dummy/config/initializers/inflections.rb
200
+ - spec/dummy/config/boot.rb
201
+ - spec/dummy/config/application.rb
202
+ - spec/dummy/config/database.yml
203
+ - spec/dummy/README.md~
204
+ - spec/dummy/README.md
205
+ - spec/dummy/public/500.html
206
+ - spec/dummy/public/422.html
207
+ - spec/dummy/public/favicon.ico
208
+ - spec/dummy/public/404.html
209
+ - spec/dummy/log/test.log
210
+ - spec/dummy/log/development.log
211
+ - spec/dummy/config.ru
212
+ - spec/dummy/db/schema.rb
213
+ - spec/dummy/db/development.sqlite3
214
+ - spec/dummy/db/test.sqlite3
215
+ - spec/fine_print_spec.rb
216
+ homepage: http://github.com/lml/fine_print
217
+ licenses: []
218
+ post_install_message:
219
+ rdoc_options: []
220
+ require_paths:
221
+ - lib
222
+ required_ruby_version: !ruby/object:Gem::Requirement
223
+ none: false
224
+ requirements:
225
+ - - ! '>='
226
+ - !ruby/object:Gem::Version
227
+ version: '0'
228
+ required_rubygems_version: !ruby/object:Gem::Requirement
229
+ none: false
230
+ requirements:
231
+ - - ! '>='
232
+ - !ruby/object:Gem::Version
233
+ version: '0'
234
+ requirements: []
235
+ rubyforge_project:
236
+ rubygems_version: 1.8.24
237
+ signing_key:
238
+ specification_version: 3
239
+ summary: Manages site agreements with versioning.
240
+ test_files:
241
+ - spec/fine_print_spec.rb~
242
+ - spec/minitest_helper.rb
243
+ - spec/dummy/script/rails
244
+ - spec/dummy/Rakefile
245
+ - spec/dummy/app/controllers/application_controller.rb
246
+ - spec/dummy/app/assets/stylesheets/application.css
247
+ - spec/dummy/app/assets/javascripts/application.js
248
+ - spec/dummy/app/helpers/application_helper.rb
249
+ - spec/dummy/app/views/layouts/application.html.erb
250
+ - spec/dummy/config/locales/en.yml
251
+ - spec/dummy/config/environment.rb
252
+ - spec/dummy/config/routes.rb
253
+ - spec/dummy/config/environments/production.rb
254
+ - spec/dummy/config/environments/test.rb
255
+ - spec/dummy/config/environments/development.rb
256
+ - spec/dummy/config/initializers/wrap_parameters.rb
257
+ - spec/dummy/config/initializers/secret_token.rb
258
+ - spec/dummy/config/initializers/mime_types.rb
259
+ - spec/dummy/config/initializers/session_store.rb
260
+ - spec/dummy/config/initializers/backtrace_silencers.rb
261
+ - spec/dummy/config/initializers/inflections.rb
262
+ - spec/dummy/config/boot.rb
263
+ - spec/dummy/config/application.rb
264
+ - spec/dummy/config/database.yml
265
+ - spec/dummy/README.md~
266
+ - spec/dummy/README.md
267
+ - spec/dummy/public/500.html
268
+ - spec/dummy/public/422.html
269
+ - spec/dummy/public/favicon.ico
270
+ - spec/dummy/public/404.html
271
+ - spec/dummy/log/test.log
272
+ - spec/dummy/log/development.log
273
+ - spec/dummy/config.ru
274
+ - spec/dummy/db/schema.rb
275
+ - spec/dummy/db/development.sqlite3
276
+ - spec/dummy/db/test.sqlite3
277
+ - spec/fine_print_spec.rb