plain_text 0.5 → 0.5.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 +4 -4
- data/ChangeLog +5 -0
- data/Makefile +2 -1
- data/README.en.rdoc +2 -2
- data/plain_text.gemspec +3 -3
- metadata +1 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60f47c9a9c507596cfd75eef54b85fdbd21e82a005c0708c6e30533d9260080f
|
4
|
+
data.tar.gz: f8026cb15e06f85ce18d60446c1086deced870a80e9c9c6325afd1d968754134
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a29d52f5a51ca13b6a190937265aea43f80d665e838682f479f8aaf9d2771f0fbda885433e82cac87b2d928ab8dfdfdba5373431a5b7b9fa7b532c412b178bb6
|
7
|
+
data.tar.gz: 1408761cf59637779a122c7b6c497b4a3f45cc42358b089bef4e4f17b8b590fb9679dc69c5feb790094dac3f026b3769d9b73feb261bdc46c04e7edf6ee5d09a
|
data/ChangeLog
CHANGED
data/Makefile
CHANGED
@@ -18,6 +18,7 @@ clean:
|
|
18
18
|
test:
|
19
19
|
rake test
|
20
20
|
|
21
|
+
## yard2md_afterclean in Gem plain_text https://rubygems.org/gems/plain_text
|
21
22
|
doc:
|
22
|
-
yard doc
|
23
|
+
yard doc; [[ -x ".github" && ( "README.en.rdoc" -nt ".github/README.md" ) ]] && ( ruby -r rdoc -e 'puts RDoc::Markup::ToMarkdown.new.convert ARGF.read' < README.en.rdoc | yard2md_afterclean > .github/.README.md && mv .github/.README.md .github/README.md && echo ".github/README.md is updated." ) || exit 0
|
23
24
|
|
data/README.en.rdoc
CHANGED
@@ -243,8 +243,8 @@ can view it in
|
|
243
243
|
{RubyGems/plain_text}[https://rubygems.org/gems/plain_text] .
|
244
244
|
|
245
245
|
The source code is maintained also in
|
246
|
-
{Github}[https://github.com/masasakano/plain_text]
|
247
|
-
interface for annotation
|
246
|
+
{Github}[https://github.com/masasakano/plain_text] with no intuitive
|
247
|
+
interface for annotation but with easily-browsable {ChangeLog}[https://github.com/masasakano/plain_text/blob/master/ChangeLog]
|
248
248
|
|
249
249
|
=== Tests
|
250
250
|
|
data/plain_text.gemspec
CHANGED
@@ -5,7 +5,7 @@ require 'date'
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{plain_text}.sub(/.*/){|c| (c == File.basename(Dir.pwd)) ? c : raise("ERROR: s.name=(#{c}) in gemspec seems wrong!")}
|
8
|
-
s.version = "0.5".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 = "0.5.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.
|
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(countchar textclean head.rb tail.rb yard2md_afterclean).each do |f|
|
@@ -48,8 +48,8 @@ Gem::Specification.new do |s|
|
|
48
48
|
# s.rubygems_version = %q{1.3.5} # This is always set automatically!!
|
49
49
|
|
50
50
|
s.metadata["yard.run"] = "yri" # use "yard" to build full HTML docs.
|
51
|
-
s.metadata["changelog_uri"] = "https://github.com/masasakano/#{s.name}/blob/master/ChangeLog"
|
52
|
-
s.metadata["source_code_uri"] = "https://github.com/masasakano/#{s.name}"
|
51
|
+
# s.metadata["changelog_uri"] = "https://github.com/masasakano/#{s.name}/blob/master/ChangeLog"
|
52
|
+
# s.metadata["source_code_uri"] = "https://github.com/masasakano/#{s.name}"
|
53
53
|
# s.metadata["documentation_uri"] = "https://www.example.info/gems/bestgemever/0.0.1"
|
54
54
|
end
|
55
55
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plain_text
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masa Sakano
|
@@ -59,8 +59,6 @@ licenses:
|
|
59
59
|
- MIT
|
60
60
|
metadata:
|
61
61
|
yard.run: yri
|
62
|
-
changelog_uri: https://github.com/masasakano/plain_text/blob/master/ChangeLog
|
63
|
-
source_code_uri: https://github.com/masasakano/plain_text
|
64
62
|
post_install_message:
|
65
63
|
rdoc_options:
|
66
64
|
- "--charset=UTF-8"
|