newsweek 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e3215eb4c7e87f5ba720fd8c9c7a61f771fab9a2
4
+ data.tar.gz: f88f30c26c8ad97fedbbbdb46d7335eeaddc9389
5
+ SHA512:
6
+ metadata.gz: aefdfce29837d87f45f15197892701451b41baa476757312f99c7c21840e18f380c0f372e2a6f2ec70feba0e94ba198da6642cf500cff0be489b98970024e9a9
7
+ data.tar.gz: 8113ad2aa231085a06a43beb40b958621f2f3689029bf09b2b4384b1a230f928614fa937895de01ff61e6ed0a9498d858b43f85802f2111ec073f5f9ff7f97ce
data/CHANGELOG.md ADDED
@@ -0,0 +1,4 @@
1
+ ### 0.0.1 / 2020-02-14
2
+
3
+ * Everything is new. First release.
4
+
data/Manifest.txt ADDED
@@ -0,0 +1,8 @@
1
+ CHANGELOG.md
2
+ Manifest.txt
3
+ README.md
4
+ Rakefile
5
+ lib/newsweek.rb
6
+ lib/newsweek/version.rb
7
+ test/helper.rb
8
+ test/test_tool.rb
data/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # newsweek gem - what's news? browse week by week - 99 channels, 1237 items
2
+
3
+
4
+ * home :: [github.com/feedreader/planets](https://github.com/feedreader/planets)
5
+ * bugs :: [github.com/feedreader/planets/issues](https://github.com/feedreader/planets/issues)
6
+ * gem :: [rubygems.org/gems/newsweek](https://rubygems.org/gems/newsweek)
7
+ * rdoc :: [rubydoc.info/gems/newsweek](http://rubydoc.info/gems/newsweek)
8
+ * forum :: [groups.google.com/group/wwwmake](http://groups.google.com/group/wwwmake)
9
+
10
+
11
+ ## Usage
12
+
13
+ TBD
14
+
15
+
16
+ ## License
17
+
18
+ The `newsweek` scripts are dedicated to the public domain.
19
+ Use it as you please with no restrictions whatsoever.
20
+
21
+ ## Questions? Comments?
22
+
23
+ Send them along to the [wwwmake Forum/Mailing List](http://groups.google.com/group/wwwmake).
24
+ Thanks!
data/Rakefile ADDED
@@ -0,0 +1,28 @@
1
+ require 'hoe'
2
+ require './lib/newsweek/version.rb'
3
+
4
+ Hoe.spec 'newsweek' do
5
+
6
+ self.version = Newsweek::VERSION
7
+
8
+ self.summary = "newsweek - what's news? browse week by week - 99 channels, 1237 items"
9
+ self.description = summary
10
+
11
+ self.urls = ['https://github.com/feedreader/planets']
12
+
13
+ self.author = 'Gerald Bauer'
14
+ self.email = 'wwwmake@googlegroups.com'
15
+
16
+ # switch extension to .markdown for gihub formatting
17
+ self.readme_file = 'README.md'
18
+ self.history_file = 'CHANGELOG.md'
19
+
20
+ self.extra_deps = []
21
+
22
+ self.licenses = ['Public Domain']
23
+
24
+ self.spec_extras = {
25
+ required_ruby_version: '>= 2.2.2'
26
+ }
27
+
28
+ end
data/lib/newsweek.rb ADDED
@@ -0,0 +1,9 @@
1
+
2
+
3
+ # our own code
4
+ require 'newsweek/version' # note: let version always go first
5
+
6
+
7
+
8
+ # say hello
9
+ puts Newsweek.banner if defined?( $RUBYLIBS_DEBUG )
@@ -0,0 +1,21 @@
1
+
2
+ module Newsweek
3
+ MAJOR = 0 ## todo: namespace inside version or something - why? why not??
4
+ MINOR = 0
5
+ PATCH = 1
6
+ VERSION = [MAJOR,MINOR,PATCH].join('.')
7
+
8
+ def self.version
9
+ VERSION
10
+ end
11
+
12
+ def self.banner
13
+ "newsweek/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
14
+ end
15
+
16
+ def self.root
17
+ "#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
18
+ end
19
+ end # module Newsweek
20
+
21
+
data/test/helper.rb ADDED
@@ -0,0 +1,10 @@
1
+
2
+ ## minitest setup
3
+ require 'minitest/autorun'
4
+
5
+
6
+ $RUBYLIBS_DEBUG = true
7
+
8
+ ## our own code
9
+ require 'newsweek'
10
+
data/test/test_tool.rb ADDED
@@ -0,0 +1,18 @@
1
+ ###
2
+ # to run use
3
+ # ruby -I ./lib -I ./test test/test_tool.rb
4
+
5
+
6
+ require 'helper'
7
+
8
+
9
+ class TestTool < MiniTest::Test
10
+
11
+
12
+ def test_main
13
+
14
+ assert true
15
+ ## assume everything ok if get here
16
+ end
17
+
18
+ end # class TestTool
metadata ADDED
@@ -0,0 +1,84 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: newsweek
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: 2020-02-24 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.16'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.16'
41
+ description: newsweek - what's news? browse week by week - 99 channels, 1237 items
42
+ email: wwwmake@googlegroups.com
43
+ executables: []
44
+ extensions: []
45
+ extra_rdoc_files:
46
+ - CHANGELOG.md
47
+ - Manifest.txt
48
+ - README.md
49
+ files:
50
+ - CHANGELOG.md
51
+ - Manifest.txt
52
+ - README.md
53
+ - Rakefile
54
+ - lib/newsweek.rb
55
+ - lib/newsweek/version.rb
56
+ - test/helper.rb
57
+ - test/test_tool.rb
58
+ homepage: https://github.com/feedreader/planets
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: 2.2.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.5.2
81
+ signing_key:
82
+ specification_version: 4
83
+ summary: newsweek - what's news? browse week by week - 99 channels, 1237 items
84
+ test_files: []