smalot-datetimepicker-rails 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +22 -0
- data/.gitmodules +3 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +59 -0
- data/Rakefile +2 -0
- data/lib/smalot-datetimepicker-rails/version.rb +5 -0
- data/lib/smalot-datetimepicker-rails.rb +9 -0
- data/smalot-datetimepicker-rails.gemspec +23 -0
- data/vendor/assets/javascripts/bootstrap-datetimepicker.js +1728 -0
- data/vendor/assets/javascripts/bootstrap-datetimepicker.min.js +1 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ar.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.bg.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ca.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.cs.js +19 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.da.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.de.js +18 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ee.js +18 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.el.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.es.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.fi.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.fr.js +18 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.he.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.hr.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.hu.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.id.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.is.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.it.js +18 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ja.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ko.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.lt.js +18 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.lv.js +18 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ms.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.nb.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.nl.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.no.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.pl.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.pt-BR.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.pt.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ro.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.rs-latin.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.rs.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ru.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.sk.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.sl.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.sv.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.sw.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.th.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.tr.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ua.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.uk.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.zh-CN.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.zh-TW.js +16 -0
- data/vendor/assets/stylesheets/bootstrap-datetimepicker.css +414 -0
- data/vendor/assets/stylesheets/bootstrap-datetimepicker.min.css +9 -0
- metadata +129 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 53ddc2ca50ed138adf7b48756d5cc8081e335476
|
4
|
+
data.tar.gz: cc2ab6d7ac3cbd5b2aebdd10a886bbb363fb43f8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e288bff2e4baacee20baf2e043c9a3f3afdcb9b91df4589eaccf16cec05fc9dbb5ff75875ced8642a4937e802329941e4be68a854724e4759948797300098173
|
7
|
+
data.tar.gz: 886663a04de373632751cb5c576e42440bbac31dcce9a96adf0e7307dbbf18fb20722bcf5172797a537158bcd07751fa187182c4c09b93fcde71e694e4bf3a75
|
data/.gitignore
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
.bundle
|
4
|
+
.config
|
5
|
+
.yardoc
|
6
|
+
Gemfile.lock
|
7
|
+
InstalledFiles
|
8
|
+
_yardoc
|
9
|
+
coverage
|
10
|
+
doc/
|
11
|
+
lib/bundler/man
|
12
|
+
pkg
|
13
|
+
rdoc
|
14
|
+
spec/reports
|
15
|
+
test/tmp
|
16
|
+
test/version_tmp
|
17
|
+
tmp
|
18
|
+
*.bundle
|
19
|
+
*.so
|
20
|
+
*.o
|
21
|
+
*.a
|
22
|
+
mkmf.log
|
data/.gitmodules
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 fahchen
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
# Smalot::Datetimepicker::Rails
|
2
|
+
|
3
|
+
This gem packages of smalot/bootstrap-datetimepicker (JavaScripts & stylesheets) is Rails 3.1+ asset pipeline. It adds ability to use [smalot/bootstrap-datetimepicker plugin](https://github.com/smalot/bootstrap-datetimepicker) within your Rails app without puting files inside `vendor` directory.
|
4
|
+
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
Add this line to your application's Gemfile:
|
9
|
+
|
10
|
+
gem 'smalot-datetimepicker-rails'
|
11
|
+
|
12
|
+
And then execute:
|
13
|
+
|
14
|
+
$ bundle
|
15
|
+
|
16
|
+
Or install it yourself as:
|
17
|
+
|
18
|
+
$ gem install smalot-datetimepicker-rails
|
19
|
+
|
20
|
+
## Usage
|
21
|
+
|
22
|
+
Add this line to your application's Gemfile:
|
23
|
+
|
24
|
+
```ruby
|
25
|
+
gem 'smalot-datetimepicker-rails'
|
26
|
+
```
|
27
|
+
|
28
|
+
Add the following directive to your Javascript manifest file (`application.js`):
|
29
|
+
|
30
|
+
```javascript
|
31
|
+
//= require bootstrap-datetimepicker
|
32
|
+
```
|
33
|
+
|
34
|
+
If you want to include a localization file, also add the following directive:
|
35
|
+
|
36
|
+
```javascript
|
37
|
+
//= require locales/bootstrap-datetimepicker.<locale>
|
38
|
+
```
|
39
|
+
|
40
|
+
Add the following line to your stylesheet file (`bootstrap_and_overrides.scss`) :
|
41
|
+
|
42
|
+
```scss
|
43
|
+
@import 'bootstrap';
|
44
|
+
@import 'bootstrap-datetimepicker';
|
45
|
+
```
|
46
|
+
|
47
|
+
or if you're having problems (or using less) require it in your main stylesheet manifest file:
|
48
|
+
|
49
|
+
```scss
|
50
|
+
*= require bootstrap-datetimepicker
|
51
|
+
```
|
52
|
+
|
53
|
+
## Contributing
|
54
|
+
|
55
|
+
1. Fork it ( https://github.com/[my-github-username]/smalot-datetimepicker-rails/fork )
|
56
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
57
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
58
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
59
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'smalot-datetimepicker-rails/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "smalot-datetimepicker-rails"
|
8
|
+
spec.version = SmalotDatetimepicker::Rails::VERSION
|
9
|
+
spec.authors = ["fahchen"]
|
10
|
+
spec.email = ["dev.fah@gmail.com"]
|
11
|
+
spec.summary = %q{smalot/bootstrap-datetimepicker's JavaScripts & stylesheets for Rails asset pipeline}
|
12
|
+
spec.description = %q{This gem packages the smalot/bootstrap-datetimepicker (JavaScripts & stylesheets) for Rails asset pipeline}
|
13
|
+
spec.homepage = "https://github.com/fahchen/smalot-datetimepicker-rails"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.6"
|
22
|
+
spec.add_development_dependency "rake"
|
23
|
+
end
|