officetxt 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: b83aaf9dc6f75557d1bc6f79c907a43f7f5233ec
4
+ data.tar.gz: 4a1da83c896ff4de7814499d5283346daf184aed
5
+ SHA512:
6
+ metadata.gz: 19817a956f692aff03cd3d9f039f86204b860eab86948d37b861ed19bba1e992661dfb1af289fb42fce0798f371bea5415eb66a47e7fd2a6935bb002a6b98204
7
+ data.tar.gz: 87d4d65f4a4813fcee585229516aff091c136069a9341717bbbf4579fffb6ea481c88a412fef2d750373778095a2978217fd22d92ccb248b364d2684312aa2f6
@@ -0,0 +1,3 @@
1
+ ### 0.0.1 / 2017-07-23
2
+
3
+ * Everything is new. First release.
@@ -0,0 +1,8 @@
1
+ HISTORY.md
2
+ Manifest.txt
3
+ README.md
4
+ Rakefile
5
+ lib/officetxt.rb
6
+ lib/officetxt/version.rb
7
+ test/helper.rb
8
+ test/test_version.rb
@@ -0,0 +1,28 @@
1
+ # Office.TXT
2
+
3
+ officetxt (Office.TXT) - the free writer's command line tool suite
4
+
5
+
6
+ * home :: [github.com/officetxt/officetxt](https://github.com/officetxt/officetxt)
7
+ * bugs :: [github.com/officetxt/officetxt/issues](https://github.com/officetxt/officetxt/issues)
8
+ * gem :: [rubygems.org/gems/officetxt](https://rubygems.org/gems/officetxt)
9
+ * rdoc :: [rubydoc.info/gems/officetxt](http://rubydoc.info/gems/officetxt)
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 `officetxt` 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/officetxt/version.rb'
3
+
4
+ Hoe.spec 'officetxt' do
5
+
6
+ self.version = Officetxt::VERSION
7
+
8
+ self.summary = "officetxt (Office.TXT) - the free writer's command line tool suite"
9
+ self.description = summary
10
+
11
+ self.urls = ['https://github.com/officetxt/officetxt']
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,14 @@
1
+ # encoding: utf-8
2
+
3
+
4
+ require 'pp'
5
+
6
+ # our own code
7
+ require 'officetxt/version' # note: let version always go first
8
+
9
+
10
+
11
+
12
+
13
+ # say hello
14
+ puts Officetxt.banner if defined?( $RUBYLIBS_DEBUG )
@@ -0,0 +1,20 @@
1
+ # encoding: utf-8
2
+
3
+ module Officetxt
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
+ "officetxt/#{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 Officetxt
@@ -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 'officetxt'
@@ -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 Officetxt::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: officetxt
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-23 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: officetxt (Office.TXT) - the free writer's command line tool suite
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/officetxt.rb
55
+ - lib/officetxt/version.rb
56
+ - test/helper.rb
57
+ - test/test_version.rb
58
+ homepage: https://github.com/officetxt/officetxt
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: officetxt (Office.TXT) - the free writer's command line tool suite
84
+ test_files: []