whatson 0.0.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 +7 -0
- data/HISTORY.md +3 -0
- data/Manifest.txt +6 -0
- data/README.md +28 -0
- data/Rakefile +29 -0
- data/lib/whatson/version.rb +23 -0
- data/lib/whatson.rb +13 -0
- metadata +82 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: c0c2c41be502fe9fba8b1b581877215d3154d586
|
|
4
|
+
data.tar.gz: 21e9dddf9ab0f2aa9afd712f0a74d49b7226d762
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 59e5ef44aaf67a19f947e623e3b51a8b7ec9796bb269d2db460bfa702365befef8e6471fe60be670a98e50db1ab0635e673b5e64ea24d234ddcdec42f8e089bd
|
|
7
|
+
data.tar.gz: 760fec465fe55dbc00728bf1e581bfc74edb206557ef75e5002524c44c2a917e9c3101beeb04a6df925655f451e7f6c787ab28725809ae4c2ef47ec09f07ea9f
|
data/HISTORY.md
ADDED
data/Manifest.txt
ADDED
data/README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# whatson
|
|
2
|
+
|
|
3
|
+
what's on now command line tool (using the event.db machinery)
|
|
4
|
+
|
|
5
|
+
* home :: [github.com/textkit/whatson](https://github.com/textkit/whatson)
|
|
6
|
+
* bugs :: [github.com/textkit/whatson/issues](https://github.com/textkit/whatson/issues)
|
|
7
|
+
* gem :: [rubygems.org/gems/whatson](https://rubygems.org/gems/whatson)
|
|
8
|
+
* rdoc :: [rubydoc.info/gems/whatson](http://rubydoc.info/gems/whatson)
|
|
9
|
+
* forum :: [ruby-talk@ruby-lang.org](http://www.ruby-lang.org/en/community/mailing-lists)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## Usage
|
|
13
|
+
|
|
14
|
+
to be done
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## Install
|
|
18
|
+
|
|
19
|
+
Just install the gem:
|
|
20
|
+
|
|
21
|
+
$ gem install whatson
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
## License
|
|
25
|
+
|
|
26
|
+
The `whatson` scripts are dedicated to the public domain.
|
|
27
|
+
Use it as you please with no restrictions whatsoever.
|
|
28
|
+
|
data/Rakefile
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
require 'hoe'
|
|
2
|
+
require './lib/whatson/version.rb'
|
|
3
|
+
|
|
4
|
+
Hoe.spec 'whatson' do
|
|
5
|
+
|
|
6
|
+
self.version = WhatsOn::VERSION
|
|
7
|
+
|
|
8
|
+
self.summary = "whatson - what's on now command line tool (using the event.db machinery)"
|
|
9
|
+
self.description = summary
|
|
10
|
+
|
|
11
|
+
self.urls = ['https://github.com/textkit/whatson']
|
|
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.extra_deps = [
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
self.licenses = ['Public Domain']
|
|
24
|
+
|
|
25
|
+
self.spec_extras = {
|
|
26
|
+
required_ruby_version: '>= 1.9.2'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
|
|
3
|
+
module WhatsOn
|
|
4
|
+
|
|
5
|
+
MAJOR = 0 ## todo: namespace inside version or something - why? why not??
|
|
6
|
+
MINOR = 0
|
|
7
|
+
PATCH = 1
|
|
8
|
+
VERSION = [MAJOR,MINOR,PATCH].join('.')
|
|
9
|
+
|
|
10
|
+
def self.version
|
|
11
|
+
VERSION
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
def self.banner
|
|
15
|
+
"whatson/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def self.root
|
|
19
|
+
"#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
end # module WhatsOn
|
|
23
|
+
|
data/lib/whatson.rb
ADDED
metadata
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: whatson
|
|
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: 2015-06-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.13'
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '3.13'
|
|
41
|
+
description: whatson - what's on now command line tool (using the event.db machinery)
|
|
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/whatson.rb
|
|
55
|
+
- lib/whatson/version.rb
|
|
56
|
+
homepage: https://github.com/textkit/whatson
|
|
57
|
+
licenses:
|
|
58
|
+
- Public Domain
|
|
59
|
+
metadata: {}
|
|
60
|
+
post_install_message:
|
|
61
|
+
rdoc_options:
|
|
62
|
+
- "--main"
|
|
63
|
+
- README.md
|
|
64
|
+
require_paths:
|
|
65
|
+
- lib
|
|
66
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
67
|
+
requirements:
|
|
68
|
+
- - ">="
|
|
69
|
+
- !ruby/object:Gem::Version
|
|
70
|
+
version: 1.9.2
|
|
71
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0'
|
|
76
|
+
requirements: []
|
|
77
|
+
rubyforge_project:
|
|
78
|
+
rubygems_version: 2.4.2
|
|
79
|
+
signing_key:
|
|
80
|
+
specification_version: 4
|
|
81
|
+
summary: whatson - what's on now command line tool (using the event.db machinery)
|
|
82
|
+
test_files: []
|