fullcalendar-bootstrap-rails 0.1.0
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.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.travis.yml +3 -0
- data/Gemfile +4 -0
- data/README.md +63 -0
- data/Rakefile +1 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/fullcalendar-bootstrap-rails.gemspec +26 -0
- data/lib/fullcalendar/bootstrap/rails.rb +9 -0
- data/lib/fullcalendar/bootstrap/rails/version.rb +7 -0
- metadata +122 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 9a0d5eb8431f9e2078c471b87af9fda3c852290c
|
4
|
+
data.tar.gz: 35cef3330163a3cb3fa16bcef64a583c9d6f7ed1
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0854bac794e4cdbd50566f051b7f8a515a892744d4fe85eab7643d7837b719069f5734a2de31e10c3c160b7eef6af7c37f8841ee2748a74fe980bb4344eb697e
|
7
|
+
data.tar.gz: b8b8c0f05710516e63e887fa8e04c1febd63817d1f7404c05ccaf4f05dd2afe9269d1a60bb345f32d2cbe01b21a9f7e6ccf03e86b6c9fc0eaa83995ed440e2eb
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
# Fullcalendar::Bootstrap::Rails
|
2
|
+
|
3
|
+
1. Want to display the events in your Rails app as a calendar?
|
4
|
+
[FullCalendar][fullcalendar] is a quick and dirty way to do it.
|
5
|
+
2. Want it all bundled up nicely as an asset gem for use with Rails' asset pipeline?
|
6
|
+
[fullcalendar-rails][fullcalendar-rails] is one of the best options.
|
7
|
+
3. Tried to make it look consistent with the rest of your [Bootstrap][bootstrap]-powered views?
|
8
|
+
Welcome!
|
9
|
+
|
10
|
+
## Installation
|
11
|
+
|
12
|
+
Add this line to your application's Gemfile:
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
gem 'fullcalendar-bootstrap-rails'
|
16
|
+
```
|
17
|
+
|
18
|
+
And then execute:
|
19
|
+
|
20
|
+
$ bundle
|
21
|
+
|
22
|
+
Or install it yourself as:
|
23
|
+
|
24
|
+
$ gem install fullcalendar-bootstrap-rails
|
25
|
+
|
26
|
+
### A note on versioning
|
27
|
+
|
28
|
+
First noticed this type of versioning with @bokmann's [fullcalendar-rails][fullcalendar-rails]:
|
29
|
+
|
30
|
+
> I am going to version this gem with the version of the FullCalendar code I use, adding an extra digit if I need to release any maintenance versions of the gem itself.
|
31
|
+
|
32
|
+
Makes sense to me: It's [Semantic Versioning][semver], just that a different semantic. I'm inheriting it, this way you can explicitly require a specific version of FullCalendar, if available:
|
33
|
+
|
34
|
+
gem 'fullcalendar-bootstrap-rails', '~> X.Y.Z.0'
|
35
|
+
|
36
|
+
where the digit after the [semantical patch version][semver] indicates the release of this gem.
|
37
|
+
|
38
|
+
## Usage
|
39
|
+
|
40
|
+
HTTP/1.1 302 Found
|
41
|
+
Location: http://fullcalendar.io/
|
42
|
+
|
43
|
+
I mean, not much to say here. You're more interested in how to use [FullCalendar][fullcalendar].
|
44
|
+
|
45
|
+
## Development
|
46
|
+
|
47
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
|
48
|
+
|
49
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
50
|
+
|
51
|
+
## Contributing
|
52
|
+
|
53
|
+
1. Fork it ( https://github.com/mariusbutuc/fullcalendar-bootstrap-rails/fork )
|
54
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
55
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
56
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
57
|
+
5. Create a new Pull Request
|
58
|
+
|
59
|
+
|
60
|
+
[fullcalendar]: http://fullcalendar.io/
|
61
|
+
[fullcalendar-rails]: https://github.com/bokmann/fullcalendar-rails
|
62
|
+
[bootstrap]: http://getbootstrap.com/
|
63
|
+
[semver]: http://semver.org/
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "fullcalendar/bootstrap/rails"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'fullcalendar/bootstrap/rails/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'fullcalendar-bootstrap-rails'
|
8
|
+
spec.version = Fullcalendar::Bootstrap::Rails::VERSION
|
9
|
+
spec.authors = ['Marius Butuc']
|
10
|
+
spec.email = ['marius.butuc@gmail.com']
|
11
|
+
|
12
|
+
spec.summary = 'A port of fullcalendar-rails with bootstrap baked in.'
|
13
|
+
spec.description = 'You think FullCalendar is a fruitful addition to your Rails app. But you already use Bootstrap. Welcome!'
|
14
|
+
spec.homepage = 'https://github.com/mariusbutuc/fullcalendar-bootstrap-rails'
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
|
+
spec.bindir = 'exe'
|
18
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
|
+
spec.require_paths = ['lib']
|
20
|
+
|
21
|
+
spec.add_development_dependency 'bundler', '~> 1.9'
|
22
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
23
|
+
|
24
|
+
spec.add_runtime_dependency 'jquery-rails', '>= 3.1.1', '< 5.0.0'
|
25
|
+
spec.add_runtime_dependency 'momentjs-rails', '~> 2.8', '>= 2.8.4'
|
26
|
+
end
|
metadata
ADDED
@@ -0,0 +1,122 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fullcalendar-bootstrap-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Marius Butuc
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-04-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.9'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.9'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: jquery-rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 3.1.1
|
48
|
+
- - "<"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 5.0.0
|
51
|
+
type: :runtime
|
52
|
+
prerelease: false
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: 3.1.1
|
58
|
+
- - "<"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 5.0.0
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: momentjs-rails
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '2.8'
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 2.8.4
|
71
|
+
type: :runtime
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - "~>"
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '2.8'
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 2.8.4
|
81
|
+
description: You think FullCalendar is a fruitful addition to your Rails app. But
|
82
|
+
you already use Bootstrap. Welcome!
|
83
|
+
email:
|
84
|
+
- marius.butuc@gmail.com
|
85
|
+
executables: []
|
86
|
+
extensions: []
|
87
|
+
extra_rdoc_files: []
|
88
|
+
files:
|
89
|
+
- ".gitignore"
|
90
|
+
- ".travis.yml"
|
91
|
+
- Gemfile
|
92
|
+
- README.md
|
93
|
+
- Rakefile
|
94
|
+
- bin/console
|
95
|
+
- bin/setup
|
96
|
+
- fullcalendar-bootstrap-rails.gemspec
|
97
|
+
- lib/fullcalendar/bootstrap/rails.rb
|
98
|
+
- lib/fullcalendar/bootstrap/rails/version.rb
|
99
|
+
homepage: https://github.com/mariusbutuc/fullcalendar-bootstrap-rails
|
100
|
+
licenses: []
|
101
|
+
metadata: {}
|
102
|
+
post_install_message:
|
103
|
+
rdoc_options: []
|
104
|
+
require_paths:
|
105
|
+
- lib
|
106
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '0'
|
116
|
+
requirements: []
|
117
|
+
rubyforge_project:
|
118
|
+
rubygems_version: 2.4.3
|
119
|
+
signing_key:
|
120
|
+
specification_version: 4
|
121
|
+
summary: A port of fullcalendar-rails with bootstrap baked in.
|
122
|
+
test_files: []
|