latias-date-format 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: a3f5e69b2511ca44ede71a3ddc3c5a204e2346696696309ddfa38e985c275f09
4
- data.tar.gz: f01602e9b487ee80b131d46f9965446eafc503483f1bf2acd601d39d599b065f
3
+ metadata.gz: e35276d9a5e2e32b4a794f451e8fc62ec20662bcab819b77b4733821bdb1b2d2
4
+ data.tar.gz: b182f198776e132925b1a62e7a636dc33a710343f30bdf6ba185e9bc8bdcbcc0
5
5
  SHA512:
6
- metadata.gz: 689cc7bcbb3689a4150da250b9010f3561b5620f2d032ae7b10beee728c7da492d3f8df835d3f245b4d8ee10a39d5ab918a2d4ade68aed712e69ec44d0a676b4
7
- data.tar.gz: 0772c36969372fa7c81ae1a14b54e42df61395367199c1eb226f1360b507fd2e17a8258b5f58afaf3fdcea495eb3be683456927555013740bf6302c992b56b91
6
+ metadata.gz: 4e744cf08e2e7d8a8a68bf9c76227c342af387bf4bf540ee29c01759d3e14aa486c7b5ca593d891bd2cd5b72ded82f4ec18ae9e1d952b3d1c062a8fccb854b9b
7
+ data.tar.gz: 248a087b218b9e2a3a7b9419f895c87b73a0e9fa5da2f62ef0dfdc165411e0dad9704d2ac9b3e43366d57409f6bd66ae3cf608fda9be9933604f4ec011b64677
data/README.md CHANGED
@@ -8,14 +8,12 @@ How to use my plugin.
8
8
  Add this line to your application's Gemfile:
9
9
 
10
10
  ```ruby
11
- gem 'latias-date-format', '0.1.1', git: 'https://nattanon:dT1Lcvf8pvGoU7LX4Uqr@gitlab.opensource-technology.com/nattanon/latias-date-format-rails.git'
11
+ gem 'latias-date-format', '~> 0.1.2'
12
+ # or
13
+ gem 'latias-date-format', git: 'https://nattanon:dT1Lcvf8pvGoU7LX4Uqr@gitlab.opensource-technology.com/nattanon/latias-date-format-rails.git'
12
14
  ```
13
15
 
14
16
  ## Examples
15
- ```ruby
16
- include Latias::Date::Format
17
- ```
18
-
19
17
  ```ruby
20
18
  2.6.5 :001 > buddist_date_format(Date.today) # Date
21
19
  => "15 มกราคม 2564"
@@ -3,6 +3,9 @@ module Latias
3
3
  module Format
4
4
  class Engine < ::Rails::Engine
5
5
  isolate_namespace Latias::Date::Format
6
+ initializer 'application_helper' do
7
+ ActionView::Base.include Latias::Date::Format
8
+ end
6
9
  end
7
10
  end
8
11
  end
@@ -1,7 +1,7 @@
1
1
  module Latias
2
2
  module Date
3
3
  module Format
4
- VERSION = '0.1.1'.freeze
4
+ VERSION = '0.1.2'.freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: latias-date-format
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - nattanon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-22 00:00:00.000000000 Z
11
+ date: 2021-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails