tanshuku 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/tanshuku/configuration.rb +16 -0
- data/lib/tanshuku/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02ecbaaff21e734b68382c179b154a19425e89ca3639bc16717aea64ff9f8398
|
4
|
+
data.tar.gz: 5ba490d590f1434a46333ad450bedd15568dbbf5e57f4254bc480d3a2f532bd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4387ca8fd4cc69cbc71ec38463bb31de400ed62d29d4ee0ef947634deca95a763e9408edb1be6e97f96b0baad2441aefd703bd8cd2711b1a66d9dbac78370de6
|
7
|
+
data.tar.gz: 6a492c69c9133a526a8f9d0e366580ef89f2d9e857b82a809c0e7ba3bde50650fc3248d5fbd494b9cd6ee25787751881301a7d39c3f1c5bcbce91a9b1084e955
|
@@ -43,6 +43,22 @@ module Tanshuku
|
|
43
43
|
end
|
44
44
|
|
45
45
|
include ActiveModel::Attributes
|
46
|
+
|
47
|
+
# @!attribute [rw] default_url_options
|
48
|
+
# Default URL options for Rails’ +url_for+. Defaults to +{}+.
|
49
|
+
#
|
50
|
+
# @return [Hash]
|
51
|
+
# @return [void] If you set an invalid object.
|
52
|
+
#
|
53
|
+
# @note
|
54
|
+
# The example below means that the configured host and protocol are used. Shortened URLs will be like
|
55
|
+
# +https://example.com/t/abcdefghij0123456789+.
|
56
|
+
#
|
57
|
+
# @example
|
58
|
+
# # config/initializers/tanshuku.rb
|
59
|
+
# Tanshuku.configure do |config|
|
60
|
+
# config.default_url_options = { host: "example.com", protocol: :https }
|
61
|
+
# end
|
46
62
|
attribute :default_url_options, default: {}
|
47
63
|
|
48
64
|
# @!attribute [rw] max_url_length
|
data/lib/tanshuku/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tanshuku
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kg8m
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -85,7 +85,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
85
85
|
requirements:
|
86
86
|
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '
|
88
|
+
version: '2.7'
|
89
89
|
- - "<"
|
90
90
|
- !ruby/object:Gem::Version
|
91
91
|
version: '3.2'
|