appointments 1.0.12 → 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
- data/appointments-1.0.12.gem +0 -0
- data/appointments.gemspec +1 -1
- data/lib/generators/{install → appointments/install}/install_generator.rb +0 -0
- data/lib/generators/{templates → appointments/templates}/appointment.js +0 -0
- data/lib/generators/{templates → appointments/templates}/appointments_controller.rb +0 -0
- data/lib/generators/{templates → appointments/templates}/initializer.rb +0 -0
- data/lib/generators/{templates → appointments/templates}/initializer.rb~ +0 -0
- data/lib/generators/{templates → appointments/templates}/jquery-ui-1.8.17.custom.css +0 -0
- data/lib/generators/{templates → appointments/templates}/jquery.ui.datepicker.min.js +0 -0
- data/lib/generators/{templates → appointments/templates}/jquery.ui.widget.min.js +0 -0
- data/lib/generators/{templates → appointments/templates}/match_dates.html.erb +0 -0
- data/lib/generators/{templates → appointments/templates}/new.html.erb +0 -0
- metadata +14 -15
- data/lib/generators/install_generators.rb~ +0 -0
- data/lib/install/install_generator.rb +0 -38
Binary file
|
data/appointments.gemspec
CHANGED
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "appointments"
|
5
|
-
s.version = "1.0.
|
5
|
+
s.version = "1.0.13"
|
6
6
|
s.platform = Gem::Platform::RUBY
|
7
7
|
s.summary = "Schedule appointments with Rails 3 and the jQuery-UI"
|
8
8
|
s.email = "mleveton@prepcloud.com"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appointments
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.13
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-02-19 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
16
|
-
requirement: &
|
16
|
+
requirement: &23387860 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *23387860
|
25
25
|
description: Schedule appointments with Rails 3 and the jQuery-UI
|
26
26
|
email: mleveton@prepcloud.com
|
27
27
|
executables: []
|
@@ -33,19 +33,18 @@ files:
|
|
33
33
|
- README
|
34
34
|
- README.rdoc
|
35
35
|
- Rakefile
|
36
|
+
- appointments-1.0.12.gem
|
36
37
|
- appointments.gemspec
|
37
|
-
- lib/generators/install/install_generator.rb
|
38
|
-
- lib/generators/
|
39
|
-
- lib/generators/templates/
|
40
|
-
- lib/generators/templates/
|
41
|
-
- lib/generators/templates/initializer.rb
|
42
|
-
- lib/generators/templates/
|
43
|
-
- lib/generators/templates/jquery
|
44
|
-
- lib/generators/templates/jquery.ui.
|
45
|
-
- lib/generators/templates/
|
46
|
-
- lib/generators/templates/
|
47
|
-
- lib/generators/templates/new.html.erb
|
48
|
-
- lib/install/install_generator.rb
|
38
|
+
- lib/generators/appointments/install/install_generator.rb
|
39
|
+
- lib/generators/appointments/templates/appointment.js
|
40
|
+
- lib/generators/appointments/templates/appointments_controller.rb
|
41
|
+
- lib/generators/appointments/templates/initializer.rb
|
42
|
+
- lib/generators/appointments/templates/initializer.rb~
|
43
|
+
- lib/generators/appointments/templates/jquery-ui-1.8.17.custom.css
|
44
|
+
- lib/generators/appointments/templates/jquery.ui.datepicker.min.js
|
45
|
+
- lib/generators/appointments/templates/jquery.ui.widget.min.js
|
46
|
+
- lib/generators/appointments/templates/match_dates.html.erb
|
47
|
+
- lib/generators/appointments/templates/new.html.erb
|
49
48
|
- test/test_appointments.rb
|
50
49
|
homepage: https://github.com/Leveton/appointments
|
51
50
|
licenses: []
|
File without changes
|
@@ -1,38 +0,0 @@
|
|
1
|
-
module Appointments
|
2
|
-
class InstallGenerator < Rails::Generators::Base
|
3
|
-
source_root File.expand_path("../templates", __FILE__)
|
4
|
-
|
5
|
-
desc "Creates an appointment initializer and copies locale files to your application."
|
6
|
-
class_option :orm
|
7
|
-
|
8
|
-
def add_model
|
9
|
-
template "appointment.rb", "app/models/appointment.rb"
|
10
|
-
end
|
11
|
-
|
12
|
-
def add_view
|
13
|
-
template "new.html.erb", "app/views/appointments/new.html.erb"
|
14
|
-
end
|
15
|
-
|
16
|
-
def add_stub_view
|
17
|
-
template "match_dates.html.erb", "app/views/appointments/match_dates.html.erb"
|
18
|
-
end
|
19
|
-
|
20
|
-
def add_controller
|
21
|
-
template "appointments_controller.rb", "app/controllers/appointmentss_controller.rb"
|
22
|
-
end
|
23
|
-
|
24
|
-
def add_javascripts
|
25
|
-
template "jquery.ui.datepicker.min.js", "public/jquery.ui.datepicker.min.js"
|
26
|
-
template "jquery.ui.widget.min.js", "public/jquery.ui.widget.min.js"
|
27
|
-
end
|
28
|
-
|
29
|
-
def add_stylesheets
|
30
|
-
template "jquery-ui-1.8.17.custom.css", "public/jquery-ui-1.8.17.custom.css"
|
31
|
-
end
|
32
|
-
|
33
|
-
def add_captivate_routes
|
34
|
-
match_dates = "match 'appointments/match_dates' => 'appointments#match_dates'"
|
35
|
-
route match_dates
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|