bootstrap_datepicker_tag 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.semver +1 -1
- data/README.md +17 -15
- data/bootstrap_datepicker_tag.gemspec +1 -1
- data/lib/app/helper.rb +1 -1
- data/lib/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7854a28028ee38759b76eb0062189b3e81a9311
|
4
|
+
data.tar.gz: 4297fa613a8ca52ae31e694df20bbced5a3e0540
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6bdbc6549ffd1ebe7ebc201115592b950434ad8088b77f8418c1b16b2f3bbca22f1bb5e670a09789a91d1488951fd51ba40d0b217fea12ee0d94d72090df6243
|
7
|
+
data.tar.gz: 5101ccedc23c74fa505268a81b49c2096005c9ca8e5b8777582830af49f74690fd4248fd1ced0a1416e90347603c05b5ce06e3b0999284ab1d1050781bea487d
|
data/.semver
CHANGED
data/README.md
CHANGED
@@ -1,29 +1,31 @@
|
|
1
|
-
#
|
1
|
+
# bootstrap\_datepicker\_tag
|
2
2
|
|
3
|
-
|
3
|
+
Bootstrap datepicker helper method for no object controls. It's wrapper for **bootstrap-datepicker-rails** gem (https://github.com/Nerian/bootstrap-datepicker-rails).
|
4
|
+
|
5
|
+
_Todo: make helper for object of SimpleForm or component_
|
4
6
|
|
5
7
|
## Installation
|
6
8
|
|
7
9
|
Add this line to your application's Gemfile:
|
8
10
|
|
9
|
-
gem '
|
11
|
+
gem 'bootstrap_datepicker_tag'
|
10
12
|
|
11
13
|
And then execute:
|
12
14
|
|
13
|
-
$ bundle
|
14
|
-
|
15
|
-
Or install it yourself as:
|
15
|
+
$ bundle install
|
16
16
|
|
17
|
-
|
17
|
+
Add this line to app/assets/stylesheets/application.css
|
18
18
|
|
19
|
-
|
19
|
+
*= require bootstrap-datepicker
|
20
|
+
|
21
|
+
Add this line to app/assets/javascripts/application.js
|
20
22
|
|
21
|
-
|
23
|
+
//= require bootstrap-datepicker
|
24
|
+
|
25
|
+
_Todo: make autoinstall bootstrap picker to application_
|
22
26
|
|
23
|
-
##
|
27
|
+
## Usage
|
28
|
+
**datepicker\_input\_tag**(name, value, options = {})
|
24
29
|
|
25
|
-
|
26
|
-
|
27
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
-
5. Create new Pull Request
|
30
|
+
Currently it supports only three options: :language, :format, :autoclose.
|
31
|
+
Sorry guys, but I required only these ones for my work.
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.version = BootstrapDatepickerTag::Version::VERSION
|
11
11
|
spec.authors = ["Y.Zemlyanukhin"]
|
12
12
|
spec.email = ["yaroslav.zemlyanuhin@gmail.com", "y.zemlyanukhin@mdterra.org"]
|
13
|
-
spec.description = %q{View helper that
|
13
|
+
spec.description = %q{View helper that allow to select date from calendar using bootstrap library}
|
14
14
|
spec.summary = %q{Tag helper for bootstrap datepicker}
|
15
15
|
spec.homepage = ""
|
16
16
|
spec.license = "MIT"
|
data/lib/app/helper.rb
CHANGED
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap_datepicker_tag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Y.Zemlyanukhin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -80,7 +80,7 @@ dependencies:
|
|
80
80
|
- - '>='
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
description: View helper that
|
83
|
+
description: View helper that allow to select date from calendar using bootstrap library
|
84
84
|
email:
|
85
85
|
- yaroslav.zemlyanuhin@gmail.com
|
86
86
|
- y.zemlyanukhin@mdterra.org
|