contour 2.4.0.beta3 → 2.4.0.rc
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -3
- data/README.md +2 -2
- data/app/assets/images/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/images/bootstrap/glyphicons-halflings-regular.svg +47 -47
- data/app/assets/images/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/images/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/javascripts/bootstrap/{v3.1.0 → v3.1.1}/bootstrap.js +14 -14
- data/app/assets/javascripts/contour.js +1 -1
- data/app/assets/stylesheets/bootstrap-overrides.css +4 -0
- data/app/assets/stylesheets/bootstrap/{v3.1.0 → v3.1.1}/bootstrap.css +245 -292
- data/app/assets/stylesheets/contour.css +1 -1
- data/contour.gemspec +2 -2
- data/lib/contour/version.rb +1 -1
- data/lib/generators/contour/scaffold/templates/_paginate.html.erb +1 -1
- data/lib/generators/contour/scaffold/templates/controller.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +15 -15
- data/test/dummy/db/test.sqlite3 +0 -0
- metadata +11 -9
@@ -3,7 +3,7 @@
|
|
3
3
|
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
4
4
|
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
5
5
|
*= require_self
|
6
|
-
*= require bootstrap/v3.1.
|
6
|
+
*= require bootstrap/v3.1.1/bootstrap
|
7
7
|
*= require bootstrap/bs-callout
|
8
8
|
*= require glyphicons-overrides
|
9
9
|
*= require bootstrap-overrides
|
data/contour.gemspec
CHANGED
@@ -24,10 +24,10 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.files = Dir['{app,config,db,lib}/**/*'] + ['CHANGELOG.md', 'contour.gemspec', 'LICENSE', 'Rakefile', 'README.md']
|
25
25
|
s.test_files = Dir['test/**/*'] - Dir['test/dummy/{tmp,log}/**/*']
|
26
26
|
|
27
|
-
s.add_dependency 'rails', '~> 4.0.
|
27
|
+
s.add_dependency 'rails', '~> 4.0.3'
|
28
28
|
s.add_dependency 'jquery-rails', '>= 3.0.4'
|
29
29
|
s.add_dependency 'coffee-rails', '~> 4.0.1'
|
30
|
-
s.add_dependency 'devise', '~> 3.2.
|
30
|
+
s.add_dependency 'devise', '~> 3.2.3'
|
31
31
|
s.add_dependency 'omniauth', '~> 1.2.1'
|
32
32
|
# s.add_dependency 'omniauth-cas', '~> 1.0.4'
|
33
33
|
# s.add_dependency 'omniauth-facebook', '~> 1.6.0'
|
data/lib/contour/version.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<%%= render partial: 'contour/layouts/per_page', locals: { per_page:
|
1
|
+
<%%= render partial: 'contour/layouts/per_page', locals: { per_page: 40, object_count: @<%= resource_name_plural %>.total_count } %>
|
2
2
|
|
3
3
|
<table class="table table-striped">
|
4
4
|
<thead>
|
@@ -6,7 +6,7 @@ class <%= resource_class_name_plural %>Controller < ApplicationController
|
|
6
6
|
# GET /<%= resource_name_plural %>.json
|
7
7
|
def index
|
8
8
|
@order = scrub_order(<%= resource_class_name %>, params[:order], "<%= resource_name_plural %>.name")
|
9
|
-
@<%= resource_name_plural %> = <%= resource_class_name %>.current.order(@order).page(params[:page]).per(
|
9
|
+
@<%= resource_name_plural %> = <%= resource_class_name %>.current.order(@order).page(params[:page]).per( 40 )
|
10
10
|
end
|
11
11
|
|
12
12
|
# GET /<%= resource_name_plural %>/1
|
Binary file
|
data/test/dummy/db/schema.rb
CHANGED
@@ -9,38 +9,38 @@
|
|
9
9
|
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
10
|
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
11
|
#
|
12
|
-
# It's strongly recommended
|
12
|
+
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(:
|
14
|
+
ActiveRecord::Schema.define(version: 20111203203307) do
|
15
15
|
|
16
|
-
create_table "authentications", :
|
16
|
+
create_table "authentications", force: true do |t|
|
17
17
|
t.integer "user_id"
|
18
18
|
t.string "provider"
|
19
19
|
t.string "uid"
|
20
|
-
t.datetime "created_at"
|
21
|
-
t.datetime "updated_at"
|
20
|
+
t.datetime "created_at"
|
21
|
+
t.datetime "updated_at"
|
22
22
|
end
|
23
23
|
|
24
|
-
create_table "users", :
|
24
|
+
create_table "users", force: true do |t|
|
25
25
|
t.string "first_name"
|
26
26
|
t.string "last_name"
|
27
|
-
t.string "status", :
|
28
|
-
t.boolean "deleted", :
|
29
|
-
t.string "email", :
|
30
|
-
t.string "encrypted_password", :
|
27
|
+
t.string "status", default: "pending", null: false
|
28
|
+
t.boolean "deleted", default: false, null: false
|
29
|
+
t.string "email", default: "", null: false
|
30
|
+
t.string "encrypted_password", default: "", null: false
|
31
31
|
t.string "reset_password_token"
|
32
32
|
t.datetime "reset_password_sent_at"
|
33
33
|
t.datetime "remember_created_at"
|
34
|
-
t.integer "sign_in_count", :
|
34
|
+
t.integer "sign_in_count", default: 0
|
35
35
|
t.datetime "current_sign_in_at"
|
36
36
|
t.datetime "last_sign_in_at"
|
37
37
|
t.string "current_sign_in_ip"
|
38
38
|
t.string "last_sign_in_ip"
|
39
|
-
t.datetime "created_at"
|
40
|
-
t.datetime "updated_at"
|
39
|
+
t.datetime "created_at"
|
40
|
+
t.datetime "updated_at"
|
41
41
|
end
|
42
42
|
|
43
|
-
add_index "users", ["email"], :
|
44
|
-
add_index "users", ["reset_password_token"], :
|
43
|
+
add_index "users", ["email"], name: "index_users_on_email", unique: true
|
44
|
+
add_index "users", ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
|
45
45
|
|
46
46
|
end
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contour
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.0.
|
4
|
+
version: 2.4.0.rc
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Remo Mueller
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.0.
|
19
|
+
version: 4.0.3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.0.
|
26
|
+
version: 4.0.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: jquery-rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 3.2.
|
61
|
+
version: 3.2.3
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 3.2.
|
68
|
+
version: 3.2.3
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: omniauth
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -166,7 +166,7 @@ files:
|
|
166
166
|
- app/assets/images/contour/ui-icons_cd0a0a_256x240.png
|
167
167
|
- app/assets/images/contour/ui-icons_d8e7f3_256x240.png
|
168
168
|
- app/assets/images/contour/ui-icons_f9bd01_256x240.png
|
169
|
-
- app/assets/javascripts/bootstrap/v3.1.
|
169
|
+
- app/assets/javascripts/bootstrap/v3.1.1/bootstrap.js
|
170
170
|
- app/assets/javascripts/contour.js
|
171
171
|
- app/assets/javascripts/contour/global.js.coffee
|
172
172
|
- app/assets/javascripts/external/bootstrap-datepicker.js
|
@@ -175,7 +175,7 @@ files:
|
|
175
175
|
- app/assets/javascripts/twitter-bootstrap/bootstrap.js.coffee
|
176
176
|
- app/assets/stylesheets/bootstrap-overrides.css
|
177
177
|
- app/assets/stylesheets/bootstrap/bs-callout.css
|
178
|
-
- app/assets/stylesheets/bootstrap/v3.1.
|
178
|
+
- app/assets/stylesheets/bootstrap/v3.1.1/bootstrap.css
|
179
179
|
- app/assets/stylesheets/contour.css
|
180
180
|
- app/assets/stylesheets/contour/about.css
|
181
181
|
- app/assets/stylesheets/datepicker.css
|
@@ -292,6 +292,7 @@ files:
|
|
292
292
|
- test/dummy/config/initializers/wrap_parameters.rb
|
293
293
|
- test/dummy/config/locales/en.yml
|
294
294
|
- test/dummy/config/routes.rb
|
295
|
+
- test/dummy/db/development.sqlite3
|
295
296
|
- test/dummy/db/migrate/20111203203123_devise_create_users.rb
|
296
297
|
- test/dummy/db/migrate/20111203203307_create_authentications.rb
|
297
298
|
- test/dummy/db/schema.rb
|
@@ -328,7 +329,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
328
329
|
version: 1.3.1
|
329
330
|
requirements: []
|
330
331
|
rubyforge_project:
|
331
|
-
rubygems_version: 2.2.
|
332
|
+
rubygems_version: 2.2.2
|
332
333
|
signing_key:
|
333
334
|
specification_version: 4
|
334
335
|
summary: Basic Rails framework files and assets for layout and authentication
|
@@ -368,6 +369,7 @@ test_files:
|
|
368
369
|
- test/dummy/config/locales/en.yml
|
369
370
|
- test/dummy/config/routes.rb
|
370
371
|
- test/dummy/config.ru
|
372
|
+
- test/dummy/db/development.sqlite3
|
371
373
|
- test/dummy/db/migrate/20111203203123_devise_create_users.rb
|
372
374
|
- test/dummy/db/migrate/20111203203307_create_authentications.rb
|
373
375
|
- test/dummy/db/schema.rb
|