tanshuku 0.0.17 → 0.0.19

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: 37e368df60c2df013ec6928232df15d87a8f7b77c6bb68105bab6f26950d7c43
4
- data.tar.gz: 5847d5455c617ff1083ba6fe47d0eafaba0fea46ff03960e8ff686b8ea698508
3
+ metadata.gz: 0ed630fab007e97649b1a2517683823bf23c4fef612c21bbd87e31f8e34647b5
4
+ data.tar.gz: c2d9fa9e3e3f173fd69ccaf5826ce4e9cc0adea43729410fda75c0d10d6e60da
5
5
  SHA512:
6
- metadata.gz: a109e53dff8361d4dddb454e154060c2c26fbb8f3dce2a6d223ea6372a08657da3ace25c5ddd4cb641cd17c4a48e5e7ca822367424422b8f0ce31b70438698fb
7
- data.tar.gz: d13570150ab62497daa9f322358a490708531eee146648e5ee9107cbf9e3f906e4108bcf326c69bddb59838d715166a3b8c42c6c3cc03b40b92b8909d5edd2e7
6
+ metadata.gz: c38c594c794df3292bea69efe4446b12a5cb8ce807abcc967e1bc93d2bc1910c41a5d57caa24a465737991277c6523f78a455dbd8ec32d669276f6f7f7bfb06e
7
+ data.tar.gz: b30d56b5b4fb085f59a0cb4e2c51a9bf661dfae892a6d349138b14a374b7233777341e8f9914d13f2d121e06caee0534ca56c6552e24db8779494a6b1118b360
data/Steepfile ADDED
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ target :main do
4
+ check "app", "config", "db", "lib"
5
+ signature "sig"
6
+ collection_config "rbs_collection.yaml"
7
+ end
@@ -5,6 +5,8 @@ require "addressable"
5
5
  require "rack"
6
6
 
7
7
  module Tanshuku
8
+ # rubocop:disable Rails/ApplicationRecord
9
+ #
8
10
  # An +ActiveRecord::Base+ inherited class for a shortened URL. This class also have some logics for shortening URLs.
9
11
  class Url < ActiveRecord::Base
10
12
  # @!attribute [rw] url
@@ -174,4 +176,5 @@ module Tanshuku
174
176
  Tanshuku::Engine.routes.url_for(url_options)
175
177
  end
176
178
  end
179
+ # rubocop:enable Rails/ApplicationRecord
177
180
  end
@@ -7,7 +7,8 @@ module Tanshuku
7
7
  #
8
8
  # @api private
9
9
  class InstallGenerator < Rails::Generators::Base
10
- source_root File.expand_path("../templates", __dir__)
10
+ # Assign `_ = __dir__` because Steep reports `__dir__` which can be a `nil` but I don’t want to care about that.
11
+ source_root File.expand_path("../templates", _ = __dir__)
11
12
 
12
13
  # Generates a configuration file +config/initializers/tanshuku.rb+.
13
14
  #
@@ -20,8 +21,11 @@ module Tanshuku
20
21
  #
21
22
  # @return [void]
22
23
  def copy_migration_file
23
- filename = "20230220123456_create_tanshuku_urls.rb"
24
- copy_file "../../../db/migrate/#{filename}", "db/migrate/#{filename}"
24
+ # rubocop:disable Rails/TimeZone
25
+ old_filename = "20230220123456_create_tanshuku_urls.rb"
26
+ new_filename = old_filename.sub("20230220123456", Time.now.strftime("%Y%m%d%H%M%S"))
27
+ copy_file "../../../db/migrate/#{old_filename}", "db/migrate/#{new_filename}"
28
+ # rubocop:enable Rails/TimeZone
25
29
  end
26
30
  end
27
31
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Tanshuku
4
- VERSION = "0.0.17"
4
+ VERSION = "0.0.19"
5
5
  end
@@ -0,0 +1,194 @@
1
+ ---
2
+ sources:
3
+ - type: git
4
+ name: ruby/gem_rbs_collection
5
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
6
+ remote: https://github.com/ruby/gem_rbs_collection.git
7
+ repo_dir: gems
8
+ path: ".gem_rbs_collection"
9
+ gems:
10
+ - name: actionmailer
11
+ version: '7.0'
12
+ source:
13
+ type: git
14
+ name: ruby/gem_rbs_collection
15
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
16
+ remote: https://github.com/ruby/gem_rbs_collection.git
17
+ repo_dir: gems
18
+ - name: actionpack
19
+ version: '6.0'
20
+ source:
21
+ type: git
22
+ name: ruby/gem_rbs_collection
23
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
24
+ remote: https://github.com/ruby/gem_rbs_collection.git
25
+ repo_dir: gems
26
+ - name: actionview
27
+ version: '6.0'
28
+ source:
29
+ type: git
30
+ name: ruby/gem_rbs_collection
31
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
32
+ remote: https://github.com/ruby/gem_rbs_collection.git
33
+ repo_dir: gems
34
+ - name: activejob
35
+ version: '6.0'
36
+ source:
37
+ type: git
38
+ name: ruby/gem_rbs_collection
39
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
40
+ remote: https://github.com/ruby/gem_rbs_collection.git
41
+ repo_dir: gems
42
+ - name: activemodel
43
+ version: '7.0'
44
+ source:
45
+ type: git
46
+ name: ruby/gem_rbs_collection
47
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
48
+ remote: https://github.com/ruby/gem_rbs_collection.git
49
+ repo_dir: gems
50
+ - name: activerecord
51
+ version: '7.0'
52
+ source:
53
+ type: git
54
+ name: ruby/gem_rbs_collection
55
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
56
+ remote: https://github.com/ruby/gem_rbs_collection.git
57
+ repo_dir: gems
58
+ - name: activestorage
59
+ version: '6.1'
60
+ source:
61
+ type: git
62
+ name: ruby/gem_rbs_collection
63
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
64
+ remote: https://github.com/ruby/gem_rbs_collection.git
65
+ repo_dir: gems
66
+ - name: activesupport
67
+ version: '7.0'
68
+ source:
69
+ type: git
70
+ name: ruby/gem_rbs_collection
71
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
72
+ remote: https://github.com/ruby/gem_rbs_collection.git
73
+ repo_dir: gems
74
+ - name: cgi
75
+ version: '0'
76
+ source:
77
+ type: stdlib
78
+ - name: concurrent-ruby
79
+ version: '1.1'
80
+ source:
81
+ type: git
82
+ name: ruby/gem_rbs_collection
83
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
84
+ remote: https://github.com/ruby/gem_rbs_collection.git
85
+ repo_dir: gems
86
+ - name: date
87
+ version: '0'
88
+ source:
89
+ type: stdlib
90
+ - name: digest
91
+ version: '0'
92
+ source:
93
+ type: stdlib
94
+ - name: globalid
95
+ version: '1.1'
96
+ source:
97
+ type: git
98
+ name: ruby/gem_rbs_collection
99
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
100
+ remote: https://github.com/ruby/gem_rbs_collection.git
101
+ repo_dir: gems
102
+ - name: i18n
103
+ version: '1.10'
104
+ source:
105
+ type: git
106
+ name: ruby/gem_rbs_collection
107
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
108
+ remote: https://github.com/ruby/gem_rbs_collection.git
109
+ repo_dir: gems
110
+ - name: logger
111
+ version: '0'
112
+ source:
113
+ type: stdlib
114
+ - name: mail
115
+ version: '2.8'
116
+ source:
117
+ type: git
118
+ name: ruby/gem_rbs_collection
119
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
120
+ remote: https://github.com/ruby/gem_rbs_collection.git
121
+ repo_dir: gems
122
+ - name: minitest
123
+ version: '0'
124
+ source:
125
+ type: stdlib
126
+ - name: monitor
127
+ version: '0'
128
+ source:
129
+ type: stdlib
130
+ - name: mutex_m
131
+ version: '0'
132
+ source:
133
+ type: stdlib
134
+ - name: nokogiri
135
+ version: '1.11'
136
+ source:
137
+ type: git
138
+ name: ruby/gem_rbs_collection
139
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
140
+ remote: https://github.com/ruby/gem_rbs_collection.git
141
+ repo_dir: gems
142
+ - name: rack
143
+ version: '2.2'
144
+ source:
145
+ type: git
146
+ name: ruby/gem_rbs_collection
147
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
148
+ remote: https://github.com/ruby/gem_rbs_collection.git
149
+ repo_dir: gems
150
+ - name: rails-dom-testing
151
+ version: '2.0'
152
+ source:
153
+ type: git
154
+ name: ruby/gem_rbs_collection
155
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
156
+ remote: https://github.com/ruby/gem_rbs_collection.git
157
+ repo_dir: gems
158
+ - name: railties
159
+ version: '6.0'
160
+ source:
161
+ type: git
162
+ name: ruby/gem_rbs_collection
163
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
164
+ remote: https://github.com/ruby/gem_rbs_collection.git
165
+ repo_dir: gems
166
+ - name: securerandom
167
+ version: '0'
168
+ source:
169
+ type: stdlib
170
+ - name: singleton
171
+ version: '0'
172
+ source:
173
+ type: stdlib
174
+ - name: tempfile
175
+ version: '0'
176
+ source:
177
+ type: stdlib
178
+ - name: time
179
+ version: '0'
180
+ source:
181
+ type: stdlib
182
+ - name: timeout
183
+ version: '0'
184
+ source:
185
+ type: stdlib
186
+ - name: tsort
187
+ version: '0'
188
+ source:
189
+ type: stdlib
190
+ - name: uri
191
+ version: '0'
192
+ source:
193
+ type: stdlib
194
+ gemfile_lock_path: Gemfile.lock
@@ -0,0 +1,19 @@
1
+ sources:
2
+ - type: git
3
+ name: ruby/gem_rbs_collection
4
+ remote: https://github.com/ruby/gem_rbs_collection.git
5
+ revision: main
6
+ repo_dir: gems
7
+
8
+ path: .gem_rbs_collection
9
+
10
+ gems:
11
+ - name: rbs
12
+ ignore: true
13
+ - name: steep
14
+ ignore: true
15
+ - name: tanshuku
16
+ ignore: true
17
+
18
+ - name: digest
19
+ - name: securerandom
@@ -0,0 +1,5 @@
1
+ module Tanshuku
2
+ class UrlsController < ActionController::API
3
+ def show: -> void
4
+ end
5
+ end
@@ -0,0 +1,114 @@
1
+ # cf. https://github.com/pocke/rbs_rails
2
+ module Tanshuku
3
+ class Url < ActiveRecord::Base
4
+ class ActiveRecord_Relation < ActiveRecord::Relation
5
+ include _ActiveRecord_Relation[Tanshuku::Url, Integer]
6
+ include Enumerable[Tanshuku::Url]
7
+ end
8
+
9
+ extend _ActiveRecord_Relation_ClassMethods[Tanshuku::Url, ActiveRecord_Relation, Integer]
10
+
11
+ DEFAULT_NAMESPACE: String
12
+
13
+ module GeneratedAttributeMethods
14
+ attr_accessor id (): Integer?
15
+ def id?: () -> bool
16
+ def id_changed?: () -> bool
17
+ def id_change: () -> [Integer?, Integer?]
18
+ def id_will_change!: () -> void
19
+ def id_was: () -> Integer?
20
+ def id_previously_changed?: () -> bool
21
+ def id_previous_change: () -> [Integer?, Integer?]?
22
+ def id_previously_was: () -> Integer?
23
+ def id_before_last_save: () -> Integer?
24
+ def id_change_to_be_saved: () -> [Integer?, Integer?]?
25
+ def id_in_database: () -> Integer?
26
+ def saved_change_to_id: () -> [Integer?, Integer?]?
27
+ def saved_change_to_id?: () -> bool
28
+ def will_save_change_to_id?: () -> bool
29
+ def restore_id!: () -> void
30
+ def clear_id_change: () -> void
31
+
32
+ attr_accessor url (): String?
33
+ def url?: () -> bool
34
+ def url_changed?: () -> bool
35
+ def url_change: () -> [String?, String?]
36
+ def url_will_change!: () -> void
37
+ def url_was: () -> String?
38
+ def url_previously_changed?: () -> bool
39
+ def url_previous_change: () -> [String?, String?]?
40
+ def url_previously_was: () -> String?
41
+ def url_before_last_save: () -> String?
42
+ def url_change_to_be_saved: () -> [String?, String?]?
43
+ def url_in_database: () -> String?
44
+ def saved_change_to_url: () -> [String?, String?]?
45
+ def saved_change_to_url?: () -> bool
46
+ def will_save_change_to_url?: () -> bool
47
+ def restore_url!: () -> void
48
+ def clear_url_change: () -> void
49
+
50
+ attr_accessor hashed_url (): String?
51
+ def hashed_url?: () -> bool
52
+ def hashed_url_changed?: () -> bool
53
+ def hashed_url_change: () -> [String?, String?]
54
+ def hashed_url_will_change!: () -> void
55
+ def hashed_url_was: () -> String?
56
+ def hashed_url_previously_changed?: () -> bool
57
+ def hashed_url_previous_change: () -> [String?, String?]?
58
+ def hashed_url_previously_was: () -> String?
59
+ def hashed_url_before_last_save: () -> String?
60
+ def hashed_url_change_to_be_saved: () -> [String?, String?]?
61
+ def hashed_url_in_database: () -> String?
62
+ def saved_change_to_hashed_url: () -> [String?, String?]?
63
+ def saved_change_to_hashed_url?: () -> bool
64
+ def will_save_change_to_hashed_url?: () -> bool
65
+ def restore_hashed_url!: () -> void
66
+ def clear_hashed_url_change: () -> void
67
+
68
+ attr_accessor key (): String?
69
+ def key?: () -> bool
70
+ def key_changed?: () -> bool
71
+ def key_change: () -> [String?, String?]
72
+ def key_will_change!: () -> void
73
+ def key_was: () -> String?
74
+ def key_previously_changed?: () -> bool
75
+ def key_previous_change: () -> [String?, String?]?
76
+ def key_previously_was: () -> String?
77
+ def key_before_last_save: () -> String?
78
+ def key_change_to_be_saved: () -> [String?, String?]?
79
+ def key_in_database: () -> String?
80
+ def saved_change_to_key: () -> [String?, String?]?
81
+ def saved_change_to_key?: () -> bool
82
+ def will_save_change_to_key?: () -> bool
83
+ def restore_key!: () -> void
84
+ def clear_key_change: () -> void
85
+
86
+ attr_accessor created_at (): ActiveSupport::TimeWithZone?
87
+ def created_at?: () -> bool
88
+ def created_at_changed?: () -> bool
89
+ def created_at_change: () -> [ActiveSupport::TimeWithZone?, ActiveSupport::TimeWithZone?]
90
+ def created_at_will_change!: () -> void
91
+ def created_at_was: () -> ActiveSupport::TimeWithZone?
92
+ def created_at_previously_changed?: () -> bool
93
+ def created_at_previous_change: () -> [ActiveSupport::TimeWithZone?, ActiveSupport::TimeWithZone?]?
94
+ def created_at_previously_was: () -> ActiveSupport::TimeWithZone?
95
+ def created_at_before_last_save: () -> ActiveSupport::TimeWithZone?
96
+ def created_at_change_to_be_saved: () -> [ActiveSupport::TimeWithZone?, ActiveSupport::TimeWithZone?]?
97
+ def created_at_in_database: () -> ActiveSupport::TimeWithZone?
98
+ def saved_change_to_created_at: () -> [ActiveSupport::TimeWithZone?, ActiveSupport::TimeWithZone?]?
99
+ def saved_change_to_created_at?: () -> bool
100
+ def will_save_change_to_created_at?: () -> bool
101
+ def restore_created_at!: () -> void
102
+ def clear_created_at_change: () -> void
103
+ end
104
+ include GeneratedAttributeMethods
105
+
106
+ def self.shorten: (String original_url, ?namespace: String, ?url_options: Hash[String | Symbol, untyped]) -> String
107
+ def self.find_by_url: (String url, ?namespace: String) -> Tanshuku::Url?
108
+ def self.normalize_url: (String url) -> String
109
+ def self.hash_url: (String url, ?namespace: String) -> String
110
+ def self.generate_key: -> String
111
+ def self.report_exception: (exception: Exception, original_url: String) -> void
112
+ def shortened_url: (?Hash[String | Symbol, untyped] url_options) -> String
113
+ end
114
+ end
@@ -0,0 +1,2 @@
1
+ class CreateTanshukuUrls < ActiveRecord::Migration::Compatibility::V7_0
2
+ end
@@ -0,0 +1,4 @@
1
+ module Tanshuku
2
+ class InstallGenerator < Rails::Generators::Base
3
+ end
4
+ end
@@ -0,0 +1,42 @@
1
+ module Tanshuku
2
+ class Configuration
3
+ interface _UrlHasher
4
+ def call: (String url, namespace: String) -> String
5
+ end
6
+
7
+ interface _KeyGenerator
8
+ def call: -> String
9
+ end
10
+
11
+ interface _ExceptionReporter
12
+ def call: (exception: Exception, original_url: String) -> void
13
+ end
14
+
15
+ extend ActiveModel::Attributes::ClassMethods
16
+
17
+ @mutex: Thread::Mutex
18
+
19
+ attr_accessor default_url_options (): Hash[String | Symbol, untyped]
20
+ attr_accessor max_url_length (): Integer
21
+ attr_accessor url_pattern (): Regexp
22
+ attr_accessor key_length (): Integer
23
+ attr_accessor url_hasher (): _UrlHasher
24
+ attr_accessor key_generator (): _KeyGenerator
25
+ attr_accessor exception_reporter (): _ExceptionReporter
26
+
27
+ def initialize: (*bot noname) -> void
28
+ def configure: { (Configuration) -> void } -> void
29
+
30
+ module DefaultUrlHasher
31
+ extend _UrlHasher
32
+ end
33
+
34
+ module DefaultKeyGenerator
35
+ extend _KeyGenerator
36
+ end
37
+
38
+ module DefaultExceptionReporter
39
+ extend _ExceptionReporter
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,4 @@
1
+ module Tanshuku
2
+ class Engine < Rails::Engine
3
+ end
4
+ end
@@ -0,0 +1,3 @@
1
+ module Tanshuku
2
+ VERSION: String
3
+ end
@@ -0,0 +1,6 @@
1
+ module Tanshuku
2
+ self.@config: Configuration
3
+
4
+ def self.config: -> Configuration
5
+ def self.configure: { (Configuration config) -> void } -> void
6
+ end
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: 0.0.17
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - kg8m
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-02 00:00:00.000000000 Z
11
+ date: 2023-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -16,31 +16,31 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '2.8'
19
+ version: 2.4.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '2.8'
26
+ version: 2.4.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '7'
33
+ version: 7.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '7'
40
+ version: 7.0.0
41
41
  description: Tanshuku is a simple and performance aware Rails engine for shortening
42
- URLs. Tanshuku generates a shortened URL per a normalized original URL.Tanshuku
43
- redirects from a shortened URL to its correspond original URL.
42
+ URLs. Tanshuku generates a shortened URL per a normalized original URL. Tanshuku
43
+ redirects from a shortened URL to its corresponding original URL.
44
44
  email:
45
45
  - takumi.kagiyama@gmail.com
46
46
  executables: []
@@ -49,7 +49,7 @@ extra_rdoc_files: []
49
49
  files:
50
50
  - LICENSE
51
51
  - README.md
52
- - Rakefile
52
+ - Steepfile
53
53
  - app/controllers/tanshuku/urls_controller.rb
54
54
  - app/models/tanshuku/url.rb
55
55
  - config/locales/en.yml
@@ -62,7 +62,16 @@ files:
62
62
  - lib/tanshuku/configuration.rb
63
63
  - lib/tanshuku/engine.rb
64
64
  - lib/tanshuku/version.rb
65
- - tmp/.keep
65
+ - rbs_collection.lock.yaml
66
+ - rbs_collection.yaml
67
+ - sig/app/controllers/tanshuku/urls_controller.rbs
68
+ - sig/app/models/tanshuku/url.rbs
69
+ - sig/db/migrate/create_tanshuku_urls.rbs
70
+ - sig/lib/generators/tanshuku/install_generator.rbs
71
+ - sig/lib/tanshuku.rbs
72
+ - sig/lib/tanshuku/configuration.rbs
73
+ - sig/lib/tanshuku/engine.rbs
74
+ - sig/lib/tanshuku/version.rbs
66
75
  homepage: https://github.com/kg8m/tanshuku
67
76
  licenses:
68
77
  - MIT
@@ -80,14 +89,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
80
89
  requirements:
81
90
  - - ">="
82
91
  - !ruby/object:Gem::Version
83
- version: '3.2'
92
+ version: '3.1'
84
93
  required_rubygems_version: !ruby/object:Gem::Requirement
85
94
  requirements:
86
95
  - - ">="
87
96
  - !ruby/object:Gem::Version
88
97
  version: '0'
89
98
  requirements: []
90
- rubygems_version: 3.4.6
99
+ rubygems_version: 3.4.10
91
100
  signing_key:
92
101
  specification_version: 4
93
102
  summary: Tanshuku is a simple and performance aware Rails engine for shortening URLs.
data/Rakefile DELETED
@@ -1,30 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "bundler/setup"
4
-
5
- APP_RAKEFILE = File.expand_path("spec/dummy/Rakefile", __dir__)
6
- load "rails/tasks/engine.rake"
7
-
8
- load "rails/tasks/statistics.rake"
9
-
10
- require "bundler/gem_tasks"
11
- require "rspec/core/rake_task"
12
- require "rubocop/rake_task"
13
-
14
- RSpec::Core::RakeTask.new(:spec)
15
- RuboCop::RakeTask.new
16
-
17
- namespace :yard do
18
- desc "Start YARD server"
19
- task :server do
20
- puts "See http://localhost:8808/"
21
- sh "yard server --reload"
22
- end
23
-
24
- desc "Check YARD docs"
25
- task :check do
26
- sh "yard --no-output --no-cache --fail-on-warning"
27
- end
28
- end
29
-
30
- task default: %i[rubocop spec yard:check]
data/tmp/.keep DELETED
File without changes