clndr-rails 1.2.5.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 (137) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +2 -0
  4. data/config/routes.rb +2 -0
  5. data/lib/clndr-rails.rb +171 -0
  6. data/lib/clndr-rails/config.rb +92 -0
  7. data/lib/clndr-rails/engine.rb +9 -0
  8. data/lib/clndr-rails/errors.rb +13 -0
  9. data/lib/clndr-rails/helpers.rb +37 -0
  10. data/lib/clndr-rails/templates.rb +92 -0
  11. data/lib/clndr-rails/version.rb +5 -0
  12. data/test/dummy/README.rdoc +28 -0
  13. data/test/dummy/Rakefile +6 -0
  14. data/test/dummy/app/assets/javascripts/application.js +17 -0
  15. data/test/dummy/app/assets/javascripts/base.js +2 -0
  16. data/test/dummy/app/assets/stylesheets/application.css +16 -0
  17. data/test/dummy/app/assets/stylesheets/base.css +0 -0
  18. data/test/dummy/app/controllers/application_controller.rb +5 -0
  19. data/test/dummy/app/controllers/base_controller.rb +31 -0
  20. data/test/dummy/app/helpers/application_helper.rb +2 -0
  21. data/test/dummy/app/helpers/base_helper.rb +2 -0
  22. data/test/dummy/app/views/base/index.html.erb +3 -0
  23. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  24. data/test/dummy/bin/bundle +3 -0
  25. data/test/dummy/bin/rails +4 -0
  26. data/test/dummy/bin/rake +4 -0
  27. data/test/dummy/config.ru +4 -0
  28. data/test/dummy/config/application.rb +23 -0
  29. data/test/dummy/config/boot.rb +5 -0
  30. data/test/dummy/config/database.yml +25 -0
  31. data/test/dummy/config/environment.rb +5 -0
  32. data/test/dummy/config/environments/development.rb +37 -0
  33. data/test/dummy/config/environments/production.rb +78 -0
  34. data/test/dummy/config/environments/test.rb +39 -0
  35. data/test/dummy/config/initializers/assets.rb +8 -0
  36. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  37. data/test/dummy/config/initializers/clndr.rb +27 -0
  38. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  39. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  40. data/test/dummy/config/initializers/inflections.rb +16 -0
  41. data/test/dummy/config/initializers/mime_types.rb +4 -0
  42. data/test/dummy/config/initializers/session_store.rb +3 -0
  43. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  44. data/test/dummy/config/locales/en.yml +23 -0
  45. data/test/dummy/config/routes.rb +6 -0
  46. data/test/dummy/config/secrets.yml +22 -0
  47. data/test/dummy/db/development.sqlite3 +0 -0
  48. data/test/dummy/db/test.sqlite3 +0 -0
  49. data/test/dummy/log/development.log +19612 -0
  50. data/test/dummy/log/test.log +171 -0
  51. data/test/dummy/public/404.html +67 -0
  52. data/test/dummy/public/422.html +67 -0
  53. data/test/dummy/public/500.html +66 -0
  54. data/test/dummy/public/favicon.ico +0 -0
  55. data/test/dummy/spec/controllers/base_controller_spec.rb +12 -0
  56. data/test/dummy/spec/helpers/base_helper_spec.rb +15 -0
  57. data/test/dummy/spec/rails_helper.rb +50 -0
  58. data/test/dummy/spec/spec_helper.rb +93 -0
  59. data/test/dummy/spec/views/base/index.html.erb_spec.rb +19 -0
  60. data/test/dummy/test/controllers/base_controller_test.rb +9 -0
  61. data/test/dummy/test/helpers/base_helper_test.rb +4 -0
  62. data/test/dummy/tmp/cache/assets/development/sass/7c98d0fae9192743d8c55a5e8e53de41ac6246a9/clndr-rails.css.scssc +0 -0
  63. data/test/dummy/tmp/cache/assets/development/sprockets/0687b70ce11a7e80dcd39da365dd5a8a +0 -0
  64. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  65. data/test/dummy/tmp/cache/assets/development/sprockets/1cc60160d9e0a352994b8eb6b8313b1a +0 -0
  66. data/test/dummy/tmp/cache/assets/development/sprockets/28cfd59c37a42a9ea808d622b0177c86 +0 -0
  67. data/test/dummy/tmp/cache/assets/development/sprockets/2aeab94961f3936633223fba03e2a6ed +0 -0
  68. data/test/dummy/tmp/cache/assets/development/sprockets/2be3a826c076d8c8854c94ebc3a6d773 +0 -0
  69. data/test/dummy/tmp/cache/assets/development/sprockets/2e471d0b6fa1aa6817c6d3e773648a43 +0 -0
  70. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  71. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  72. data/test/dummy/tmp/cache/assets/development/sprockets/3b526052e48eb4ad5375fb6432761828 +0 -0
  73. data/test/dummy/tmp/cache/assets/development/sprockets/4069980b5689edf29f7bc438d62f44e9 +0 -0
  74. data/test/dummy/tmp/cache/assets/development/sprockets/42927f6bcf2f320e08ea8ff02d5c8209 +0 -0
  75. data/test/dummy/tmp/cache/assets/development/sprockets/433724373619c6185a095523fd7c7fe0 +0 -0
  76. data/test/dummy/tmp/cache/assets/development/sprockets/486f42c6c97c7a42b88dc91fc2d5a864 +0 -0
  77. data/test/dummy/tmp/cache/assets/development/sprockets/4a9158fb3a677a8253fa2a7e93551175 +0 -0
  78. data/test/dummy/tmp/cache/assets/development/sprockets/51408facf1bc7598eedca202daf4ba96 +0 -0
  79. data/test/dummy/tmp/cache/assets/development/sprockets/53eedf0ac9053fc3d462eabaf534bd05 +0 -0
  80. data/test/dummy/tmp/cache/assets/development/sprockets/580892b79dd41de64c62d07404cd1a12 +0 -0
  81. data/test/dummy/tmp/cache/assets/development/sprockets/5a6cb5cfc573c611e29c2ac98103701f +0 -0
  82. data/test/dummy/tmp/cache/assets/development/sprockets/5f78b3457def1d02bd3fb75d4e0cfb63 +0 -0
  83. data/test/dummy/tmp/cache/assets/development/sprockets/684604af0ae58f9e55f2992fe9c466d7 +0 -0
  84. data/test/dummy/tmp/cache/assets/development/sprockets/6c33e774b86f9ef5ba24ffbe52bed674 +0 -0
  85. data/test/dummy/tmp/cache/assets/development/sprockets/6f78527844795b9b46156d0576fffe63 +0 -0
  86. data/test/dummy/tmp/cache/assets/development/sprockets/74efa8b198344d1b86c6531144584f3e +0 -0
  87. data/test/dummy/tmp/cache/assets/development/sprockets/78573c83ee7596aaed9105a0ed816f5d +0 -0
  88. data/test/dummy/tmp/cache/assets/development/sprockets/7b60bb572e6a268c62e728ed79fb2cda +0 -0
  89. data/test/dummy/tmp/cache/assets/development/sprockets/82eac1b4407ccfbc517558b830c67a53 +0 -0
  90. data/test/dummy/tmp/cache/assets/development/sprockets/8329b2874924fc312c31e87ef69a88bb +0 -0
  91. data/test/dummy/tmp/cache/assets/development/sprockets/9123d280fa9cc0d16a1ec96a3e44bcc1 +0 -0
  92. data/test/dummy/tmp/cache/assets/development/sprockets/a4ce04494de7990c1b23b8498b2fb743 +0 -0
  93. data/test/dummy/tmp/cache/assets/development/sprockets/a7f1637ae79393f95fd20936e91d62d0 +0 -0
  94. data/test/dummy/tmp/cache/assets/development/sprockets/ab8a19b4c942c018374d61f4f99235dc +0 -0
  95. data/test/dummy/tmp/cache/assets/development/sprockets/b6c986125db42513425f8a84e0021579 +0 -0
  96. data/test/dummy/tmp/cache/assets/development/sprockets/bb2f6a70a78dd0eb8181c7f495e82f57 +0 -0
  97. data/test/dummy/tmp/cache/assets/development/sprockets/be9637deb767f91f0193d4b0573f954e +0 -0
  98. data/test/dummy/tmp/cache/assets/development/sprockets/c0f2a7bdc7a73db8bacf633cef4ec428 +0 -0
  99. data/test/dummy/tmp/cache/assets/development/sprockets/c744c093e347d6c90bc75206f502a48e +0 -0
  100. data/test/dummy/tmp/cache/assets/development/sprockets/c7effad0605334daea2929e656094580 +0 -0
  101. data/test/dummy/tmp/cache/assets/development/sprockets/c8fc1f981896d3bc3650f6dc2cdc3981 +0 -0
  102. data/test/dummy/tmp/cache/assets/development/sprockets/cbc61fb8910e489328c2cbf64a73c6ca +0 -0
  103. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  104. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  105. data/test/dummy/tmp/cache/assets/development/sprockets/d9282682f846f5b479288a298788e6c7 +0 -0
  106. data/test/dummy/tmp/cache/assets/development/sprockets/de1001d906d7f009cc8b325d53aed152 +0 -0
  107. data/test/dummy/tmp/cache/assets/development/sprockets/de79a0cce913cf585100d02ad7b13bd2 +0 -0
  108. data/test/dummy/tmp/cache/assets/development/sprockets/eabe02c282ba47d5bef91a603f0e8ddc +0 -0
  109. data/test/dummy/tmp/cache/assets/development/sprockets/edf2dce367a4fbd2628ceef059dab88f +0 -0
  110. data/test/dummy/tmp/cache/assets/development/sprockets/f1829681b5124c696fef4fd62c36f101 +0 -0
  111. data/test/dummy/tmp/cache/assets/development/sprockets/f34be083c250d77494ecd0d35fd1099f +0 -0
  112. data/test/dummy/tmp/cache/assets/development/sprockets/f3c1e7e2d789b88a0b3e967365eefda2 +0 -0
  113. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  114. data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  115. data/test/dummy/tmp/cache/assets/test/sprockets/1cc60160d9e0a352994b8eb6b8313b1a +0 -0
  116. data/test/dummy/tmp/cache/assets/test/sprockets/28cfd59c37a42a9ea808d622b0177c86 +0 -0
  117. data/test/dummy/tmp/cache/assets/test/sprockets/2aeab94961f3936633223fba03e2a6ed +0 -0
  118. data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  119. data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  120. data/test/dummy/tmp/cache/assets/test/sprockets/42927f6bcf2f320e08ea8ff02d5c8209 +0 -0
  121. data/test/dummy/tmp/cache/assets/test/sprockets/53eedf0ac9053fc3d462eabaf534bd05 +0 -0
  122. data/test/dummy/tmp/cache/assets/test/sprockets/580892b79dd41de64c62d07404cd1a12 +0 -0
  123. data/test/dummy/tmp/cache/assets/test/sprockets/5a6cb5cfc573c611e29c2ac98103701f +0 -0
  124. data/test/dummy/tmp/cache/assets/test/sprockets/5f78b3457def1d02bd3fb75d4e0cfb63 +0 -0
  125. data/test/dummy/tmp/cache/assets/test/sprockets/684604af0ae58f9e55f2992fe9c466d7 +0 -0
  126. data/test/dummy/tmp/cache/assets/test/sprockets/6c33e774b86f9ef5ba24ffbe52bed674 +0 -0
  127. data/test/dummy/tmp/cache/assets/test/sprockets/6f78527844795b9b46156d0576fffe63 +0 -0
  128. data/test/dummy/tmp/cache/assets/test/sprockets/74efa8b198344d1b86c6531144584f3e +0 -0
  129. data/test/dummy/tmp/cache/assets/test/sprockets/bb2f6a70a78dd0eb8181c7f495e82f57 +0 -0
  130. data/test/dummy/tmp/cache/assets/test/sprockets/c8fc1f981896d3bc3650f6dc2cdc3981 +0 -0
  131. data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  132. data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  133. data/test/dummy/tmp/cache/assets/test/sprockets/de79a0cce913cf585100d02ad7b13bd2 +0 -0
  134. data/test/dummy/tmp/cache/assets/test/sprockets/f1829681b5124c696fef4fd62c36f101 +0 -0
  135. data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  136. data/test/dummy/tmp/pids/server.pid +1 -0
  137. metadata +389 -0
@@ -0,0 +1,171 @@
1
+  (0.1ms) begin transaction
2
+ Processing by BaseController#index as HTML
3
+ Rendered base/index.html.erb within layouts/application (0.4ms)
4
+ Completed 200 OK in 51ms (Views: 50.2ms | ActiveRecord: 0.0ms)
5
+  (0.1ms) rollback transaction
6
+  (0.1ms) begin transaction
7
+ Processing by BaseController#index as HTML
8
+ Rendered base/index.html.erb within layouts/application (0.3ms)
9
+ Completed 200 OK in 30ms (Views: 29.4ms | ActiveRecord: 0.0ms)
10
+  (0.1ms) rollback transaction
11
+  (0.1ms) begin transaction
12
+ Started GET "/" for 127.0.0.1 at 2014-12-13 15:18:42 +0500
13
+ Processing by BaseController#index as HTML
14
+ Completed 200 OK in 616ms (Views: 615.9ms | ActiveRecord: 0.0ms)
15
+  (0.1ms) rollback transaction
16
+  (0.1ms) begin transaction
17
+ Started GET "/" for 127.0.0.1 at 2014-12-13 15:19:16 +0500
18
+ Processing by BaseController#index as HTML
19
+ Rendered base/index.html.erb within layouts/application (1.0ms)
20
+ Completed 200 OK in 71ms (Views: 70.8ms | ActiveRecord: 0.0ms)
21
+  (0.1ms) rollback transaction
22
+  (0.1ms) begin transaction
23
+ Started GET "/" for 127.0.0.1 at 2014-12-13 15:19:52 +0500
24
+ Processing by BaseController#index as HTML
25
+ Rendered base/index.html.erb within layouts/application (0.9ms)
26
+ Completed 200 OK in 47ms (Views: 46.9ms | ActiveRecord: 0.0ms)
27
+  (0.1ms) rollback transaction
28
+  (0.1ms) begin transaction
29
+  (0.1ms) rollback transaction
30
+  (0.1ms) begin transaction
31
+  (0.1ms) rollback transaction
32
+  (0.1ms) begin transaction
33
+ Started GET "/" for 127.0.0.1 at 2014-12-13 15:26:33 +0500
34
+ Processing by BaseController#index as HTML
35
+ Rendered base/index.html.erb within layouts/application (17.7ms)
36
+ Completed 200 OK in 100ms (Views: 100.0ms | ActiveRecord: 0.0ms)
37
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-13 15:26:33 +0500
38
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-13 15:26:33 +0500
39
+  (0.1ms) rollback transaction
40
+  (0.1ms) begin transaction
41
+ Started GET "/" for 127.0.0.1 at 2014-12-13 15:27:27 +0500
42
+ Processing by BaseController#index as HTML
43
+ Rendered base/index.html.erb within layouts/application (1.0ms)
44
+ Completed 200 OK in 49ms (Views: 48.8ms | ActiveRecord: 0.0ms)
45
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-13 15:27:27 +0500
46
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-13 15:27:27 +0500
47
+  (0.1ms) rollback transaction
48
+  (0.1ms) begin transaction
49
+ Started GET "/" for 127.0.0.1 at 2014-12-13 15:27:58 +0500
50
+ Processing by BaseController#index as HTML
51
+ Rendered base/index.html.erb within layouts/application (1.2ms)
52
+ Completed 200 OK in 50ms (Views: 50.1ms | ActiveRecord: 0.0ms)
53
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-13 15:27:58 +0500
54
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-13 15:27:58 +0500
55
+  (0.1ms) rollback transaction
56
+  (0.1ms) begin transaction
57
+ Started GET "/" for 127.0.0.1 at 2014-12-13 15:30:39 +0500
58
+ Processing by BaseController#index as HTML
59
+ Rendered base/index.html.erb within layouts/application (1.0ms)
60
+ Completed 200 OK in 49ms (Views: 49.1ms | ActiveRecord: 0.0ms)
61
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-13 15:30:39 +0500
62
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-13 15:30:39 +0500
63
+  (0.1ms) rollback transaction
64
+  (0.1ms) begin transaction
65
+ Started GET "/" for 127.0.0.1 at 2014-12-13 15:32:18 +0500
66
+ Processing by BaseController#index as HTML
67
+ Rendered base/index.html.erb within layouts/application (4.5ms)
68
+ Completed 200 OK in 179ms (Views: 178.4ms | ActiveRecord: 0.0ms)
69
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-13 15:32:18 +0500
70
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-13 15:32:18 +0500
71
+  (0.1ms) rollback transaction
72
+  (0.1ms) begin transaction
73
+ Started GET "/" for 127.0.0.1 at 2014-12-13 15:33:27 +0500
74
+ Processing by BaseController#index as HTML
75
+ Rendered base/index.html.erb within layouts/application (27.7ms)
76
+ Completed 200 OK in 521ms (Views: 520.1ms | ActiveRecord: 0.0ms)
77
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-13 15:33:28 +0500
78
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-13 15:33:28 +0500
79
+  (0.1ms) rollback transaction
80
+  (0.1ms) begin transaction
81
+ Started GET "/" for 127.0.0.1 at 2014-12-13 15:36:44 +0500
82
+ Processing by BaseController#index as HTML
83
+ Rendered base/index.html.erb within layouts/application (16.5ms)
84
+ Completed 200 OK in 620ms (Views: 620.0ms | ActiveRecord: 0.0ms)
85
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-13 15:36:46 +0500
86
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-13 15:36:46 +0500
87
+  (0.1ms) rollback transaction
88
+  (0.2ms) begin transaction
89
+ Started GET "/" for 127.0.0.1 at 2014-12-13 15:36:52 +0500
90
+ Processing by BaseController#index as HTML
91
+ Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
92
+  (0.1ms) rollback transaction
93
+  (0.1ms) begin transaction
94
+ Started GET "/" for 127.0.0.1 at 2014-12-14 12:25:40 +0500
95
+ Processing by BaseController#index as HTML
96
+ Rendered base/index.html.erb within layouts/application (0.6ms)
97
+ Completed 200 OK in 157ms (Views: 130.5ms | ActiveRecord: 0.0ms)
98
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-14 12:25:40 +0500
99
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-14 12:25:40 +0500
100
+  (0.1ms) rollback transaction
101
+  (0.1ms) begin transaction
102
+  (0.1ms) rollback transaction
103
+  (0.1ms) begin transaction
104
+ Started GET "/" for 127.0.0.1 at 2014-12-15 21:46:03 +0500
105
+ Processing by BaseController#index as HTML
106
+ Completed 500 Internal Server Error in 0ms
107
+  (0.1ms) rollback transaction
108
+  (0.2ms) begin transaction
109
+  (0.1ms) rollback transaction
110
+  (0.1ms) begin transaction
111
+  (0.1ms) rollback transaction
112
+  (0.1ms) begin transaction
113
+ Started GET "/" for 127.0.0.1 at 2014-12-15 21:48:07 +0500
114
+ Processing by BaseController#index as HTML
115
+ Rendered base/index.html.erb within layouts/application (1.2ms)
116
+ Completed 200 OK in 848ms (Views: 847.9ms | ActiveRecord: 0.0ms)
117
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-15 21:48:09 +0500
118
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-15 21:48:09 +0500
119
+  (0.1ms) rollback transaction
120
+  (0.2ms) begin transaction
121
+  (0.1ms) rollback transaction
122
+  (0.1ms) begin transaction
123
+  (0.1ms) rollback transaction
124
+  (0.1ms) begin transaction
125
+ Started GET "/" for 127.0.0.1 at 2014-12-15 22:15:16 +0500
126
+ Processing by BaseController#index as HTML
127
+ Rendered base/index.html.erb within layouts/application (1.0ms)
128
+ Completed 200 OK in 147ms (Views: 146.8ms | ActiveRecord: 0.0ms)
129
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-15 22:15:16 +0500
130
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-15 22:15:16 +0500
131
+  (0.1ms) rollback transaction
132
+  (0.2ms) begin transaction
133
+  (0.1ms) rollback transaction
134
+  (0.1ms) begin transaction
135
+  (0.1ms) rollback transaction
136
+  (0.1ms) begin transaction
137
+ Started GET "/" for 127.0.0.1 at 2014-12-15 22:17:08 +0500
138
+ Processing by BaseController#index as HTML
139
+ Rendered base/index.html.erb within layouts/application (1.1ms)
140
+ Completed 200 OK in 144ms (Views: 143.9ms | ActiveRecord: 0.0ms)
141
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-15 22:17:08 +0500
142
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-15 22:17:08 +0500
143
+  (0.1ms) rollback transaction
144
+  (0.4ms) begin transaction
145
+  (0.1ms) rollback transaction
146
+  (0.0ms) begin transaction
147
+  (0.1ms) rollback transaction
148
+  (0.1ms) begin transaction
149
+ Started GET "/" for 127.0.0.1 at 2014-12-15 22:19:40 +0500
150
+ Processing by BaseController#index as HTML
151
+ Rendered base/index.html.erb within layouts/application (1.1ms)
152
+ Completed 200 OK in 144ms (Views: 143.4ms | ActiveRecord: 0.0ms)
153
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-15 22:19:41 +0500
154
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-15 22:19:41 +0500
155
+  (0.1ms) rollback transaction
156
+  (0.2ms) begin transaction
157
+  (0.2ms) rollback transaction
158
+  (0.1ms) begin transaction
159
+  (0.1ms) rollback transaction
160
+  (0.1ms) begin transaction
161
+ Started GET "/" for 127.0.0.1 at 2014-12-15 22:21:25 +0500
162
+ Processing by BaseController#index as HTML
163
+ Rendered base/index.html.erb within layouts/application (1.0ms)
164
+ Completed 200 OK in 144ms (Views: 143.9ms | ActiveRecord: 0.0ms)
165
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-15 22:21:25 +0500
166
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-15 22:21:25 +0500
167
+  (0.1ms) rollback transaction
168
+  (27.7ms) begin transaction
169
+  (0.1ms) rollback transaction
170
+  (0.1ms) begin transaction
171
+  (0.1ms) rollback transaction
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
@@ -0,0 +1,12 @@
1
+ require 'rails_helper'
2
+
3
+ RSpec.describe BaseController, :type => :controller do
4
+
5
+ describe "GET index" do
6
+ it "returns http success" do
7
+ get :index
8
+ expect(response).to have_http_status(:success)
9
+ end
10
+ end
11
+
12
+ end
@@ -0,0 +1,15 @@
1
+ require 'rails_helper'
2
+
3
+ # Specs in this file have access to a helper object that includes
4
+ # the BaseHelper. For example:
5
+ #
6
+ # describe BaseHelper do
7
+ # describe "string concat" do
8
+ # it "concats two strings with spaces" do
9
+ # expect(helper.concat_strings("this","that")).to eq("this that")
10
+ # end
11
+ # end
12
+ # end
13
+ RSpec.describe BaseHelper, :type => :helper do
14
+ pending "add some examples to (or delete) #{__FILE__}"
15
+ end
@@ -0,0 +1,50 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV["RAILS_ENV"] ||= 'test'
3
+ require 'spec_helper'
4
+ require File.expand_path("../../config/environment", __FILE__)
5
+ require 'rspec/rails'
6
+ # Add additional requires below this line. Rails is not loaded until this point!
7
+
8
+ # Requires supporting ruby files with custom matchers and macros, etc, in
9
+ # spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
10
+ # run as spec files by default. This means that files in spec/support that end
11
+ # in _spec.rb will both be required and run as specs, causing the specs to be
12
+ # run twice. It is recommended that you do not name files matching this glob to
13
+ # end with _spec.rb. You can configure this pattern with the --pattern
14
+ # option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
15
+ #
16
+ # The following line is provided for convenience purposes. It has the downside
17
+ # of increasing the boot-up time by auto-requiring all files in the support
18
+ # directory. Alternatively, in the individual `*_spec.rb` files, manually
19
+ # require only the support files necessary.
20
+ #
21
+ # Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
22
+
23
+ # Checks for pending migrations before tests are run.
24
+ # If you are not using ActiveRecord, you can remove this line.
25
+ ActiveRecord::Migration.maintain_test_schema!
26
+
27
+ RSpec.configure do |config|
28
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
29
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
30
+
31
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
32
+ # examples within a transaction, remove the following line or assign false
33
+ # instead of true.
34
+ config.use_transactional_fixtures = true
35
+
36
+ # RSpec Rails can automatically mix in different behaviours to your tests
37
+ # based on their file location, for example enabling you to call `get` and
38
+ # `post` in specs under `spec/controllers`.
39
+ #
40
+ # You can disable this behaviour by removing the line below, and instead
41
+ # explicitly tag your specs with their type, e.g.:
42
+ #
43
+ # RSpec.describe UsersController, :type => :controller do
44
+ # # ...
45
+ # end
46
+ #
47
+ # The different available types are documented in the features, such as in
48
+ # https://relishapp.com/rspec/rspec-rails/docs
49
+ config.infer_spec_type_from_file_location!
50
+ end