relaton-render 0.3.6.1 → 0.3.7

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: 878e2dbeb1c5571bfc619872e1c195baa08095cea46dbf5ee26d67e1aad2185d
4
- data.tar.gz: 17c6d2fd34334f23d4c2fe9e8dea4525ed15923b3574e189fdd4c1df3b0e357b
3
+ metadata.gz: be0824c3523bcd05d90124be3d8c36b496803edd2322b7128e0e47f759309d25
4
+ data.tar.gz: 65f3c1fc7900217391a1f291ae57323823e8e1f8559e8b135b1e4e7563a3f19b
5
5
  SHA512:
6
- metadata.gz: 541bd02b23d5b02fcc4369e19977de9abc4c40fe41f990bb2b6d23f5dec5dc05501ef40d2eb43da1c04083a8ff7cb71c9b7d059f5903172f6f457adc36ec3f37
7
- data.tar.gz: 351b500e32b7a09d561f21591e675097477e7b2d7b08e20ccf3a6924c29b108de8e698e8430a95242c2a4c4a2bc5271ecc7da5c59d40f136a7cb50307fe7414f
6
+ metadata.gz: b283ddeb4b4c0045cb8f4da3356093040408949f39e28da7db6c7f6807f3ed21dac4db520631e8db9b61a4cc98dcee4b83bacc06ca489295f2ee10745657f94a
7
+ data.tar.gz: 8394b5b4f72f01819cdff6754a46a281e89685b68f869a1615efc53388f751c43c6b36d3c4ff734fded3a7f9e3ad62b6e282d27c0e203aa88110dde7d2526277
@@ -10,6 +10,4 @@ on:
10
10
 
11
11
  jobs:
12
12
  rake:
13
- uses: metanorma/metanorma-build-scripts/.github/workflows/generic-rake.yml@main
14
- secrets:
15
- pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
13
+ uses: relaton/support/.github/workflows/rake.yml@master
@@ -55,7 +55,10 @@ module Relaton
55
55
  i18n_klass(opt["language"], opt["script"], opt["i18nhash"])
56
56
  @edition_ordinal = opt["edition_ordinal"] || @i18n.edition_ordinal
57
57
  @edition = opt["edition"] || @i18n.edition
58
- @date = opt["date"] || @i18n.date_formats
58
+ @date = opt["date"] || @i18n.get["date_formats"] ||
59
+ { "month_year" => "yMMMM",
60
+ "day_month_year" => "to_long_s",
61
+ "date_time" => "to_long_s" }
59
62
  end
60
63
 
61
64
  def render_initialize(opt)
@@ -1,5 +1,5 @@
1
1
  module Relaton
2
2
  module Render
3
- VERSION = "0.3.6.1".freeze
3
+ VERSION = "0.3.7".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-render
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6.1
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-05-06 00:00:00.000000000 Z
11
+ date: 2022-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -236,7 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
236
236
  - !ruby/object:Gem::Version
237
237
  version: '0'
238
238
  requirements: []
239
- rubygems_version: 3.3.9
239
+ rubygems_version: 3.3.14
240
240
  signing_key:
241
241
  specification_version: 4
242
242
  summary: Rendering of ISO 690 XML