syobocalite 1.1.0 → 1.1.1

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: 54e715bc7979d257cd27952ad2591999411c2fbff9a5bf89ae74e68ef2130507
4
- data.tar.gz: 838b7257de52a103e8d12f04892600020edd0eeb2845b94da847508022ec2634
3
+ metadata.gz: 0e14368c8d79563c025d22156ebc584146d777810db0704ccbd617c9fd1801a6
4
+ data.tar.gz: 1dc682265e40f9951cf60d84c21631b5afe2b5a6f4d933e57c1b5e1dd81dc023
5
5
  SHA512:
6
- metadata.gz: 3df0024a0d4337855bf8b6c51e51b3a7859ec97b5f3030b4bca2695057e88cb9640aaa443adbd27508f8fb3830c928284cd42f217247a6c741c476a9f651ec6c
7
- data.tar.gz: 745e50fe71acf628cd6dba421b44327234179a099702ac626b7e6718d834cdb51ce2e02f8b7b023beb2ef80445b92223a07d79d007650c9e31e78d1d72307134
6
+ metadata.gz: 4e54fd15d7c8e2eb5551bebdf0cab87064243285195f81febc8138920ed1c3095146c5717575696cd85345189f81b98e19692a0556dff96c803dbd0ae3ef0655
7
+ data.tar.gz: 50065a209b3d9f788fc05a09a61e04b49c60fa7137f1cf726c977157fcf9b718876f1dae956dfd94409e8470c27c82ae4dc38f2ad13fd6ed85b303067ae05cb6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  ## master
2
- [full changelog](https://github.com/sue445/syobocalite/compare/v1.1.0...master)
2
+ [full changelog](https://github.com/sue445/syobocalite/compare/v1.1.1...master)
3
+
4
+ ## 1.1.1
5
+ [full changelog](https://github.com/sue445/syobocalite/compare/v1.1.0...v1.1.1)
6
+
7
+ * Remove duplicated `required_ruby_version`
8
+ * https://github.com/sue445/syobocalite/pull/42
9
+ * Use https://cal.syoboi.jp instead of http://cal.syoboi.jp
10
+ * https://github.com/sue445/syobocalite/pull/43
11
+ * Tweak User-Agent format
12
+ * https://github.com/sue445/syobocalite/pull/44
3
13
 
4
14
  ## 1.1.0
5
15
  [full changelog](https://github.com/sue445/syobocalite/compare/v1.0.1...v1.1.0)
data/README.md CHANGED
@@ -45,7 +45,7 @@ Syobocalite.search(start_at: start_at, end_at: end_at)
45
45
  `Syobocalite.search` returns `Array` of [Syobocalite::Program](lib/syobocalite/program.rb)
46
46
 
47
47
  ## vs. [syobocal](https://github.com/xmisao/syobocal)
48
- * Supports only `http://cal.syoboi.jp/cal_chk.php`
48
+ * Supports only `https://cal.syoboi.jp/cal_chk.php`
49
49
  * Supports `Time` and [ActiveSupport::TimeWithZone](https://api.rubyonrails.org/classes/ActiveSupport/TimeWithZone.html)
50
50
  * Returns array of PORO (NOT array of `Hash`)
51
51
 
@@ -1,3 +1,3 @@
1
1
  module Syobocalite
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
data/lib/syobocalite.rb CHANGED
@@ -28,7 +28,7 @@ module Syobocalite
28
28
 
29
29
  # @return [String]
30
30
  def self.user_agent
31
- "Syobocalite v#{Syobocalite::VERSION}"
31
+ "Syobocalite v#{Syobocalite::VERSION} (+https://github.com/sue445/syobocalite)"
32
32
  end
33
33
 
34
34
  def self.fetch(start_at:, end_at:)
@@ -47,7 +47,7 @@ module Syobocalite
47
47
  "User-Agent" => user_agent,
48
48
  }
49
49
 
50
- URI.open("http://cal.syoboi.jp/cal_chk.php?#{params.to_param}", headers).read
50
+ URI.open("https://cal.syoboi.jp/cal_chk.php?#{params.to_param}", headers).read
51
51
  end
52
52
  private_class_method :fetch
53
53
  end
data/syobocalite.gemspec CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
  spec.homepage = "https://github.com/sue445/syobocalite"
15
15
  spec.license = "MIT"
16
16
 
17
- spec.required_ruby_version = ">= 2.3.0"
17
+ spec.required_ruby_version = ">= 2.5.0"
18
18
 
19
19
  spec.metadata["homepage_uri"] = spec.homepage
20
20
  spec.metadata["source_code_uri"] = spec.homepage
@@ -31,8 +31,6 @@ Gem::Specification.new do |spec|
31
31
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
32
32
  spec.require_paths = ["lib"]
33
33
 
34
- spec.required_ruby_version = ">= 2.5.0"
35
-
36
34
  spec.add_dependency "activesupport"
37
35
  spec.add_dependency "multi_xml"
38
36
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: syobocalite
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-28 00:00:00.000000000 Z
11
+ date: 2024-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport