appointments 1.2.2 → 1.2.3

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.
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.2.2"
5
+ s.version = "1.2.3"
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"
@@ -5,7 +5,7 @@ module Appointments
5
5
  desc "Creates an appointment initializer and copies locale files to your application."
6
6
  class_option :orm
7
7
 
8
- def add_captivate_routes
8
+ def add_routes
9
9
  resources = "resources :appointments"
10
10
  route resources
11
11
  end
@@ -14,6 +14,10 @@ module Appointments
14
14
  template "appointment.rb", "app/models/appointment.rb"
15
15
  end
16
16
 
17
+ def add_controller
18
+ template "appointments_controller.rb", "app/controllers/appointments_controller.rb"
19
+ end
20
+
17
21
  def add_view
18
22
  template "new.html.erb", "app/views/appointments/new.html.erb"
19
23
  end
@@ -22,10 +26,6 @@ module Appointments
22
26
  template "match_dates.html.erb", "app/views/appointments/match_dates.html.erb"
23
27
  end
24
28
 
25
- def add_controller
26
- template "appointments_controller.rb", "app/controllers/appointments_controller.rb"
27
- end
28
-
29
29
  def add_javascripts
30
30
  template "jquery.ui.datepicker.min.js", "public/jquery.ui.datepicker.min.js"
31
31
  template "jquery.ui.widget.min.js", "public/jquery.ui.widget.min.js"
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.2.2
4
+ version: 1.2.3
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: &12112800 !ruby/object:Gem::Requirement
16
+ requirement: &13583500 !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: *12112800
24
+ version_requirements: *13583500
25
25
  description: Schedule appointments with Rails 3 and the jQuery-UI
26
26
  email: mleveton@prepcloud.com
27
27
  executables: []
@@ -33,7 +33,7 @@ files:
33
33
  - README
34
34
  - README.rdoc
35
35
  - Rakefile
36
- - appointments-1.2.1.gem
36
+ - appointments-1.2.2.gem
37
37
  - appointments.gemspec
38
38
  - lib/generators/appointments/install/install_generator.rb
39
39
  - lib/generators/appointments/templates/appointment.js