texti 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a1f7bfe0263aa21d268019737fc87f03541e0184
4
+ data.tar.gz: c520bcb011f15f17060eff599d9062709f251cfb
5
+ SHA512:
6
+ metadata.gz: 691830fbcea8285acb511806f3776b278735ce5e7ba98b1fbe619f73e745844f5af98ed223c3cede87e5b4384b322a5592ec98a13dfe10f2a4bd0600768ce5b4
7
+ data.tar.gz: 63f49c0aff8e84618edcbddb16700bfc2facc8293f52676839f13f78194dc9fca56b93f520783aa58cc5555705c2f00606f474b3b896c9c00a8f76eded67f361
@@ -0,0 +1,3 @@
1
+ ### 0.0.1 / 2017-07-15
2
+
3
+ * Everything is new. First release.
@@ -0,0 +1,8 @@
1
+ HISTORY.md
2
+ Manifest.txt
3
+ README.md
4
+ Rakefile
5
+ lib/texti.rb
6
+ lib/texti/version.rb
7
+ test/helper.rb
8
+ test/test_version.rb
@@ -0,0 +1,28 @@
1
+ # texti
2
+
3
+ texti gem - read / parse text with instructions (.texti)
4
+
5
+
6
+ * home :: [github.com/texti/texti](https://github.com/texti/texti)
7
+ * bugs :: [github.com/texti/texti/issues](https://github.com/texti/texti/issues)
8
+ * gem :: [rubygems.org/gems/texti](https://rubygems.org/gems/texti)
9
+ * rdoc :: [rubydoc.info/gems/texti](http://rubydoc.info/gems/texti)
10
+
11
+
12
+
13
+
14
+ ## Usage
15
+
16
+ to be done
17
+
18
+
19
+ ## License
20
+
21
+ ![](https://publicdomainworks.github.io/buttons/zero88x31.png)
22
+
23
+ The `texti` scripts are dedicated to the public domain.
24
+ Use it as you please with no restrictions whatsoever.
25
+
26
+ ## Questions? Comments?
27
+
28
+ Post them to the [wwwmake forum](http://groups.google.com/group/wwwmake). Thanks!
@@ -0,0 +1,26 @@
1
+ require 'hoe'
2
+ require './lib/texti/version.rb'
3
+
4
+ Hoe.spec 'texti' do
5
+
6
+ self.version = Texti::VERSION
7
+
8
+ self.summary = 'texti - read / parse text with instructions (.texti)'
9
+ self.description = summary
10
+
11
+ self.urls = ['https://github.com/texti/texti']
12
+
13
+ self.author = 'Gerald Bauer'
14
+ self.email = 'ruby-talk@ruby-lang.org'
15
+
16
+ # switch extension to .markdown for gihub formatting
17
+ self.readme_file = 'README.md'
18
+ self.history_file = 'HISTORY.md'
19
+
20
+ self.licenses = ['Public Domain']
21
+
22
+ self.spec_extras = {
23
+ required_ruby_version: '>= 1.9.2'
24
+ }
25
+
26
+ end
@@ -0,0 +1,11 @@
1
+ # encoding: utf-8
2
+
3
+
4
+ require 'pp'
5
+
6
+ # our own code
7
+ require 'texti/version' # note: let version always go first
8
+
9
+
10
+ # say hello
11
+ puts Texti.banner if defined?( $RUBYLIBS_DEBUG )
@@ -0,0 +1,20 @@
1
+ # encoding: utf-8
2
+
3
+ module Texti
4
+ MAJOR = 0 ## todo: namespace inside version or something - why? why not??
5
+ MINOR = 0
6
+ PATCH = 1
7
+ VERSION = [MAJOR,MINOR,PATCH].join('.')
8
+
9
+ def self.version
10
+ VERSION
11
+ end
12
+
13
+ def self.banner
14
+ "texti/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
15
+ end
16
+
17
+ def self.root
18
+ "#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
19
+ end
20
+ end # module Texti
@@ -0,0 +1,10 @@
1
+ # encoding: utf-8
2
+
3
+ ## minitest setup
4
+ require 'minitest/autorun'
5
+
6
+
7
+ $RUBYLIBS_DEBUG = true
8
+
9
+ ## our own code
10
+ require 'texti'
@@ -0,0 +1,21 @@
1
+ # encoding: utf-8
2
+
3
+ ###
4
+ # to run use
5
+ # ruby -I ./lib -I ./test test/test_version.rb
6
+
7
+
8
+ require 'helper'
9
+
10
+
11
+ class TestVersion < MiniTest::Test
12
+
13
+
14
+ def test_version
15
+
16
+ puts Texti::VERSION
17
+ assert true
18
+ ## assume everything ok if get here
19
+ end
20
+
21
+ end # class TestVersion
metadata ADDED
@@ -0,0 +1,84 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: texti
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Gerald Bauer
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-07-15 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rdoc
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: hoe
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.15'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.15'
41
+ description: texti - read / parse text with instructions (.texti)
42
+ email: ruby-talk@ruby-lang.org
43
+ executables: []
44
+ extensions: []
45
+ extra_rdoc_files:
46
+ - HISTORY.md
47
+ - Manifest.txt
48
+ - README.md
49
+ files:
50
+ - HISTORY.md
51
+ - Manifest.txt
52
+ - README.md
53
+ - Rakefile
54
+ - lib/texti.rb
55
+ - lib/texti/version.rb
56
+ - test/helper.rb
57
+ - test/test_version.rb
58
+ homepage: https://github.com/texti/texti
59
+ licenses:
60
+ - Public Domain
61
+ metadata: {}
62
+ post_install_message:
63
+ rdoc_options:
64
+ - "--main"
65
+ - README.md
66
+ require_paths:
67
+ - lib
68
+ required_ruby_version: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 1.9.2
73
+ required_rubygems_version: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ requirements: []
79
+ rubyforge_project:
80
+ rubygems_version: 2.6.7
81
+ signing_key:
82
+ specification_version: 4
83
+ summary: texti - read / parse text with instructions (.texti)
84
+ test_files: []