contour 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. data/CHANGELOG.rdoc +12 -0
  2. data/README.rdoc +2 -2
  3. data/app/assets/images/twitter-bootstrap/{v2.0.3 → v2.0.4}/glyphicons-halflings-white.png +0 -0
  4. data/app/assets/images/twitter-bootstrap/{v2.0.3 → v2.0.4}/glyphicons-halflings.png +0 -0
  5. data/app/assets/javascripts/contour.js +16 -5
  6. data/app/assets/javascripts/twitter-bootstrap/bootstrap.js.coffee +12 -0
  7. data/app/assets/javascripts/twitter-bootstrap/{v2.0.3 → v2.0.4}/bootstrap.js +15 -14
  8. data/app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-alert.js +90 -0
  9. data/app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-button.js +96 -0
  10. data/app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-carousel.js +169 -0
  11. data/app/assets/javascripts/twitter-bootstrap/{bootstrap-collapse.js → v2.0.4/plugins/bootstrap-collapse.js} +2 -2
  12. data/app/assets/javascripts/twitter-bootstrap/{bootstrap-dropdown.js → v2.0.4/plugins/bootstrap-dropdown.js} +2 -2
  13. data/app/assets/javascripts/twitter-bootstrap/{bootstrap-modal.js → v2.0.4/plugins/bootstrap-modal.js} +2 -2
  14. data/app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-popover.js +98 -0
  15. data/app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-scrollspy.js +151 -0
  16. data/app/assets/javascripts/twitter-bootstrap/{bootstrap-tab.js → v2.0.4/plugins/bootstrap-tab.js} +2 -2
  17. data/app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-tooltip.js +275 -0
  18. data/app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-typeahead.js +285 -0
  19. data/app/assets/stylesheets/bootstrap-base-overrides.css +5 -5
  20. data/app/assets/stylesheets/bootstrap-responsive-overrides.css +5 -0
  21. data/app/assets/stylesheets/contour.css +3 -2
  22. data/app/assets/stylesheets/twitter-bootstrap/bootstrap-subnav.css +139 -0
  23. data/app/assets/stylesheets/twitter-bootstrap/{v2.0.3 → v2.0.4}/bootstrap-responsive.css +10 -3
  24. data/app/assets/stylesheets/twitter-bootstrap/{v2.0.3 → v2.0.4}/bootstrap.css +128 -105
  25. data/app/views/contour/authentications/index.html.erb +1 -1
  26. data/app/views/contour/layouts/_subnav.html.erb +23 -0
  27. data/app/views/contour/layouts/application.html.erb +1 -1
  28. data/app/views/contour/registrations/edit.html.erb +1 -1
  29. data/contour.gemspec +2 -2
  30. data/lib/contour/version.rb +1 -1
  31. data/lib/generators/contour/scaffold/templates/_paginate.html.erb +1 -1
  32. data/lib/generators/contour/scaffold/templates/show.html.erb +1 -1
  33. data/test/dummy/db/test.sqlite3 +0 -0
  34. data/test/dummy/log/test.log +2423 -0
  35. data/test/unit/helpers/contour_helper_test.rb +13 -0
  36. metadata +102 -36
@@ -0,0 +1,13 @@
1
+ require 'test_helper'
2
+
3
+ class ContourHelperTest < ActionView::TestCase
4
+
5
+ test "should show sort field helper" do
6
+ assert sort_field_helper("first_name DESC", "last_name", "First Name").kind_of?(String)
7
+ end
8
+
9
+ test "should show sort field helper with same order" do
10
+ assert sort_field_helper("first_name", "first_name", "First Name").kind_of?(String)
11
+ end
12
+
13
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contour
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,27 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-01 00:00:00.000000000 Z
12
+ date: 2012-06-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70214625186920 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 3.2.5
21
+ version: 3.2.6
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70214625186920
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.6
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: jquery-rails
27
- requirement: &70214625186400 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ~>
@@ -32,21 +37,31 @@ dependencies:
32
37
  version: 2.0.2
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *70214625186400
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 2.0.2
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: devise
38
- requirement: &70214625185920 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ~>
42
52
  - !ruby/object:Gem::Version
43
- version: 2.1.0
53
+ version: 2.1.2
44
54
  type: :runtime
45
55
  prerelease: false
46
- version_requirements: *70214625185920
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 2.1.2
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: omniauth
49
- requirement: &70214625185420 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ~>
@@ -54,10 +69,15 @@ dependencies:
54
69
  version: 1.1.0
55
70
  type: :runtime
56
71
  prerelease: false
57
- version_requirements: *70214625185420
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 1.1.0
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: omniauth-cas
60
- requirement: &70214625184720 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
61
81
  none: false
62
82
  requirements:
63
83
  - - ~>
@@ -65,10 +85,15 @@ dependencies:
65
85
  version: 0.0.7
66
86
  type: :runtime
67
87
  prerelease: false
68
- version_requirements: *70214625184720
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 0.0.7
69
94
  - !ruby/object:Gem::Dependency
70
95
  name: omniauth-facebook
71
- requirement: &70214625183860 !ruby/object:Gem::Requirement
96
+ requirement: !ruby/object:Gem::Requirement
72
97
  none: false
73
98
  requirements:
74
99
  - - ~>
@@ -76,10 +101,15 @@ dependencies:
76
101
  version: 1.3.0
77
102
  type: :runtime
78
103
  prerelease: false
79
- version_requirements: *70214625183860
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: 1.3.0
80
110
  - !ruby/object:Gem::Dependency
81
111
  name: omniauth-ldap
82
- requirement: &70214625205720 !ruby/object:Gem::Requirement
112
+ requirement: !ruby/object:Gem::Requirement
83
113
  none: false
84
114
  requirements:
85
115
  - - ~>
@@ -87,10 +117,15 @@ dependencies:
87
117
  version: 1.0.2
88
118
  type: :runtime
89
119
  prerelease: false
90
- version_requirements: *70214625205720
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ~>
124
+ - !ruby/object:Gem::Version
125
+ version: 1.0.2
91
126
  - !ruby/object:Gem::Dependency
92
127
  name: omniauth-linkedin
93
- requirement: &70214625205160 !ruby/object:Gem::Requirement
128
+ requirement: !ruby/object:Gem::Requirement
94
129
  none: false
95
130
  requirements:
96
131
  - - ~>
@@ -98,10 +133,15 @@ dependencies:
98
133
  version: 0.0.6
99
134
  type: :runtime
100
135
  prerelease: false
101
- version_requirements: *70214625205160
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ~>
140
+ - !ruby/object:Gem::Version
141
+ version: 0.0.6
102
142
  - !ruby/object:Gem::Dependency
103
143
  name: omniauth-openid
104
- requirement: &70214625204680 !ruby/object:Gem::Requirement
144
+ requirement: !ruby/object:Gem::Requirement
105
145
  none: false
106
146
  requirements:
107
147
  - - ~>
@@ -109,10 +149,15 @@ dependencies:
109
149
  version: 1.0.1
110
150
  type: :runtime
111
151
  prerelease: false
112
- version_requirements: *70214625204680
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ~>
156
+ - !ruby/object:Gem::Version
157
+ version: 1.0.1
113
158
  - !ruby/object:Gem::Dependency
114
159
  name: omniauth-twitter
115
- requirement: &70214625204020 !ruby/object:Gem::Requirement
160
+ requirement: !ruby/object:Gem::Requirement
116
161
  none: false
117
162
  requirements:
118
163
  - - ~>
@@ -120,10 +165,15 @@ dependencies:
120
165
  version: 0.0.11
121
166
  type: :runtime
122
167
  prerelease: false
123
- version_requirements: *70214625204020
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ~>
172
+ - !ruby/object:Gem::Version
173
+ version: 0.0.11
124
174
  - !ruby/object:Gem::Dependency
125
175
  name: sqlite3
126
- requirement: &70214625203480 !ruby/object:Gem::Requirement
176
+ requirement: !ruby/object:Gem::Requirement
127
177
  none: false
128
178
  requirements:
129
179
  - - ! '>='
@@ -131,7 +181,12 @@ dependencies:
131
181
  version: '0'
132
182
  type: :development
133
183
  prerelease: false
134
- version_requirements: *70214625203480
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ! '>='
188
+ - !ruby/object:Gem::Version
189
+ version: '0'
135
190
  description: Basic Rails Framework files and assets for layout and authentication
136
191
  email: remosm@gmail.com
137
192
  executables: []
@@ -413,21 +468,28 @@ files:
413
468
  - app/assets/images/gentleface/16/wrench_plus_2.png
414
469
  - app/assets/images/gentleface/16/zoom.png
415
470
  - app/assets/images/gentleface/LICENSE
416
- - app/assets/images/twitter-bootstrap/v2.0.3/glyphicons-halflings-white.png
417
- - app/assets/images/twitter-bootstrap/v2.0.3/glyphicons-halflings.png
471
+ - app/assets/images/twitter-bootstrap/v2.0.4/glyphicons-halflings-white.png
472
+ - app/assets/images/twitter-bootstrap/v2.0.4/glyphicons-halflings.png
418
473
  - app/assets/javascripts/contour/global.js.coffee
419
474
  - app/assets/javascripts/contour.js
420
475
  - app/assets/javascripts/external/exporting-2.1.9.src.js
421
476
  - app/assets/javascripts/external/highcharts-2.1.9.src.js
422
477
  - app/assets/javascripts/external/jquery-ui-1.8.10.custom.min.js
423
478
  - app/assets/javascripts/external/jquery.qtip.min.js
424
- - app/assets/javascripts/twitter-bootstrap/bootstrap-collapse.js
425
- - app/assets/javascripts/twitter-bootstrap/bootstrap-dropdown.js
426
- - app/assets/javascripts/twitter-bootstrap/bootstrap-modal.js
427
479
  - app/assets/javascripts/twitter-bootstrap/bootstrap-scroll-modal.js
428
- - app/assets/javascripts/twitter-bootstrap/bootstrap-tab.js
429
480
  - app/assets/javascripts/twitter-bootstrap/bootstrap.js.coffee
430
- - app/assets/javascripts/twitter-bootstrap/v2.0.3/bootstrap.js
481
+ - app/assets/javascripts/twitter-bootstrap/v2.0.4/bootstrap.js
482
+ - app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-alert.js
483
+ - app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-button.js
484
+ - app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-carousel.js
485
+ - app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-collapse.js
486
+ - app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-dropdown.js
487
+ - app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-modal.js
488
+ - app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-popover.js
489
+ - app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-scrollspy.js
490
+ - app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-tab.js
491
+ - app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-tooltip.js
492
+ - app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-typeahead.js
431
493
  - app/assets/stylesheets/bootstrap-base-overrides.css
432
494
  - app/assets/stylesheets/bootstrap-responsive-overrides.css
433
495
  - app/assets/stylesheets/contour/authentication.css
@@ -435,8 +497,9 @@ files:
435
497
  - app/assets/stylesheets/jquery-ui-1.8.10.custom.css
436
498
  - app/assets/stylesheets/jquery.qtip.css
437
499
  - app/assets/stylesheets/twitter-bootstrap/bootstrap-scroll-modal.css
438
- - app/assets/stylesheets/twitter-bootstrap/v2.0.3/bootstrap-responsive.css
439
- - app/assets/stylesheets/twitter-bootstrap/v2.0.3/bootstrap.css
500
+ - app/assets/stylesheets/twitter-bootstrap/bootstrap-subnav.css
501
+ - app/assets/stylesheets/twitter-bootstrap/v2.0.4/bootstrap-responsive.css
502
+ - app/assets/stylesheets/twitter-bootstrap/v2.0.4/bootstrap.css
440
503
  - app/controllers/contour/authentications_controller.rb
441
504
  - app/controllers/contour/confirmations_controller.rb
442
505
  - app/controllers/contour/passwords_controller.rb
@@ -454,6 +517,7 @@ files:
454
517
  - app/views/contour/layouts/_latest_news.html.erb
455
518
  - app/views/contour/layouts/_menu.html.erb
456
519
  - app/views/contour/layouts/_per_page.html.erb
520
+ - app/views/contour/layouts/_subnav.html.erb
457
521
  - app/views/contour/layouts/application.html.erb
458
522
  - app/views/contour/passwords/edit.html.erb
459
523
  - app/views/contour/passwords/new.html.erb
@@ -538,6 +602,7 @@ files:
538
602
  - test/integration/navigation_test.rb
539
603
  - test/test_helper.rb
540
604
  - test/unit/authentication_test.rb
605
+ - test/unit/helpers/contour_helper_test.rb
541
606
  - test/unit/user_test.rb
542
607
  homepage: https://github.com/remomueller
543
608
  licenses: []
@@ -559,7 +624,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
559
624
  version: '0'
560
625
  requirements: []
561
626
  rubyforge_project:
562
- rubygems_version: 1.8.15
627
+ rubygems_version: 1.8.24
563
628
  signing_key:
564
629
  specification_version: 3
565
630
  summary: Basic Rails framework files and assets for layout and authentication
@@ -612,4 +677,5 @@ test_files:
612
677
  - test/integration/navigation_test.rb
613
678
  - test/test_helper.rb
614
679
  - test/unit/authentication_test.rb
680
+ - test/unit/helpers/contour_helper_test.rb
615
681
  - test/unit/user_test.rb