fine_print 2.0.3 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/fine_print/application_controller.rb +4 -0
- data/app/controllers/fine_print/contracts_controller.rb +5 -5
- data/app/controllers/fine_print/signatures_controller.rb +2 -2
- data/app/models/fine_print/contract.rb +5 -3
- data/app/models/fine_print/signature.rb +2 -1
- data/app/views/fine_print/contracts/_form.html.erb +10 -5
- data/app/views/fine_print/contracts/_show.html.erb +5 -3
- data/app/views/fine_print/contracts/edit.html.erb +8 -3
- data/app/views/fine_print/contracts/index.html.erb +20 -9
- data/app/views/fine_print/contracts/new.html.erb +4 -2
- data/app/views/fine_print/contracts/new_version.html.erb +6 -2
- data/app/views/fine_print/contracts/show.html.erb +26 -10
- data/app/views/fine_print/signatures/_form.html.erb +8 -3
- data/app/views/fine_print/signatures/index.html.erb +21 -14
- data/app/views/fine_print/signatures/new.html.erb +7 -0
- data/config/initializers/fine_print.rb +10 -0
- data/config/locales/fine_print/en.yml +89 -0
- data/lib/fine_print/engine.rb +3 -0
- data/lib/fine_print/version.rb +1 -1
- data/lib/fine_print.rb +3 -1
- data/lib/tasks/fine_print_tasks.rake +1 -2
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +4739 -0
- metadata +3 -6
- data/app/assets/javascripts/fine_print/application.js +0 -9
- data/app/assets/stylesheets/fine_print/application.css +0 -4
- data/app/assets/stylesheets/fine_print/scaffold.css +0 -56
- data/app/views/layouts/fine_print/application.html.erb +0 -20
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fine_print
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JP Slavinsky
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-09-
|
12
|
+
date: 2014-09-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -149,9 +149,6 @@ files:
|
|
149
149
|
- MIT-LICENSE
|
150
150
|
- README.md
|
151
151
|
- Rakefile
|
152
|
-
- app/assets/javascripts/fine_print/application.js
|
153
|
-
- app/assets/stylesheets/fine_print/application.css
|
154
|
-
- app/assets/stylesheets/fine_print/scaffold.css
|
155
152
|
- app/controllers/fine_print/application_controller.rb
|
156
153
|
- app/controllers/fine_print/contracts_controller.rb
|
157
154
|
- app/controllers/fine_print/home_controller.rb
|
@@ -169,8 +166,8 @@ files:
|
|
169
166
|
- app/views/fine_print/signatures/_form.html.erb
|
170
167
|
- app/views/fine_print/signatures/index.html.erb
|
171
168
|
- app/views/fine_print/signatures/new.html.erb
|
172
|
-
- app/views/layouts/fine_print/application.html.erb
|
173
169
|
- config/initializers/fine_print.rb
|
170
|
+
- config/locales/fine_print/en.yml
|
174
171
|
- config/routes.rb
|
175
172
|
- db/migrate/0_install_fine_print.rb
|
176
173
|
- lib/fine_print.rb
|
@@ -1,9 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into including all the files listed below.
|
2
|
-
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
|
3
|
-
// be included in the compiled file accessible from http://example.com/assets/application.js
|
4
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
5
|
-
// the compiled file.
|
6
|
-
//
|
7
|
-
//= require jquery
|
8
|
-
//= require jquery_ujs
|
9
|
-
//= require_tree .
|
@@ -1,56 +0,0 @@
|
|
1
|
-
body { background-color: #fff; color: #333; }
|
2
|
-
|
3
|
-
body, p, ol, ul, td {
|
4
|
-
font-family: verdana, arial, helvetica, sans-serif;
|
5
|
-
font-size: 13px;
|
6
|
-
line-height: 18px;
|
7
|
-
}
|
8
|
-
|
9
|
-
pre {
|
10
|
-
background-color: #eee;
|
11
|
-
padding: 10px;
|
12
|
-
font-size: 11px;
|
13
|
-
}
|
14
|
-
|
15
|
-
a { color: #000; }
|
16
|
-
a:visited { color: #666; }
|
17
|
-
a:hover { color: #fff; background-color:#000; }
|
18
|
-
|
19
|
-
div.field, div.actions {
|
20
|
-
margin-bottom: 10px;
|
21
|
-
}
|
22
|
-
|
23
|
-
#notice {
|
24
|
-
color: green;
|
25
|
-
}
|
26
|
-
|
27
|
-
.field_with_errors {
|
28
|
-
padding: 2px;
|
29
|
-
background-color: red;
|
30
|
-
display: table;
|
31
|
-
}
|
32
|
-
|
33
|
-
#error_explanation {
|
34
|
-
width: 450px;
|
35
|
-
border: 2px solid red;
|
36
|
-
padding: 7px;
|
37
|
-
padding-bottom: 0;
|
38
|
-
margin-bottom: 20px;
|
39
|
-
background-color: #f0f0f0;
|
40
|
-
}
|
41
|
-
|
42
|
-
#error_explanation h2 {
|
43
|
-
text-align: left;
|
44
|
-
font-weight: bold;
|
45
|
-
padding: 5px 5px 5px 15px;
|
46
|
-
font-size: 12px;
|
47
|
-
margin: -7px;
|
48
|
-
margin-bottom: 0px;
|
49
|
-
background-color: #c00;
|
50
|
-
color: #fff;
|
51
|
-
}
|
52
|
-
|
53
|
-
#error_explanation ul li {
|
54
|
-
font-size: 12px;
|
55
|
-
list-style: square;
|
56
|
-
}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>FinePrint</title>
|
5
|
-
<%= stylesheet_link_tag "fine_print/application", :media => "all" %>
|
6
|
-
<%= javascript_include_tag "fine_print/application" %>
|
7
|
-
<%= csrf_meta_tags %>
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
|
11
|
-
<% if flash[:alert] %>
|
12
|
-
<div class="alert"><%= flash[:alert] %></div>
|
13
|
-
<% elsif flash[:notice] %>
|
14
|
-
<div class="notice"><%= flash[:notice] %></div>
|
15
|
-
<% end %>
|
16
|
-
|
17
|
-
<%= yield %>
|
18
|
-
|
19
|
-
</body>
|
20
|
-
</html>
|