tanshuku 0.0.3 → 0.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14669eaf644176cc759921d4a58412f0fc3a957918cac175b97484a4792374a9
4
- data.tar.gz: d366383db610320fac355876ed7b230d3f4b93399525a313df95954f44dafcc1
3
+ metadata.gz: b935f7a46118c55114ef0c1184f3fa8c0cfcad12dc37dca002e114135c01f76a
4
+ data.tar.gz: c9fc7e2849422c97a1c124988761f6d30a9742de9d7337b8d7c4200b02817f08
5
5
  SHA512:
6
- metadata.gz: b99a313570bf77f13af31bb03eb615cc675e6de2272168019ec8ee98e2c21fe92656bd8251cdc80ad445c884e9f3da5d50cf901214c26ecfead2cf21191306fb
7
- data.tar.gz: 469bf2a88a03af4f8431c3b2066593a62dd93495068a33490d3adc4cb3fc01d36d64e0bf1777f521ec896efe09fa79f144dae71818254550635426defdbaedda
6
+ metadata.gz: a0d637cd54daf6b86cd00cb3e2ddad4d200d72b6fbaf90c7e98883f58d29ad364103c75d114b6ce8c646c157fd86a0bd7f815733db20e0533dd757e2d6fad4a0
7
+ data.tar.gz: 498c19b75c5024095f12ba4966ca8f9c36b24f3b8ea973ba0679b2ff2524809aee3622774e39b518073b5131cac730b6cbb11e81370ed48adee13fda7f0fb8f6
data/config/routes.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  Tanshuku::Engine.routes.draw do
4
- default_url_options Rails.application.routes.default_url_options.deep_dup
4
+ default_url_options Tanshuku.default_url_options
5
5
 
6
6
  get "/:key", to: "urls#show"
7
7
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Tanshuku
4
- VERSION = "0.0.3"
4
+ VERSION = "0.0.4"
5
5
  end
data/lib/tanshuku.rb CHANGED
@@ -4,4 +4,5 @@ require_relative "tanshuku/engine"
4
4
  require_relative "tanshuku/version"
5
5
 
6
6
  module Tanshuku
7
+ mattr_accessor :default_url_options, default: {}
7
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tanshuku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - kg8m