adminlte_assets 0.0.36 → 0.5.0

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: 743efcb7b1f314750f4c3a3ea078dbff63ab4018
4
- data.tar.gz: e6d0b31574726ba7ffe5d851905a640bf372c5f0
3
+ metadata.gz: b30c78bb55549d65960159dc7df7f7f9a68e9655
4
+ data.tar.gz: 2d6b8b2b3d2ae742fe01d073d796f248e5615431
5
5
  SHA512:
6
- metadata.gz: 01258d4ec4387761f85b1f76761742de88a458e0537597079d8e49243e6739b0e96a3236c2114e1ea283286e6b33730ad7b1cd83b5030a6df2434857e96d9c1d
7
- data.tar.gz: 61235ec506dc54f7b8a6d273c85c5b789d61b5ec5ce442986e5f7aec14087d2c9ab1bff3a0f4086601b12efde498bce82cde92e5985e103c4559592380b28384
6
+ metadata.gz: 834c155de12d8229e744b928312ce0e933646848532527e65cb5630b5fef3865e44c04660671acde04857e168a30d0afb9ac6ef6221e2f87be707f550830679e
7
+ data.tar.gz: 652d91bd61e071323c00a334ba9b3c23aab9dbb061ffb23dd1f22ac70467bf0e2612857a255ebd9b73962ee86e6cd43f436cd490644e51b400a8112f08490f77
data/README.md CHANGED
@@ -109,7 +109,9 @@ Add this few lines of code:
109
109
 
110
110
 
111
111
  ### DateRangePicker
112
- This is a date picker this can be used as **range date picker** or **single date picker**.
112
+ This is a date picker this can be used as **range date picker** or **single date picker** or **date piker**.
113
+ Range pickers include date and time.
114
+ There's also datepicker which is a single date picker without timestamp.
113
115
 
114
116
  #### Javscripts
115
117
  DateRangePicker require the `moment` JS library, we create `all.js` that automatically add this requirement and some other things.
@@ -126,11 +128,14 @@ Also `all.js` include by default these few lines of JavaScript:
126
128
  $('input[data-behaviour="daterange"]').daterangepicker($.PluginsOptions.daterangepicker.single);
127
129
 
128
130
  $('input[data-behaviour="daterange-single"]').daterangepicker($.PluginsOptions.daterangepicker.single);
131
+
132
+ $('input[data-behaviour="datepicker"]').daterangepicker($.PluginsOptions.datepicker);
129
133
  ~~~
130
134
 
131
- And this means that you can add `data-behaviour` attribute with `daterange` or `daterange-single` :
135
+ And this means that you can add `data-behaviour` attribute with `datepicker`, `daterange` or `daterange-single` :
132
136
 
133
137
  ~~~
138
+ <%= f.text_field :test_created_at, 'data-behaviour'=> 'datepicker' %>
134
139
  <%= f.text_field :test_created_at, 'data-behaviour'=> 'daterange' %>
135
140
  <%= f.text_field :test_created_at, 'data-behaviour'=> 'daterange-single' %>
136
141
  ~~~
@@ -183,4 +188,4 @@ And this means that you can add `data-behaviour` attribute with `colorpicker` in
183
188
  /*
184
189
  *= require adminlte/plugins/colorpicker/bootstrap-colorpicker
185
190
  */
186
- ~~~
191
+ ~~~
@@ -1,3 +1,7 @@
1
1
  module AdminlteAssets
2
- VERSION = "0.0.36"
2
+ # Semantic versioning, but still not at 1.0.
3
+ VERSION = "0.5.0"
4
+
5
+ # 0.5.0 - MINOR
6
+ # - upgrade dependencies to rails 5
3
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adminlte_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.36
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Coditramuntana
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-21 00:00:00.000000000 Z
11
+ date: 2017-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -16,20 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.2'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 4.2.1
19
+ version: '5.0'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '4.2'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 4.2.1
26
+ version: '5.0'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: bootstrap-sass
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -76,20 +70,14 @@ dependencies:
76
70
  requirements:
77
71
  - - "~>"
78
72
  - !ruby/object:Gem::Version
79
- version: '4.2'
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: 4.2.1
73
+ version: '5.0'
83
74
  type: :runtime
84
75
  prerelease: false
85
76
  version_requirements: !ruby/object:Gem::Requirement
86
77
  requirements:
87
78
  - - "~>"
88
79
  - !ruby/object:Gem::Version
89
- version: '4.2'
90
- - - ">="
91
- - !ruby/object:Gem::Version
92
- version: 4.2.1
80
+ version: '5.0'
93
81
  - !ruby/object:Gem::Dependency
94
82
  name: bundler
95
83
  requirement: !ruby/object:Gem::Requirement
@@ -269,7 +257,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
269
257
  version: '0'
270
258
  requirements: []
271
259
  rubyforge_project:
272
- rubygems_version: 2.5.1
260
+ rubygems_version: 2.5.2
273
261
  signing_key:
274
262
  specification_version: 4
275
263
  summary: AdminLTE Bootstrap template.