latias-date-format 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -1
- data/lib/latias/date/format.rb +8 -0
- data/lib/latias/date/format/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ca7372c40ccda674af94b029713832347875ff8e1593258736919d396e2b8cb
|
4
|
+
data.tar.gz: 4925ae99610072c7cd1a55cf5f70666298be3004fa7b6431e9daf1d104f700f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3b567559a2e1e0c9c04a37927298360b5e7822617bbb4468000dd71627a8c3777cc0c4dff84301f4a31d231ffec8543832edb080b728f2c586921650fafb65b
|
7
|
+
data.tar.gz: cb57d483061e6ee788ef5cd190ece7262280c37cd1f92ac4024846c901476760839769a40f3b8064bf83b93595ff314aa349bc3cc61ae4ffb8e73fae6b56c7ce
|
data/README.md
CHANGED
@@ -1,10 +1,19 @@
|
|
1
|
+
<!--
|
2
|
+
how to update
|
3
|
+
gem build latias-date-format.gemspec
|
4
|
+
gem push latias-date-format-0.1.6.gem
|
5
|
+
-->
|
6
|
+
|
1
7
|
# Latias::Date::Format
|
8
|
+
|
2
9
|
Short description and motivation.
|
3
10
|
|
4
11
|
## Usage
|
12
|
+
|
5
13
|
How to use my plugin.
|
6
14
|
|
7
15
|
## Installation
|
16
|
+
|
8
17
|
Add this line to your application's Gemfile:
|
9
18
|
|
10
19
|
```ruby
|
@@ -14,6 +23,7 @@ gem 'latias-date-format', '~> 0.1', git: 'https://nattanon:dT1Lcvf8pvGoU7LX4Uqr@
|
|
14
23
|
```
|
15
24
|
|
16
25
|
## Examples
|
26
|
+
|
17
27
|
```ruby
|
18
28
|
2.6.5 :001 > buddist_date_format(Date.today) # Date
|
19
29
|
=> "15 มกราคม 2564"
|
@@ -27,13 +37,16 @@ gem 'latias-date-format', '~> 0.1', git: 'https://nattanon:dT1Lcvf8pvGoU7LX4Uqr@
|
|
27
37
|
=> "ม.ค. 2564 17:20:23 +0700"
|
28
38
|
```
|
29
39
|
|
30
|
-
### Manual
|
40
|
+
### Manual
|
41
|
+
|
31
42
|
```ruby
|
32
43
|
include Latias::Date::Formater
|
33
44
|
```
|
34
45
|
|
35
46
|
## Contributing
|
47
|
+
|
36
48
|
Contribution directions go here.
|
37
49
|
|
38
50
|
## License
|
51
|
+
|
39
52
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: latias-date-format
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nattanon
|
@@ -44,6 +44,7 @@ files:
|
|
44
44
|
- app/views/layouts/latias/date/format/application.html.erb
|
45
45
|
- config/locales/th.yml
|
46
46
|
- config/routes.rb
|
47
|
+
- lib/latias/date/format.rb
|
47
48
|
- lib/latias/date/format/engine.rb
|
48
49
|
- lib/latias/date/format/version.rb
|
49
50
|
- lib/latias/date/formater.rb
|