sub_object 1.0.1 → 1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cba7eccff10ce8fb7481c89515c1a249457c6cb71bb221f8fea20f5f9de00c20
4
- data.tar.gz: 708f9c6c8b60c4b846eed1e5c0c7f682885b311f129105c5c1ced09b850fbc5b
3
+ metadata.gz: 14346f60c61e9934272e9530515e99e0956658831291d1982a7941f507e30190
4
+ data.tar.gz: 20eb48e09c3b0287e88f81dc3921f436809dd391a3637eccf47f8c6f1a60d875
5
5
  SHA512:
6
- metadata.gz: faf7f261efb2304b693a4b9868a4c1d828a2a7dff32630a27b70b387d77fba5c41a8b2e37ad6c3f094ee9f33146d2048c5f46cd6b8b5e691b33dc76af872a7dd
7
- data.tar.gz: 735655afd567b92ba9400924aa0ee4ac1841429eceb97ea74cae4281bc1e8e8d23c7165e40efd028ac6c2150ed9f267637fa15a499bd4c0371723a774a3dd410
6
+ metadata.gz: ecc193b15d20eaee183536ee892a02150e1e079622b1b8576cd1d3d6aa13c90ba88906348c46ceecdca8f4195274848e1c7c9877f6aa06edacbd2e8cf902c44f
7
+ data.tar.gz: fd77c5894e90aedda767e588419133840b2628d96faedfdac981eaf444c4ef14ec9964bb87ec6c1316f4e880d3a600534fbec9d76d4039feda77ee47e8485407
data/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ -----
2
+ (Version: 1.0.2)
3
+ 2019-11-07 Masa Sakano
4
+ * Added ChangeLog to the package (which I had forgotten to add).
5
+
1
6
  -----
2
7
  (Version: 1.0.1)
3
8
  2019-11-07 Masa Sakano
data/README.en.rdoc CHANGED
@@ -269,6 +269,10 @@ Or, alternatively, download it and put the library file in one of your Ruby libr
269
269
  The master of this README file is found in
270
270
  {RubyGems/sub_object}[https://rubygems.org/gems/sub_object]
271
271
 
272
+ The source code is maintained also in
273
+ {Github}[https://github.com/masasakano/sub_object] with no intuitive
274
+ interface for annotation but with easily-browsable {ChangeLog}[https://github.com/masasakano/sub_object/blob/master/ChangeLog]
275
+
272
276
  === Tests
273
277
 
274
278
  Ruby codes under the directory <tt>test/</tt> are the test scripts.
data/sub_object.gemspec CHANGED
@@ -5,7 +5,7 @@ require 'date'
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = 'sub_object'.sub(/.*/){|c| (c == File.basename(Dir.pwd)) ? c : raise("ERROR: s.name=(#{c}) in gemspec seems wrong!")}
8
- s.version = "1.0.1".sub(/.*/){|c| fs = Dir.glob('changelog{,.*}', File::FNM_CASEFOLD); raise('More than one ChangeLog exist!') if fs.size > 1; warn("WARNING: Version(s.version=#{c}) already exists in #{fs[0]} - ok?") if fs.size == 1 && !IO.readlines(fs[0]).grep(/^\(Version: #{Regexp.quote c}\)$/).empty? ; c } # n.b., In macOS, changelog and ChangeLog are identical in default.
8
+ s.version = "1.0.2".sub(/.*/){|c| fs = Dir.glob('changelog{,.*}', File::FNM_CASEFOLD); raise('More than one ChangeLog exist!') if fs.size > 1; warn("WARNING: Version(s.version=#{c}) already exists in #{fs[0]} - ok?") if fs.size == 1 && !IO.readlines(fs[0]).grep(/^\(Version: #{Regexp.quote c}\)$/).empty? ; c } # n.b., In macOS, changelog and ChangeLog are identical in default.
9
9
  # s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
10
10
  # s.bindir = 'bin'
11
11
  # %w(sub_object).each do |f|
@@ -49,7 +49,7 @@ Gem::Specification.new do |s|
49
49
 
50
50
  ## cf. https://guides.rubygems.org/specification-reference/#metadata
51
51
  s.metadata["yard.run"] = "yri" # use "yard" to build full HTML docs.
52
- s.metadata["changelog_uri"] = "https://github.com/masasakano/#{s.name}/blob/master/ChangeLog"
52
+ # s.metadata["changelog_uri"] = "https://github.com/masasakano/#{s.name}/blob/master/ChangeLog"
53
53
  # s.metadata["source_code_uri"] = "https://github.com/masasakano/sub_object"
54
54
  # s.metadata["documentation_uri"] = "https://www.example.info/gems/bestgemever/0.0.1"
55
55
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sub_object
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masa Sakano
@@ -37,7 +37,6 @@ licenses:
37
37
  - MIT
38
38
  metadata:
39
39
  yard.run: yri
40
- changelog_uri: https://github.com/masasakano/sub_object/blob/master/ChangeLog
41
40
  post_install_message:
42
41
  rdoc_options:
43
42
  - "--charset=UTF-8"