calendar_nike 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/Rakefile +0 -13
- data/lib/calendar_nike.rb +0 -2
- data/lib/calendar_nike/version.rb +1 -1
- data/lib/generators/calendar/USAGE +8 -0
- data/lib/generators/calendar/install_generator.rb +17 -0
- data/{app/assets/stylesheets/calendar_nike → lib/generators/calendar/templates}/calendar.css +15 -6
- data/lib/generators/calendar/templates/calendar.rb +33 -0
- data/lib/generators/calendar/templates/calendar_helper.rb +82 -0
- metadata +12 -141
- data/README.rdoc +0 -3
- data/app/assets/javascripts/calendar_nike/application.js +0 -13
- data/app/assets/javascripts/calendar_nike/calendar.js +0 -2
- data/app/assets/stylesheets/calendar_nike/application.css +0 -29
- data/app/controllers/calendar_nike/application_controller.rb +0 -4
- data/app/controllers/calendar_nike/calendar_controller.rb +0 -31
- data/app/helpers/calendar_nike/application_helper.rb +0 -4
- data/app/helpers/calendar_nike/calendar_helper.rb +0 -4
- data/app/views/calendar_nike/calendar/_month.html.erb +0 -13
- data/app/views/calendar_nike/calendar/_weeks.html.erb +0 -13
- data/app/views/calendar_nike/calendar/_year.html.erb +0 -13
- data/app/views/calendar_nike/calendar/index.html.erb +0 -51
- data/app/views/layouts/calendar_nike/application.html.erb +0 -14
- data/config/routes.rb +0 -7
- data/lib/calendar_nike/engine.rb +0 -5
- data/test/calendar_nike_test.rb +0 -7
- data/test/controllers/calendar_nike/calendar_controller_test.rb +0 -9
- data/test/dummy/README.rdoc +0 -28
- data/test/dummy/Rakefile +0 -6
- data/test/dummy/app/assets/javascripts/application.js +0 -13
- data/test/dummy/app/assets/stylesheets/application.css +0 -15
- data/test/dummy/app/controllers/application_controller.rb +0 -5
- data/test/dummy/app/helpers/application_helper.rb +0 -2
- data/test/dummy/app/views/layouts/application.html.erb +0 -14
- data/test/dummy/bin/bundle +0 -3
- data/test/dummy/bin/rails +0 -4
- data/test/dummy/bin/rake +0 -4
- data/test/dummy/config.ru +0 -4
- data/test/dummy/config/application.rb +0 -23
- data/test/dummy/config/boot.rb +0 -5
- data/test/dummy/config/database.yml +0 -25
- data/test/dummy/config/environment.rb +0 -5
- data/test/dummy/config/environments/development.rb +0 -37
- data/test/dummy/config/environments/production.rb +0 -82
- data/test/dummy/config/environments/test.rb +0 -39
- data/test/dummy/config/initializers/assets.rb +0 -8
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
- data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/dummy/config/initializers/inflections.rb +0 -16
- data/test/dummy/config/initializers/mime_types.rb +0 -4
- data/test/dummy/config/initializers/session_store.rb +0 -3
- data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy/config/locales/en.yml +0 -23
- data/test/dummy/config/routes.rb +0 -4
- data/test/dummy/config/secrets.yml +0 -22
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -237
- data/test/dummy/public/404.html +0 -67
- data/test/dummy/public/422.html +0 -67
- data/test/dummy/public/500.html +0 -66
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0019c0827263ad81b43f760637a8961f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/05c6b5493b23cd3e60c5eafade9c6f07 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/06958d6c49ac131139b8ec8cebd747f5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/06e9966ebb030547fb0782657ae454cb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0799b62749835bafbf6234137532f058 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3dca9bad775eb97606214f7ddcf6e5cd +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/43941a94299df73424353d1f25c4ab2e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7e75a730c57018ade57b6872c4dd1cd7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/828e2f99f560a5df601692ced6ac88d5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9bc658079d5bb5b10c1fbabdb691cc54 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ca3a1c57400802905035ab3c144edbb3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/de3d9de2c571faaed43d508f683cca61 +0 -0
- data/test/helpers/calendar_nike/calendar_helper_test.rb +0 -6
- data/test/integration/navigation_test.rb +0 -10
- data/test/test_helper.rb +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1eb0ef5581c9ded22dc7612b58f3cc4a2684df7
|
4
|
+
data.tar.gz: 258b16621f1d952e06ce581e570cc83ced438acd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12c765c012707cf0aa1ef9f4edd5eec119916e3f40f4f9297ece892095e4e1b32a89a0e266626057585fe37ba7f34873cad67d050a044a1e5a07836e17f27a80
|
7
|
+
data.tar.gz: 9cd9ef3db950f9275a2dd0ad12e496755ac57479eb233f351ed066eb0e7caf4382d06cdcd230513c8e8a33b3fb91e5b94adaead98bf555b03a8f2e28ab3e1d79
|
data/MIT-LICENSE
CHANGED
data/Rakefile
CHANGED
@@ -14,21 +14,8 @@ RDoc::Task.new(:rdoc) do |rdoc|
|
|
14
14
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
15
15
|
end
|
16
16
|
|
17
|
-
APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
|
18
|
-
load 'rails/tasks/engine.rake'
|
19
17
|
|
20
18
|
|
21
19
|
|
22
20
|
Bundler::GemHelper.install_tasks
|
23
21
|
|
24
|
-
require 'rake/testtask'
|
25
|
-
|
26
|
-
Rake::TestTask.new(:test) do |t|
|
27
|
-
t.libs << 'lib'
|
28
|
-
t.libs << 'test'
|
29
|
-
t.pattern = 'test/**/*_test.rb'
|
30
|
-
t.verbose = false
|
31
|
-
end
|
32
|
-
|
33
|
-
|
34
|
-
task default: :test
|
data/lib/calendar_nike.rb
CHANGED
@@ -0,0 +1,17 @@
|
|
1
|
+
module Calendar
|
2
|
+
class InstallGenerator < Rails::Generators::Base
|
3
|
+
source_root File.expand_path('../templates', __FILE__)
|
4
|
+
|
5
|
+
def copy_models
|
6
|
+
copy_file "calendar.rb", "app/models/calendar.rb"
|
7
|
+
end
|
8
|
+
|
9
|
+
def copy_helpers
|
10
|
+
copy_file "calendar_helper.rb", "app/helpers/calendar_helper.rb"
|
11
|
+
end
|
12
|
+
|
13
|
+
def copy_assets
|
14
|
+
copy_file "calendar.css", "app/assets/stylesheets/calendar.css"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
data/{app/assets/stylesheets/calendar_nike → lib/generators/calendar/templates}/calendar.css
RENAMED
@@ -1,7 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
a, a:active, a:visited { color: #000; text-decoration: none; }
|
2
|
+
|
3
|
+
a:hover { color: #000; text-decoration: underline; }
|
4
|
+
|
5
|
+
.clear { clear: both; }
|
6
|
+
|
7
|
+
.text-center { text-align: center; }
|
8
|
+
|
9
|
+
.last { float: left; }
|
10
|
+
|
11
|
+
.next { float: right; }
|
5
12
|
|
6
13
|
.calendar-container { width: 98%; height: 98%; padding: 1%; border: 1px solid #E5E5E5; background: #F5F5F5; text-align: center; margin: 0 auto; }
|
7
14
|
|
@@ -19,6 +26,8 @@
|
|
19
26
|
|
20
27
|
.calendar-day { width: 4%; padding: 4%; margin: 1%; background: #FFF; text-align: center; float: left; }
|
21
28
|
|
22
|
-
.calendar-
|
29
|
+
.calendar-day:hover { width: 4%; padding: 4%; margin: 1%; background: #F5F5F5; text-align: center; float: left; }
|
30
|
+
|
31
|
+
.calendar-today { width: 4%; padding: 4%; margin: 1%; background: #F5F5F5; text-align: center; float: left; }
|
23
32
|
|
24
|
-
.calendar-nil-
|
33
|
+
.calendar-nil-day { width: 4%; padding: 4%; margin: 1%; background: #F5F5F5; text-align: center; float: left; }
|
@@ -0,0 +1,33 @@
|
|
1
|
+
class Calendar
|
2
|
+
|
3
|
+
attr_accessor :date
|
4
|
+
attr_accessor :day
|
5
|
+
attr_accessor :nil_day
|
6
|
+
|
7
|
+
def initialize date = DateTime.now
|
8
|
+
self.date = date.to_date
|
9
|
+
self.day = 1
|
10
|
+
self.nil_day = 0
|
11
|
+
end
|
12
|
+
|
13
|
+
def today
|
14
|
+
DateTime.now
|
15
|
+
end
|
16
|
+
|
17
|
+
def days_in_month
|
18
|
+
[nil, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
|
19
|
+
end
|
20
|
+
|
21
|
+
def nil_days_in_month
|
22
|
+
self.date.beginning_of_month.wday
|
23
|
+
end
|
24
|
+
|
25
|
+
def list_weeks
|
26
|
+
["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
|
27
|
+
end
|
28
|
+
|
29
|
+
def list_months
|
30
|
+
[nil, "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
|
31
|
+
end
|
32
|
+
|
33
|
+
end
|
@@ -0,0 +1,82 @@
|
|
1
|
+
module CalendarHelper
|
2
|
+
|
3
|
+
def calendar_view calendar_instance
|
4
|
+
@calendar_instance = calendar_instance
|
5
|
+
view = calendar_start + calendar_header + calendar_days + calendar_end
|
6
|
+
view.html_safe
|
7
|
+
end
|
8
|
+
|
9
|
+
def calendar_start
|
10
|
+
"<div class=\"calendar-container\">".html_safe
|
11
|
+
end
|
12
|
+
|
13
|
+
def calendar_end
|
14
|
+
"<div class=\"clear\"></div></div>".html_safe
|
15
|
+
end
|
16
|
+
|
17
|
+
def calendar_header
|
18
|
+
"
|
19
|
+
<div class=\"calendar_header\">
|
20
|
+
#{calendar_year}
|
21
|
+
#{calendar_month}
|
22
|
+
</div>
|
23
|
+
#{calendar_weeks}
|
24
|
+
".html_safe
|
25
|
+
end
|
26
|
+
|
27
|
+
def calendar_year
|
28
|
+
"
|
29
|
+
<div class=\"calendar-year\">
|
30
|
+
<div class=\"last\">
|
31
|
+
#{link_to "<", date: @calendar_instance.date.last_year.strftime("%Y-%m-%d")}
|
32
|
+
</div>
|
33
|
+
#{@calendar_instance.date.year}
|
34
|
+
<div class=\"next\">
|
35
|
+
#{link_to ">", date: @calendar_instance.date.next_year.strftime("%Y-%m-%d")}
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
".html_safe
|
39
|
+
end
|
40
|
+
|
41
|
+
def calendar_month
|
42
|
+
"
|
43
|
+
<div class=\"calendar-month\">
|
44
|
+
<div class=\"last\">
|
45
|
+
#{link_to "<", date: @calendar_instance.date.last_month.strftime("%Y-%m-%d")}
|
46
|
+
</div>
|
47
|
+
#{@calendar_instance.list_months[@calendar_instance.date.month]}
|
48
|
+
<div class=\"next\">
|
49
|
+
#{link_to ">", date: @calendar_instance.date.next_month.strftime("%Y-%m-%d")}
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
".html_safe
|
53
|
+
end
|
54
|
+
|
55
|
+
def calendar_weeks
|
56
|
+
view = "<div class=\"calendar-weeks\">"
|
57
|
+
@calendar_instance.list_weeks.each do |week|
|
58
|
+
view += "<div class=\"calendar-week\">#{week}</div>"
|
59
|
+
end
|
60
|
+
view += "</div>"
|
61
|
+
view.html_safe
|
62
|
+
end
|
63
|
+
|
64
|
+
def calendar_days
|
65
|
+
view = "<div class=\"calendar-days\">"
|
66
|
+
while @calendar_instance.nil_day < @calendar_instance.nil_days_in_month
|
67
|
+
view += "<div class=\"calendar-nil-day\"> </div>"
|
68
|
+
@calendar_instance.nil_day += 1
|
69
|
+
end
|
70
|
+
while @calendar_instance.day < @calendar_instance.days_in_month[@calendar_instance.date.month]
|
71
|
+
if DateTime.new(@calendar_instance.date.year, @calendar_instance.date.month, @calendar_instance.day).strftime("%Y-%m-%d") == @calendar_instance.today.strftime("%Y-%m-%d")
|
72
|
+
view += "<div class=\"calendar-today\">#{@calendar_instance.day}</div>"
|
73
|
+
else
|
74
|
+
view += "<div class=\"calendar-day\">#{@calendar_instance.day}</div>"
|
75
|
+
end
|
76
|
+
@calendar_instance.day += 1
|
77
|
+
end
|
78
|
+
view += "</div>"
|
79
|
+
view.html_safe
|
80
|
+
end
|
81
|
+
|
82
|
+
end
|
metadata
CHANGED
@@ -1,30 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calendar_nike
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pedrinhok
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
12
|
-
dependencies:
|
13
|
-
|
14
|
-
name: rails
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 4.1.4
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 4.1.4
|
27
|
-
description: Gem CalendarNike provides a calendar view.
|
11
|
+
date: 2014-08-15 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: CalendarNike provides a simple calendar.
|
28
14
|
email:
|
29
15
|
- pedrokayser00@gmail.com
|
30
16
|
executables: []
|
@@ -32,79 +18,16 @@ extensions: []
|
|
32
18
|
extra_rdoc_files: []
|
33
19
|
files:
|
34
20
|
- MIT-LICENSE
|
35
|
-
- README.rdoc
|
36
21
|
- Rakefile
|
37
|
-
- app/assets/javascripts/calendar_nike/application.js
|
38
|
-
- app/assets/javascripts/calendar_nike/calendar.js
|
39
|
-
- app/assets/stylesheets/calendar_nike/application.css
|
40
|
-
- app/assets/stylesheets/calendar_nike/calendar.css
|
41
|
-
- app/controllers/calendar_nike/application_controller.rb
|
42
|
-
- app/controllers/calendar_nike/calendar_controller.rb
|
43
|
-
- app/helpers/calendar_nike/application_helper.rb
|
44
|
-
- app/helpers/calendar_nike/calendar_helper.rb
|
45
|
-
- app/views/calendar_nike/calendar/_month.html.erb
|
46
|
-
- app/views/calendar_nike/calendar/_weeks.html.erb
|
47
|
-
- app/views/calendar_nike/calendar/_year.html.erb
|
48
|
-
- app/views/calendar_nike/calendar/index.html.erb
|
49
|
-
- app/views/layouts/calendar_nike/application.html.erb
|
50
|
-
- config/routes.rb
|
51
22
|
- lib/calendar_nike.rb
|
52
|
-
- lib/calendar_nike/engine.rb
|
53
23
|
- lib/calendar_nike/version.rb
|
24
|
+
- lib/generators/calendar/USAGE
|
25
|
+
- lib/generators/calendar/install_generator.rb
|
26
|
+
- lib/generators/calendar/templates/calendar.css
|
27
|
+
- lib/generators/calendar/templates/calendar.rb
|
28
|
+
- lib/generators/calendar/templates/calendar_helper.rb
|
54
29
|
- lib/tasks/calendar_nike_tasks.rake
|
55
|
-
|
56
|
-
- test/controllers/calendar_nike/calendar_controller_test.rb
|
57
|
-
- test/dummy/README.rdoc
|
58
|
-
- test/dummy/Rakefile
|
59
|
-
- test/dummy/app/assets/javascripts/application.js
|
60
|
-
- test/dummy/app/assets/stylesheets/application.css
|
61
|
-
- test/dummy/app/controllers/application_controller.rb
|
62
|
-
- test/dummy/app/helpers/application_helper.rb
|
63
|
-
- test/dummy/app/views/layouts/application.html.erb
|
64
|
-
- test/dummy/bin/bundle
|
65
|
-
- test/dummy/bin/rails
|
66
|
-
- test/dummy/bin/rake
|
67
|
-
- test/dummy/config.ru
|
68
|
-
- test/dummy/config/application.rb
|
69
|
-
- test/dummy/config/boot.rb
|
70
|
-
- test/dummy/config/database.yml
|
71
|
-
- test/dummy/config/environment.rb
|
72
|
-
- test/dummy/config/environments/development.rb
|
73
|
-
- test/dummy/config/environments/production.rb
|
74
|
-
- test/dummy/config/environments/test.rb
|
75
|
-
- test/dummy/config/initializers/assets.rb
|
76
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
77
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
78
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
79
|
-
- test/dummy/config/initializers/inflections.rb
|
80
|
-
- test/dummy/config/initializers/mime_types.rb
|
81
|
-
- test/dummy/config/initializers/session_store.rb
|
82
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
83
|
-
- test/dummy/config/locales/en.yml
|
84
|
-
- test/dummy/config/routes.rb
|
85
|
-
- test/dummy/config/secrets.yml
|
86
|
-
- test/dummy/db/development.sqlite3
|
87
|
-
- test/dummy/log/development.log
|
88
|
-
- test/dummy/public/404.html
|
89
|
-
- test/dummy/public/422.html
|
90
|
-
- test/dummy/public/500.html
|
91
|
-
- test/dummy/public/favicon.ico
|
92
|
-
- test/dummy/tmp/cache/assets/development/sprockets/0019c0827263ad81b43f760637a8961f
|
93
|
-
- test/dummy/tmp/cache/assets/development/sprockets/05c6b5493b23cd3e60c5eafade9c6f07
|
94
|
-
- test/dummy/tmp/cache/assets/development/sprockets/06958d6c49ac131139b8ec8cebd747f5
|
95
|
-
- test/dummy/tmp/cache/assets/development/sprockets/06e9966ebb030547fb0782657ae454cb
|
96
|
-
- test/dummy/tmp/cache/assets/development/sprockets/0799b62749835bafbf6234137532f058
|
97
|
-
- test/dummy/tmp/cache/assets/development/sprockets/3dca9bad775eb97606214f7ddcf6e5cd
|
98
|
-
- test/dummy/tmp/cache/assets/development/sprockets/43941a94299df73424353d1f25c4ab2e
|
99
|
-
- test/dummy/tmp/cache/assets/development/sprockets/7e75a730c57018ade57b6872c4dd1cd7
|
100
|
-
- test/dummy/tmp/cache/assets/development/sprockets/828e2f99f560a5df601692ced6ac88d5
|
101
|
-
- test/dummy/tmp/cache/assets/development/sprockets/9bc658079d5bb5b10c1fbabdb691cc54
|
102
|
-
- test/dummy/tmp/cache/assets/development/sprockets/ca3a1c57400802905035ab3c144edbb3
|
103
|
-
- test/dummy/tmp/cache/assets/development/sprockets/de3d9de2c571faaed43d508f683cca61
|
104
|
-
- test/helpers/calendar_nike/calendar_helper_test.rb
|
105
|
-
- test/integration/navigation_test.rb
|
106
|
-
- test/test_helper.rb
|
107
|
-
homepage: https://github.com/pedrinhok/CalendarNike
|
30
|
+
homepage: https://github.com/pedrinhok
|
108
31
|
licenses:
|
109
32
|
- MIT
|
110
33
|
metadata: {}
|
@@ -124,60 +47,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
47
|
version: '0'
|
125
48
|
requirements: []
|
126
49
|
rubyforge_project:
|
127
|
-
rubygems_version: 2.
|
50
|
+
rubygems_version: 2.4.1
|
128
51
|
signing_key:
|
129
52
|
specification_version: 4
|
130
53
|
summary: ''
|
131
|
-
test_files:
|
132
|
-
- test/calendar_nike_test.rb
|
133
|
-
- test/helpers/calendar_nike/calendar_helper_test.rb
|
134
|
-
- test/integration/navigation_test.rb
|
135
|
-
- test/test_helper.rb
|
136
|
-
- test/controllers/calendar_nike/calendar_controller_test.rb
|
137
|
-
- test/dummy/Rakefile
|
138
|
-
- test/dummy/db/development.sqlite3
|
139
|
-
- test/dummy/app/assets/stylesheets/application.css
|
140
|
-
- test/dummy/app/assets/javascripts/application.js
|
141
|
-
- test/dummy/app/helpers/application_helper.rb
|
142
|
-
- test/dummy/app/controllers/application_controller.rb
|
143
|
-
- test/dummy/app/views/layouts/application.html.erb
|
144
|
-
- test/dummy/config/database.yml
|
145
|
-
- test/dummy/config/routes.rb
|
146
|
-
- test/dummy/config/application.rb
|
147
|
-
- test/dummy/config/environments/development.rb
|
148
|
-
- test/dummy/config/environments/test.rb
|
149
|
-
- test/dummy/config/environments/production.rb
|
150
|
-
- test/dummy/config/initializers/assets.rb
|
151
|
-
- test/dummy/config/initializers/session_store.rb
|
152
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
153
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
154
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
155
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
156
|
-
- test/dummy/config/initializers/mime_types.rb
|
157
|
-
- test/dummy/config/initializers/inflections.rb
|
158
|
-
- test/dummy/config/locales/en.yml
|
159
|
-
- test/dummy/config/environment.rb
|
160
|
-
- test/dummy/config/boot.rb
|
161
|
-
- test/dummy/config/secrets.yml
|
162
|
-
- test/dummy/tmp/cache/assets/development/sprockets/05c6b5493b23cd3e60c5eafade9c6f07
|
163
|
-
- test/dummy/tmp/cache/assets/development/sprockets/0799b62749835bafbf6234137532f058
|
164
|
-
- test/dummy/tmp/cache/assets/development/sprockets/ca3a1c57400802905035ab3c144edbb3
|
165
|
-
- test/dummy/tmp/cache/assets/development/sprockets/de3d9de2c571faaed43d508f683cca61
|
166
|
-
- test/dummy/tmp/cache/assets/development/sprockets/9bc658079d5bb5b10c1fbabdb691cc54
|
167
|
-
- test/dummy/tmp/cache/assets/development/sprockets/3dca9bad775eb97606214f7ddcf6e5cd
|
168
|
-
- test/dummy/tmp/cache/assets/development/sprockets/06958d6c49ac131139b8ec8cebd747f5
|
169
|
-
- test/dummy/tmp/cache/assets/development/sprockets/828e2f99f560a5df601692ced6ac88d5
|
170
|
-
- test/dummy/tmp/cache/assets/development/sprockets/06e9966ebb030547fb0782657ae454cb
|
171
|
-
- test/dummy/tmp/cache/assets/development/sprockets/0019c0827263ad81b43f760637a8961f
|
172
|
-
- test/dummy/tmp/cache/assets/development/sprockets/7e75a730c57018ade57b6872c4dd1cd7
|
173
|
-
- test/dummy/tmp/cache/assets/development/sprockets/43941a94299df73424353d1f25c4ab2e
|
174
|
-
- test/dummy/README.rdoc
|
175
|
-
- test/dummy/public/404.html
|
176
|
-
- test/dummy/public/favicon.ico
|
177
|
-
- test/dummy/public/422.html
|
178
|
-
- test/dummy/public/500.html
|
179
|
-
- test/dummy/bin/bundle
|
180
|
-
- test/dummy/bin/rake
|
181
|
-
- test/dummy/bin/rails
|
182
|
-
- test/dummy/log/development.log
|
183
|
-
- test/dummy/config.ru
|
54
|
+
test_files: []
|
data/README.rdoc
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
-
// listed below.
|
3
|
-
//
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
-
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
-
//
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
-
// compiled file.
|
9
|
-
//
|
10
|
-
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
11
|
-
// about supported directives.
|
12
|
-
//
|
13
|
-
//= require_tree .
|
@@ -1,29 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
-
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
-
* compiled file so the styles you add here take precedence over styles defined in any styles
|
10
|
-
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
11
|
-
* file per style scope.
|
12
|
-
*
|
13
|
-
*= require_tree .
|
14
|
-
*= require_self
|
15
|
-
*/
|
16
|
-
|
17
|
-
html, body { width: 700px; font-family: Arial, Verdana; font-size: 12px; text-align: center; margin: 0 auto; }
|
18
|
-
|
19
|
-
a, a:active, a:visited { color: #000; text-decoration: none; }
|
20
|
-
|
21
|
-
a:hover { color: #000; text-decoration: underline; }
|
22
|
-
|
23
|
-
.clear { clear: both; }
|
24
|
-
|
25
|
-
.text-center { text-align: center; }
|
26
|
-
|
27
|
-
.next { float: right; }
|
28
|
-
|
29
|
-
.last { float: left; }
|