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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 020f99b8edb6ba06c5b0d80dbae63ac7b1c28992
4
- data.tar.gz: 88fa9b19f5d5fbee2d53d71f3f631dd3d38d3fff
3
+ metadata.gz: b7854a28028ee38759b76eb0062189b3e81a9311
4
+ data.tar.gz: 4297fa613a8ca52ae31e694df20bbced5a3e0540
5
5
  SHA512:
6
- metadata.gz: 170dafa038aa17ef48bcd4ba7e2c634566d51402d0c5ae3a9b85f6c7538a2897bf8851d9439113691d0efb73882bf3bd2f92a2f199fb9f5c3613794b18c01470
7
- data.tar.gz: 2f1f36b00f0be86e41f2c934eeb3f29627c6f5115eebc59ee96e4c9d05263ed7e64d595081040962b9152cd7f5e91afbfcff7a54a57687c8af4661dd438e6506
6
+ metadata.gz: 6bdbc6549ffd1ebe7ebc201115592b950434ad8088b77f8418c1b16b2f3bbca22f1bb5e670a09789a91d1488951fd51ba40d0b217fea12ee0d94d72090df6243
7
+ data.tar.gz: 5101ccedc23c74fa505268a81b49c2096005c9ca8e5b8777582830af49f74690fd4248fd1ced0a1416e90347603c05b5ce06e3b0999284ab1d1050781bea487d
data/.semver CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 1
4
+ :patch: 2
5
5
  :special: ''
data/README.md CHANGED
@@ -1,29 +1,31 @@
1
- # Bootstrap::Datepicker::Tag
1
+ # bootstrap\_datepicker\_tag
2
2
 
3
- TODO: Write a gem description
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 'bootstrap-datepicker-tag'
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
- $ gem install bootstrap-datepicker-tag
17
+ Add this line to app/assets/stylesheets/application.css
18
18
 
19
- ## Usage
19
+ *= require bootstrap-datepicker
20
+
21
+ Add this line to app/assets/javascripts/application.js
20
22
 
21
- TODO: Write usage instructions here
23
+ //= require bootstrap-datepicker
24
+
25
+ _Todo: make autoinstall bootstrap picker to application_
22
26
 
23
- ## Contributing
27
+ ## Usage
28
+ **datepicker\_input\_tag**(name, value, options = {})
24
29
 
25
- 1. Fork it
26
- 2. Create your feature branch (`git checkout -b my-new-feature`)
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 alow to select date from calendar using bootstrap library}
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"
@@ -15,7 +15,7 @@ module BootstrapDatepickerTag
15
15
 
16
16
  private
17
17
  def available_datepicker_options
18
- [:language, :format, :autoclose ]
18
+ [:language, :format, :autoclose, :todayHighlight ]
19
19
  end
20
20
 
21
21
  def split_options(options)
@@ -2,6 +2,6 @@ require "semver"
2
2
 
3
3
  module BootstrapDatepickerTag
4
4
  module Version
5
- VERSION = '0.1.1'
5
+ VERSION = '0.1.3'
6
6
  end
7
7
  end
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.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: 2013-12-26 00:00:00.000000000 Z
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 alow to select date from calendar using bootstrap library
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