conschedule 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +154 -0
- data/Rakefile +37 -0
- data/app/assets/config/conschedule_manifest.js +2 -0
- data/app/assets/fonts/icomoon.eot +0 -0
- data/app/assets/fonts/proxima_nova_100.eot +0 -0
- data/app/assets/fonts/proxima_nova_400.eot +0 -0
- data/app/assets/fonts/proxima_nova_700.eot +0 -0
- data/app/assets/images/conschedule/chosen-sprite-small.png +0 -0
- data/app/assets/images/conschedule/chosen-sprite.png +0 -0
- data/app/assets/images/conschedule/close.png +0 -0
- data/app/assets/images/conschedule/spinner-small.gif +0 -0
- data/app/assets/images/conschedule/spinner.gif +0 -0
- data/app/assets/javascripts/conschedule/application.js +22 -0
- data/app/assets/javascripts/conschedule/calendar.js +467 -0
- data/app/assets/javascripts/conschedule/date.js +104 -0
- data/app/assets/javascripts/conschedule/form.js +53 -0
- data/app/assets/javascripts/conschedule/home.js +149 -0
- data/app/assets/javascripts/conschedule/jquery-ui-datepicker.min.js +1674 -0
- data/app/assets/javascripts/conschedule/jquery.easing.min.js +44 -0
- data/app/assets/javascripts/conschedule/jquery.validate.js +1532 -0
- data/app/assets/javascripts/conschedule/js_time_zone.js +1433 -0
- data/app/assets/javascripts/conschedule/moment-timezone.js +1209 -0
- data/app/assets/javascripts/conschedule/moment.js +4195 -0
- data/app/assets/javascripts/conschedule/schedules.js +22 -0
- data/app/assets/javascripts/conschedule/time_zones_drop_down.js +609 -0
- data/app/assets/stylesheets/conschedule/application.css +4 -0
- data/app/assets/stylesheets/conschedule/common.css +816 -0
- data/app/assets/stylesheets/conschedule/home.css +2441 -0
- data/app/assets/stylesheets/conschedule/main.css +884 -0
- data/app/assets/stylesheets/conschedule/schedules.css +4 -0
- data/app/controllers/conschedule/application_controller.rb +49 -0
- data/app/controllers/conschedule/schedules_controller.rb +125 -0
- data/app/helpers/conschedule/application_helper.rb +15 -0
- data/app/helpers/conschedule/schedules_helper.rb +43 -0
- data/app/jobs/conschedule/application_job.rb +4 -0
- data/app/mailers/conschedule/schedules_mailer.rb +46 -0
- data/app/models/conschedule/application_record.rb +5 -0
- data/app/models/conschedule/schedule.rb +63 -0
- data/app/views/conschedule/schedules/_confirmation.html.erb +38 -0
- data/app/views/conschedule/schedules/_page_one.html.erb +75 -0
- data/app/views/conschedule/schedules/_page_three.html.erb +94 -0
- data/app/views/conschedule/schedules/_page_two.html.erb +22 -0
- data/app/views/conschedule/schedules/_schedules.html.erb +122 -0
- data/app/views/conschedule/schedules/create.js.erb +11 -0
- data/app/views/conschedule/schedules/index.html.erb +123 -0
- data/app/views/conschedule/schedules/index.js.erb +3 -0
- data/app/views/conschedule/schedules/new.html.erb +11 -0
- data/app/views/conschedule/schedules_mailer/send_cancel_email_owner.html.erb +61 -0
- data/app/views/conschedule/schedules_mailer/send_cancel_email_user.html.erb +29 -0
- data/app/views/conschedule/schedules_mailer/send_confirmation_email_owner.html.erb +77 -0
- data/app/views/conschedule/schedules_mailer/send_confirmation_email_user.html.erb +30 -0
- data/app/views/kaminari/custom_theme/_first_page.html.erb +3 -0
- data/app/views/kaminari/custom_theme/_gap.html.erb +1 -0
- data/app/views/kaminari/custom_theme/_last_page.html.erb +3 -0
- data/app/views/kaminari/custom_theme/_next_page.html.erb +1 -0
- data/app/views/kaminari/custom_theme/_page.html.erb +5 -0
- data/app/views/kaminari/custom_theme/_paginator.html.erb +23 -0
- data/app/views/kaminari/custom_theme/_prev_page.html.erb +1 -0
- data/app/views/layouts/conschedule/application.html.erb +14 -0
- data/app/views/layouts/conschedule/mailer.html.erb +11 -0
- data/app/views/layouts/conschedule/schedules.html.erb +14 -0
- data/config/initializers/assets.rb +11 -0
- data/config/routes.rb +11 -0
- data/db/migrate/20160812085505_create_conschedule_schedules.rb +27 -0
- data/lib/conschedule.rb +34 -0
- data/lib/conschedule/configuration.rb +25 -0
- data/lib/conschedule/engine.rb +5 -0
- data/lib/conschedule/gem_dependencies.rb +2 -0
- data/lib/conschedule/version.rb +3 -0
- data/lib/generators/conschedule/install_generator.rb +23 -0
- data/lib/generators/conschedule/views_generator.rb +45 -0
- data/lib/generators/templates/README +40 -0
- data/lib/generators/templates/initializer.rb +25 -0
- data/lib/tasks/conschedule_tasks.rake +4 -0
- metadata +182 -0
@@ -0,0 +1,25 @@
|
|
1
|
+
Conschedule.configuration do |config|
|
2
|
+
#config.main_heading = "Contact"
|
3
|
+
#config.purpose = 'An introduction to our product'
|
4
|
+
#config.instructions = 'Learn about our product'
|
5
|
+
#config.location_details = 'Details will be provided on confirmation'
|
6
|
+
#config.system_time_zone = "Asia/Kolkata"
|
7
|
+
#define_setting :start_date, Time.now.in_time_zone(Conschedule.system_time_zone).beginning_of_year.strftime("%Y-%m-%d")
|
8
|
+
#define_setting :end_date, Time.now.in_time_zone(Conschedule.system_time_zone).end_of_year.strftime("%Y-%m-%d")
|
9
|
+
#config.available_days = ["Mon", "Tue", "Wed", "Thu", "Fri"]
|
10
|
+
#config.black_out_dates
|
11
|
+
#config.sun_timings = ["09:00", "17:00"]
|
12
|
+
#config.mon_timings = ["09:00", "17:00"]
|
13
|
+
#config.tue_timings = ["09:00", "17:00"]
|
14
|
+
#config.wed_timings = ["09:00", "17:00"]
|
15
|
+
#config.thu_timings = ["09:00", "17:00"]
|
16
|
+
#config.fri_timings = ["09:00", "17:00"]
|
17
|
+
#config.sat_timings = ["09:00", "17:00"]
|
18
|
+
#config.duration = 30
|
19
|
+
#config.from_address = "PLEASE-CHANGE-ME@example.com"
|
20
|
+
#config.send_confirmation_mail = false
|
21
|
+
#config.send_cancel_mail = false
|
22
|
+
#config.to_address = "PLEASE-CHANGE-ME@example.com"
|
23
|
+
#config.contact_name = "PLEASE-CHANGE-ME"
|
24
|
+
#config.enable_tz = true
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,182 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: conschedule
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Sakilam Sandeep
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-08-26 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 5.0.0
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 5.0.0.1
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 5.0.0
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 5.0.0.1
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: gon
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '6.1'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '6.1'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: kaminari
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 0.17.0
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 0.17.0
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: mysql2
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 0.4.4
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 0.4.4
|
75
|
+
description: Conschedule library makes it easy to integrate scheduling in your Rails
|
76
|
+
application, from RubyEffect (http://www.rubyeffect.com)
|
77
|
+
email:
|
78
|
+
- opensource@rubyeffect.com
|
79
|
+
executables: []
|
80
|
+
extensions: []
|
81
|
+
extra_rdoc_files: []
|
82
|
+
files:
|
83
|
+
- MIT-LICENSE
|
84
|
+
- README.md
|
85
|
+
- Rakefile
|
86
|
+
- app/assets/config/conschedule_manifest.js
|
87
|
+
- app/assets/fonts/icomoon.eot
|
88
|
+
- app/assets/fonts/proxima_nova_100.eot
|
89
|
+
- app/assets/fonts/proxima_nova_400.eot
|
90
|
+
- app/assets/fonts/proxima_nova_700.eot
|
91
|
+
- app/assets/images/conschedule/chosen-sprite-small.png
|
92
|
+
- app/assets/images/conschedule/chosen-sprite.png
|
93
|
+
- app/assets/images/conschedule/close.png
|
94
|
+
- app/assets/images/conschedule/spinner-small.gif
|
95
|
+
- app/assets/images/conschedule/spinner.gif
|
96
|
+
- app/assets/javascripts/conschedule/application.js
|
97
|
+
- app/assets/javascripts/conschedule/calendar.js
|
98
|
+
- app/assets/javascripts/conschedule/date.js
|
99
|
+
- app/assets/javascripts/conschedule/form.js
|
100
|
+
- app/assets/javascripts/conschedule/home.js
|
101
|
+
- app/assets/javascripts/conschedule/jquery-ui-datepicker.min.js
|
102
|
+
- app/assets/javascripts/conschedule/jquery.easing.min.js
|
103
|
+
- app/assets/javascripts/conschedule/jquery.validate.js
|
104
|
+
- app/assets/javascripts/conschedule/js_time_zone.js
|
105
|
+
- app/assets/javascripts/conschedule/moment-timezone.js
|
106
|
+
- app/assets/javascripts/conschedule/moment.js
|
107
|
+
- app/assets/javascripts/conschedule/schedules.js
|
108
|
+
- app/assets/javascripts/conschedule/time_zones_drop_down.js
|
109
|
+
- app/assets/stylesheets/conschedule/application.css
|
110
|
+
- app/assets/stylesheets/conschedule/common.css
|
111
|
+
- app/assets/stylesheets/conschedule/home.css
|
112
|
+
- app/assets/stylesheets/conschedule/main.css
|
113
|
+
- app/assets/stylesheets/conschedule/schedules.css
|
114
|
+
- app/controllers/conschedule/application_controller.rb
|
115
|
+
- app/controllers/conschedule/schedules_controller.rb
|
116
|
+
- app/helpers/conschedule/application_helper.rb
|
117
|
+
- app/helpers/conschedule/schedules_helper.rb
|
118
|
+
- app/jobs/conschedule/application_job.rb
|
119
|
+
- app/mailers/conschedule/schedules_mailer.rb
|
120
|
+
- app/models/conschedule/application_record.rb
|
121
|
+
- app/models/conschedule/schedule.rb
|
122
|
+
- app/views/conschedule/schedules/_confirmation.html.erb
|
123
|
+
- app/views/conschedule/schedules/_page_one.html.erb
|
124
|
+
- app/views/conschedule/schedules/_page_three.html.erb
|
125
|
+
- app/views/conschedule/schedules/_page_two.html.erb
|
126
|
+
- app/views/conschedule/schedules/_schedules.html.erb
|
127
|
+
- app/views/conschedule/schedules/create.js.erb
|
128
|
+
- app/views/conschedule/schedules/index.html.erb
|
129
|
+
- app/views/conschedule/schedules/index.js.erb
|
130
|
+
- app/views/conschedule/schedules/new.html.erb
|
131
|
+
- app/views/conschedule/schedules_mailer/send_cancel_email_owner.html.erb
|
132
|
+
- app/views/conschedule/schedules_mailer/send_cancel_email_user.html.erb
|
133
|
+
- app/views/conschedule/schedules_mailer/send_confirmation_email_owner.html.erb
|
134
|
+
- app/views/conschedule/schedules_mailer/send_confirmation_email_user.html.erb
|
135
|
+
- app/views/kaminari/custom_theme/_first_page.html.erb
|
136
|
+
- app/views/kaminari/custom_theme/_gap.html.erb
|
137
|
+
- app/views/kaminari/custom_theme/_last_page.html.erb
|
138
|
+
- app/views/kaminari/custom_theme/_next_page.html.erb
|
139
|
+
- app/views/kaminari/custom_theme/_page.html.erb
|
140
|
+
- app/views/kaminari/custom_theme/_paginator.html.erb
|
141
|
+
- app/views/kaminari/custom_theme/_prev_page.html.erb
|
142
|
+
- app/views/layouts/conschedule/application.html.erb
|
143
|
+
- app/views/layouts/conschedule/mailer.html.erb
|
144
|
+
- app/views/layouts/conschedule/schedules.html.erb
|
145
|
+
- config/initializers/assets.rb
|
146
|
+
- config/routes.rb
|
147
|
+
- db/migrate/20160812085505_create_conschedule_schedules.rb
|
148
|
+
- lib/conschedule.rb
|
149
|
+
- lib/conschedule/configuration.rb
|
150
|
+
- lib/conschedule/engine.rb
|
151
|
+
- lib/conschedule/gem_dependencies.rb
|
152
|
+
- lib/conschedule/version.rb
|
153
|
+
- lib/generators/conschedule/install_generator.rb
|
154
|
+
- lib/generators/conschedule/views_generator.rb
|
155
|
+
- lib/generators/templates/README
|
156
|
+
- lib/generators/templates/initializer.rb
|
157
|
+
- lib/tasks/conschedule_tasks.rake
|
158
|
+
homepage: https://github.com/rubyeffect/conschedule
|
159
|
+
licenses:
|
160
|
+
- MIT
|
161
|
+
metadata: {}
|
162
|
+
post_install_message:
|
163
|
+
rdoc_options: []
|
164
|
+
require_paths:
|
165
|
+
- lib
|
166
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
167
|
+
requirements:
|
168
|
+
- - ">="
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: '0'
|
171
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
172
|
+
requirements:
|
173
|
+
- - ">="
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: '0'
|
176
|
+
requirements: []
|
177
|
+
rubyforge_project:
|
178
|
+
rubygems_version: 2.5.1
|
179
|
+
signing_key:
|
180
|
+
specification_version: 4
|
181
|
+
summary: Conschedule library for Rails, from RubyEffect (http://www.rubyeffect.com)
|
182
|
+
test_files: []
|