smalot-datetimepicker-rails 2.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +22 -0
  3. data/.gitmodules +3 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +59 -0
  7. data/Rakefile +2 -0
  8. data/lib/smalot-datetimepicker-rails/version.rb +5 -0
  9. data/lib/smalot-datetimepicker-rails.rb +9 -0
  10. data/smalot-datetimepicker-rails.gemspec +23 -0
  11. data/vendor/assets/javascripts/bootstrap-datetimepicker.js +1728 -0
  12. data/vendor/assets/javascripts/bootstrap-datetimepicker.min.js +1 -0
  13. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ar.js +17 -0
  14. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.bg.js +16 -0
  15. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ca.js +16 -0
  16. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.cs.js +19 -0
  17. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.da.js +16 -0
  18. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.de.js +18 -0
  19. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ee.js +18 -0
  20. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.el.js +15 -0
  21. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.es.js +16 -0
  22. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.fi.js +16 -0
  23. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.fr.js +18 -0
  24. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.he.js +17 -0
  25. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.hr.js +15 -0
  26. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.hu.js +17 -0
  27. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.id.js +15 -0
  28. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.is.js +16 -0
  29. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.it.js +18 -0
  30. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ja.js +16 -0
  31. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ko.js +17 -0
  32. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.lt.js +18 -0
  33. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.lv.js +18 -0
  34. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ms.js +16 -0
  35. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.nb.js +16 -0
  36. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.nl.js +16 -0
  37. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.no.js +16 -0
  38. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.pl.js +17 -0
  39. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.pt-BR.js +17 -0
  40. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.pt.js +17 -0
  41. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ro.js +17 -0
  42. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.rs-latin.js +16 -0
  43. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.rs.js +16 -0
  44. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ru.js +16 -0
  45. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.sk.js +17 -0
  46. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.sl.js +16 -0
  47. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.sv.js +16 -0
  48. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.sw.js +17 -0
  49. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.th.js +16 -0
  50. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.tr.js +17 -0
  51. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ua.js +15 -0
  52. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.uk.js +16 -0
  53. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.zh-CN.js +16 -0
  54. data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.zh-TW.js +16 -0
  55. data/vendor/assets/stylesheets/bootstrap-datetimepicker.css +414 -0
  56. data/vendor/assets/stylesheets/bootstrap-datetimepicker.min.css +9 -0
  57. 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
@@ -0,0 +1,3 @@
1
+ [submodule "bootstrap-datetimepicker"]
2
+ path = bootstrap-datetimepicker
3
+ url = https://github.com/smalot/bootstrap-datetimepicker.git
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in smalot-datetimepicker-rails.gemspec
4
+ gemspec
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,2 @@
1
+ require "bundler/gem_tasks"
2
+
@@ -0,0 +1,5 @@
1
+ module SmalotDatetimepicker
2
+ module Rails
3
+ VERSION = "2.3.1"
4
+ end
5
+ end
@@ -0,0 +1,9 @@
1
+ require 'smalot-datetimepicker-rails/version'
2
+
3
+ module SmalotDatetimepicker
4
+ module Rails
5
+ class Engine < ::Rails::Engine
6
+ end
7
+ end
8
+ end
9
+
@@ -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