fullcalendar_engine 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9742e1b21b73c19987724ce800930dbfa237e40c
4
+ data.tar.gz: e5d0596c823d4f58c4fd743b33bcfdba8ddc9bd2
5
+ SHA512:
6
+ metadata.gz: 01153133485e101a74f4d65fbd1cca10b17c1a234787623ea80febd531a62069c10962ad21581e44eaec78272ae440b6a6e10fdef1df2071a331568214974621
7
+ data.tar.gz: caabf0750fd7c4a862983337f35fa9ff4af531f05ff6cd050f63404b0d42efb3fb03d2b738b9b424606a2e41bbb7a2051a8593b506a62f3435bf4046a049debf
@@ -1,3 +1,3 @@
1
1
  module FullcalendarEngine
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
@@ -2,14 +2,26 @@ module FullcalendarEngine
2
2
  module Generators
3
3
  class InstallGenerator < Rails::Generators::Base
4
4
 
5
- class_option :auto_run_migrations, :type => :boolean, :default => false
5
+ class_option :auto_run_migrations, type: :boolean, default: false
6
+
7
+ ASSET_BASE_PATH = 'app/assets'
8
+ JS_BASE_PATH = "#{ASSET_BASE_PATH}/javascripts"
9
+ CSS_BASE_PATH = "#{ASSET_BASE_PATH}/stylesheets"
6
10
 
7
11
  def add_javascripts
8
- append_file 'app/assets/javascripts/application.js', "//= require fullcalendar_engine/application\n"
12
+ if File.exist?("#{JS_BASE_PATH}/application.js")
13
+ append_file "#{JS_BASE_PATH}/application.js", "//= require fullcalendar_engine/application\n"
14
+ elsif File.exist?("#{JS_BASE_PATH}/application.js.coffee")
15
+ append_file "#{JS_BASE_PATH}/application.js.coffee", "//= require fullcalendar_engine/application\n"
16
+ end
9
17
  end
10
18
 
11
19
  def add_stylesheets
12
- inject_into_file 'app/assets/stylesheets/application.css', " *= require fullcalendar_engine/application\n", :before => /\*\//, :verbose => true
20
+ if File.exist?("#{CSS_BASE_PATH}/application.css")
21
+ inject_into_file "#{CSS_BASE_PATH}/application.css", " *= require fullcalendar_engine/application\n", :before => /\*\//, :verbose => true
22
+ elsif File.exist?("#{CSS_BASE_PATH}/application.css.scss")
23
+ inject_into_file "#{CSS_BASE_PATH}/application.css.scss", " *= require fullcalendar_engine/application\n", :before => /\*\//, :verbose => true
24
+ end
13
25
  end
14
26
 
15
27
  def add_migrations
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fullcalendar_engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
5
- prerelease:
4
+ version: 1.0.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Mohit Bansal
@@ -11,22 +10,20 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2014-03-03 00:00:00.000000000 Z
13
+ date: 2014-04-19 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: rails
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
- - - ! '>='
19
+ - - ">="
22
20
  - !ruby/object:Gem::Version
23
21
  version: 4.0.0
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
- - - ! '>='
26
+ - - ">="
30
27
  - !ruby/object:Gem::Version
31
28
  version: 4.0.0
32
29
  description: Engine Implementation of jQuery Full Calendar
@@ -36,92 +33,91 @@ executables: []
36
33
  extensions: []
37
34
  extra_rdoc_files: []
38
35
  files:
39
- - app/assets/stylesheets/fullcalendar_engine/jquery-ui-1.10.3.custom.css
40
- - app/assets/stylesheets/fullcalendar_engine/fullcalendar.css
36
+ - MIT-LICENSE
37
+ - Rakefile
38
+ - app/assets/javascripts/fullcalendar_engine/application.js
39
+ - app/assets/javascripts/fullcalendar_engine/events.js.erb
40
+ - app/assets/javascripts/fullcalendar_engine/fullcalendar.js
41
+ - app/assets/javascripts/fullcalendar_engine/gcal.js
42
+ - app/assets/javascripts/fullcalendar_engine/jquery-ui-1.10.3.custom.min.js
41
43
  - app/assets/stylesheets/fullcalendar_engine/application.css
42
- - app/assets/stylesheets/fullcalendar_engine/style.css
43
- - app/assets/stylesheets/fullcalendar_engine/images/ui-bg_glass_100_fdf5ce_1x400.png
44
- - app/assets/stylesheets/fullcalendar_engine/images/ui-icons_ffffff_256x240.png
45
- - app/assets/stylesheets/fullcalendar_engine/images/ui-icons_228ef1_256x240.png
44
+ - app/assets/stylesheets/fullcalendar_engine/fullcalendar.css
45
+ - app/assets/stylesheets/fullcalendar_engine/images/animated-overlay.gif
46
+ - app/assets/stylesheets/fullcalendar_engine/images/ui-bg_diagonals-thick_18_b81900_40x40.png
47
+ - app/assets/stylesheets/fullcalendar_engine/images/ui-bg_diagonals-thick_20_666666_40x40.png
46
48
  - app/assets/stylesheets/fullcalendar_engine/images/ui-bg_flat_10_000000_40x100.png
47
- - app/assets/stylesheets/fullcalendar_engine/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
48
- - app/assets/stylesheets/fullcalendar_engine/images/ui-bg_glass_65_ffffff_1x400.png
49
49
  - app/assets/stylesheets/fullcalendar_engine/images/ui-bg_glass_100_f6f6f6_1x400.png
50
- - app/assets/stylesheets/fullcalendar_engine/images/ui-icons_222222_256x240.png
51
- - app/assets/stylesheets/fullcalendar_engine/images/ui-icons_ffd27a_256x240.png
52
- - app/assets/stylesheets/fullcalendar_engine/images/animated-overlay.gif
50
+ - app/assets/stylesheets/fullcalendar_engine/images/ui-bg_glass_100_fdf5ce_1x400.png
51
+ - app/assets/stylesheets/fullcalendar_engine/images/ui-bg_glass_65_ffffff_1x400.png
53
52
  - app/assets/stylesheets/fullcalendar_engine/images/ui-bg_gloss-wave_35_f6a828_500x100.png
54
- - app/assets/stylesheets/fullcalendar_engine/images/ui-icons_ef8c08_256x240.png
55
- - app/assets/stylesheets/fullcalendar_engine/images/ui-bg_diagonals-thick_18_b81900_40x40.png
53
+ - app/assets/stylesheets/fullcalendar_engine/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
56
54
  - app/assets/stylesheets/fullcalendar_engine/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
57
- - app/assets/stylesheets/fullcalendar_engine/images/ui-bg_diagonals-thick_20_666666_40x40.png
58
- - app/assets/javascripts/fullcalendar_engine/jquery-ui-1.10.3.custom.min.js
59
- - app/assets/javascripts/fullcalendar_engine/fullcalendar.js
60
- - app/assets/javascripts/fullcalendar_engine/application.js
61
- - app/assets/javascripts/fullcalendar_engine/gcal.js
62
- - app/assets/javascripts/fullcalendar_engine/events.js.erb
63
- - app/models/fullcalendar_engine/event_series.rb
64
- - app/models/fullcalendar_engine/event.rb
65
- - app/controllers/fullcalendar_engine/events_controller.rb
55
+ - app/assets/stylesheets/fullcalendar_engine/images/ui-icons_222222_256x240.png
56
+ - app/assets/stylesheets/fullcalendar_engine/images/ui-icons_228ef1_256x240.png
57
+ - app/assets/stylesheets/fullcalendar_engine/images/ui-icons_ef8c08_256x240.png
58
+ - app/assets/stylesheets/fullcalendar_engine/images/ui-icons_ffd27a_256x240.png
59
+ - app/assets/stylesheets/fullcalendar_engine/images/ui-icons_ffffff_256x240.png
60
+ - app/assets/stylesheets/fullcalendar_engine/jquery-ui-1.10.3.custom.css
61
+ - app/assets/stylesheets/fullcalendar_engine/style.css
66
62
  - app/controllers/fullcalendar_engine/application_controller.rb
67
- - app/views/fullcalendar_engine/events/new.js.erb
68
- - app/views/fullcalendar_engine/events/_form.html.erb
63
+ - app/controllers/fullcalendar_engine/events_controller.rb
64
+ - app/models/fullcalendar_engine/event.rb
65
+ - app/models/fullcalendar_engine/event_series.rb
69
66
  - app/views/fullcalendar_engine/events/_edit_form.html.erb
67
+ - app/views/fullcalendar_engine/events/_form.html.erb
70
68
  - app/views/fullcalendar_engine/events/index.html.erb
71
- - config/routes.rb
69
+ - app/views/fullcalendar_engine/events/new.js.erb
72
70
  - config/full-calendar.yml.dummy
73
- - config/initializers/constants.rb
74
71
  - config/initializers/configuration.rb
72
+ - config/initializers/constants.rb
73
+ - config/routes.rb
75
74
  - db/migrate/20131203105320_create_fullcalendar_engine_events.rb
76
75
  - db/migrate/20131203105529_create_fullcalendar_engine_event_series.rb
77
- - lib/generators/fullcalendar_engine/install/install_generator.rb
76
+ - lib/fullcalendar_engine.rb
78
77
  - lib/fullcalendar_engine/engine.rb
79
78
  - lib/fullcalendar_engine/version.rb
79
+ - lib/generators/fullcalendar_engine/install/install_generator.rb
80
80
  - lib/tasks/fullcalendar_engine_tasks.rake
81
- - lib/fullcalendar_engine.rb
82
- - MIT-LICENSE
83
- - Rakefile
84
- - test/test_helper.rb
85
- - test/fixtures/fullcalendar_engine/events.yml
86
- - test/fixtures/fullcalendar_engine/event_series.yml
87
- - test/models/fullcalendar_engine/event_test.rb
88
- - test/models/fullcalendar_engine/event_series_test.rb
89
81
  - test/controllers/fullcalendar_engine/events_controller_test.rb
90
- - test/integration/navigation_test.rb
91
- - test/helpers/fullcalendar_engine/events_helper_test.rb
82
+ - test/fixtures/fullcalendar_engine/event_series.yml
83
+ - test/fixtures/fullcalendar_engine/events.yml
92
84
  - test/fullcalendar_engine_test.rb
85
+ - test/helpers/fullcalendar_engine/events_helper_test.rb
86
+ - test/integration/navigation_test.rb
87
+ - test/models/fullcalendar_engine/event_series_test.rb
88
+ - test/models/fullcalendar_engine/event_test.rb
89
+ - test/test_helper.rb
93
90
  homepage: http://vinsol.com
94
91
  licenses:
95
92
  - MIT
93
+ metadata: {}
96
94
  post_install_message:
97
95
  rdoc_options: []
98
96
  require_paths:
99
97
  - lib
100
98
  required_ruby_version: !ruby/object:Gem::Requirement
101
- none: false
102
99
  requirements:
103
- - - ! '>='
100
+ - - ">="
104
101
  - !ruby/object:Gem::Version
105
102
  version: '0'
106
103
  required_rubygems_version: !ruby/object:Gem::Requirement
107
- none: false
108
104
  requirements:
109
- - - ! '>='
105
+ - - ">="
110
106
  - !ruby/object:Gem::Version
111
107
  version: '0'
112
108
  requirements: []
113
109
  rubyforge_project:
114
- rubygems_version: 1.8.25
110
+ rubygems_version: 2.2.2
115
111
  signing_key:
116
- specification_version: 3
112
+ specification_version: 4
117
113
  summary: Engine Implementation of jQuery Full Calendar
118
114
  test_files:
119
- - test/test_helper.rb
115
+ - test/helpers/fullcalendar_engine/events_helper_test.rb
120
116
  - test/fixtures/fullcalendar_engine/events.yml
121
117
  - test/fixtures/fullcalendar_engine/event_series.yml
122
- - test/models/fullcalendar_engine/event_test.rb
123
- - test/models/fullcalendar_engine/event_series_test.rb
124
- - test/controllers/fullcalendar_engine/events_controller_test.rb
125
118
  - test/integration/navigation_test.rb
126
- - test/helpers/fullcalendar_engine/events_helper_test.rb
127
119
  - test/fullcalendar_engine_test.rb
120
+ - test/controllers/fullcalendar_engine/events_controller_test.rb
121
+ - test/test_helper.rb
122
+ - test/models/fullcalendar_engine/event_series_test.rb
123
+ - test/models/fullcalendar_engine/event_test.rb