calendar_view 0.0.7 → 0.0.8
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/README.markdown
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
## Introduction
|
|
2
|
-
_Calendar view_ is a rails plugin which extends application of calendar views. Got to [this page](http://todryk.pl/calendar-view) to see samples.
|
|
2
|
+
_Calendar view_ is a rails plugin which extends application of calendar views. Got to [this page](http://todryk.pl/hard-soft/calendar-view) to see samples.
|
|
3
3
|
|
|
4
4
|
## Requirements
|
|
5
5
|
|
|
@@ -7,10 +7,12 @@ Plugin was built as Rails 3 Engine plugin.
|
|
|
7
7
|
|
|
8
8
|
## Usage
|
|
9
9
|
|
|
10
|
+
### Gemfile
|
|
11
|
+
|
|
10
12
|
Add to Gemfile of application:
|
|
11
13
|
|
|
12
14
|
```ruby
|
|
13
|
-
gem "calendar_view"
|
|
15
|
+
gem "calendar_view"
|
|
14
16
|
```
|
|
15
17
|
|
|
16
18
|
than
|
|
@@ -21,6 +23,27 @@ bundle install
|
|
|
21
23
|
|
|
22
24
|
to install gem.
|
|
23
25
|
|
|
26
|
+
### Stylesheets
|
|
27
|
+
|
|
28
|
+
There are two themes current available:
|
|
29
|
+
- olive
|
|
30
|
+
- bootstrap
|
|
31
|
+
|
|
32
|
+
In Rails 3 app add import directive to Your SCSS/SASS file:
|
|
33
|
+
|
|
34
|
+
```scss
|
|
35
|
+
@import "calendar_view_bootstrap_theme"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
or
|
|
39
|
+
|
|
40
|
+
```scss
|
|
41
|
+
@import "calendar_view_olive_theme"
|
|
42
|
+
```
|
|
43
|
+
You can also customize _public/stylesheets_ using above themes.
|
|
44
|
+
|
|
45
|
+
### Views
|
|
46
|
+
|
|
24
47
|
In views of Your application add:
|
|
25
48
|
|
|
26
49
|
```ruby
|
|
@@ -46,7 +69,3 @@ In views of Your application add:
|
|
|
46
69
|
:highlight_between => Date.new(2011,12,1)..Date.new(2011,12,10) # highlight range of days
|
|
47
70
|
) %>
|
|
48
71
|
```
|
|
49
|
-
|
|
50
|
-
Customize _public/stylesheets_ and copy to Your public directory.
|
|
51
|
-
|
|
52
|
-
|
|
File without changes
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,92 +1,71 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: calendar_view
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
prerelease:
|
|
6
|
-
segments:
|
|
7
|
-
- 0
|
|
8
|
-
- 0
|
|
9
|
-
- 7
|
|
10
|
-
version: 0.0.7
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.8
|
|
5
|
+
prerelease:
|
|
11
6
|
platform: ruby
|
|
12
|
-
authors:
|
|
7
|
+
authors:
|
|
13
8
|
- Wojciech Todryk
|
|
14
9
|
autorequire:
|
|
15
10
|
bindir: bin
|
|
16
11
|
cert_chain: []
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
dependencies:
|
|
21
|
-
- !ruby/object:Gem::Dependency
|
|
12
|
+
date: 2013-03-16 00:00:00.000000000 Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
22
15
|
name: rails
|
|
23
|
-
|
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
|
25
17
|
none: false
|
|
26
|
-
requirements:
|
|
27
|
-
- -
|
|
28
|
-
- !ruby/object:Gem::Version
|
|
29
|
-
hash: 7
|
|
30
|
-
segments:
|
|
31
|
-
- 3
|
|
32
|
-
- 0
|
|
33
|
-
- 0
|
|
18
|
+
requirements:
|
|
19
|
+
- - ! '>='
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
34
21
|
version: 3.0.0
|
|
35
22
|
type: :runtime
|
|
36
|
-
|
|
23
|
+
prerelease: false
|
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
26
|
+
requirements:
|
|
27
|
+
- - ! '>='
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: 3.0.0
|
|
37
30
|
description: Extends Rails application of calendar view
|
|
38
|
-
email:
|
|
31
|
+
email:
|
|
39
32
|
- wojciech@todryk.pl
|
|
40
33
|
executables: []
|
|
41
|
-
|
|
42
34
|
extensions: []
|
|
43
|
-
|
|
44
35
|
extra_rdoc_files: []
|
|
45
|
-
|
|
46
|
-
files:
|
|
36
|
+
files:
|
|
47
37
|
- .gitignore
|
|
48
38
|
- Gemfile
|
|
49
39
|
- README.markdown
|
|
50
40
|
- Rakefile
|
|
51
|
-
- app/assets/stylesheets/
|
|
52
|
-
- app/assets/stylesheets/
|
|
41
|
+
- app/assets/stylesheets/calendar_view_bootstrap_theme.css.sass
|
|
42
|
+
- app/assets/stylesheets/calendar_view_olive_theme.css
|
|
53
43
|
- app/helpers/calendar_view_helper.rb
|
|
54
44
|
- calendar_view.gemspec
|
|
55
45
|
- lib/calendar_view.rb
|
|
56
46
|
- lib/calendar_view/version.rb
|
|
57
|
-
has_rdoc: true
|
|
58
47
|
homepage: http://todryk.pl/calendar-view
|
|
59
48
|
licenses: []
|
|
60
|
-
|
|
61
49
|
post_install_message:
|
|
62
50
|
rdoc_options: []
|
|
63
|
-
|
|
64
|
-
require_paths:
|
|
51
|
+
require_paths:
|
|
65
52
|
- lib
|
|
66
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
53
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
67
54
|
none: false
|
|
68
|
-
requirements:
|
|
69
|
-
- -
|
|
70
|
-
- !ruby/object:Gem::Version
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
- 0
|
|
74
|
-
version: "0"
|
|
75
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
55
|
+
requirements:
|
|
56
|
+
- - ! '>='
|
|
57
|
+
- !ruby/object:Gem::Version
|
|
58
|
+
version: '0'
|
|
59
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
60
|
none: false
|
|
77
|
-
requirements:
|
|
78
|
-
- -
|
|
79
|
-
- !ruby/object:Gem::Version
|
|
80
|
-
|
|
81
|
-
segments:
|
|
82
|
-
- 0
|
|
83
|
-
version: "0"
|
|
61
|
+
requirements:
|
|
62
|
+
- - ! '>='
|
|
63
|
+
- !ruby/object:Gem::Version
|
|
64
|
+
version: '0'
|
|
84
65
|
requirements: []
|
|
85
|
-
|
|
86
66
|
rubyforge_project: calendar_view
|
|
87
|
-
rubygems_version: 1.
|
|
67
|
+
rubygems_version: 1.8.24
|
|
88
68
|
signing_key:
|
|
89
69
|
specification_version: 3
|
|
90
70
|
summary: Calendar view
|
|
91
71
|
test_files: []
|
|
92
|
-
|