worldlite 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ ### 0.0.1 / 2014-08-19
2
+
3
+ * Everything is new. First release.
4
+
@@ -0,0 +1,6 @@
1
+ HISTORY.md
2
+ Manifest.txt
3
+ README.md
4
+ Rakefile
5
+ lib/worldlite.rb
6
+ lib/worldlite/version.rb
@@ -0,0 +1,38 @@
1
+ # worldlite - country data (lightweight - all data included as good ol' ruby code - no database, no dependencies)
2
+
3
+ * home :: [github.com/worlddb/world.lite.ruby](https://github.com/worlddb/world.lite.ruby)
4
+ * bugs :: [github.com/worlddb/world.lite.ruby/issues](https://github.com/worlddb/world.lite.ruby/issues)
5
+ * gem :: [rubygems.org/gems/worldlite](https://rubygems.org/gems/worldlite)
6
+ * rdoc :: [rubydoc.info/gems/worldlite](http://rubydoc.info/gems/worldlite)
7
+ * forum :: [groups.google.com/group/openmundi](https://groups.google.com/group/openmundi)
8
+
9
+
10
+ ## Usage
11
+
12
+ TBD
13
+
14
+
15
+
16
+
17
+ ## Alternatives Libraries and Gems
18
+
19
+ Ruby
20
+
21
+ - ??
22
+
23
+ Others
24
+
25
+ TBD
26
+
27
+
28
+ ## License
29
+
30
+ The `worldlite` scripts are dedicated to the public domain.
31
+ Use it as you please with no restrictions whatsoever.
32
+
33
+
34
+ ## Questions? Comments?
35
+
36
+ Send them along to the [Open Mundi (world.db) Database Forum/Mailing List](http://groups.google.com/group/openmundi).
37
+ Thanks!
38
+
@@ -0,0 +1,27 @@
1
+ require 'hoe'
2
+ require './lib/worldlite/version.rb'
3
+
4
+ Hoe.spec 'worldlite' do
5
+
6
+ self.version = WorldLite::VERSION
7
+
8
+ self.summary = "worldlite - country data (lightweight - all data included as good ol' ruby code - no database, no dependencies)"
9
+ self.description = summary
10
+
11
+ self.urls = ['https://github.com/worlddb/world.lite.ruby']
12
+
13
+ self.author = 'Gerald Bauer'
14
+ self.email = 'openmundi@googlegroups.com'
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
27
+
@@ -0,0 +1,13 @@
1
+ # encoding: utf-8
2
+
3
+
4
+
5
+ # our own code
6
+
7
+ require 'worldlite/version' # let it always go first
8
+
9
+
10
+
11
+
12
+
13
+ puts WorldLite.banner ## say hello
@@ -0,0 +1,20 @@
1
+ # encoding: utf-8
2
+
3
+
4
+ module WorldLite
5
+
6
+ MAJOR = 0
7
+ MINOR = 0
8
+ PATCH = 1
9
+ VERSION = [MAJOR,MINOR,PATCH].join('.')
10
+
11
+ def self.banner
12
+ "worldlite/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
13
+ end
14
+
15
+ def self.root
16
+ "#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
17
+ end
18
+
19
+ end
20
+
metadata ADDED
@@ -0,0 +1,80 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: worldlite
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Gerald Bauer
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2014-08-19 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rdoc
16
+ requirement: &73571770 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '4.0'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: *73571770
25
+ - !ruby/object:Gem::Dependency
26
+ name: hoe
27
+ requirement: &73571550 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: '3.11'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *73571550
36
+ description: worldlite - country data (lightweight - all data included as good ol'
37
+ ruby code - no database, no dependencies)
38
+ email: openmundi@googlegroups.com
39
+ executables: []
40
+ extensions: []
41
+ extra_rdoc_files:
42
+ - HISTORY.md
43
+ - Manifest.txt
44
+ - README.md
45
+ files:
46
+ - HISTORY.md
47
+ - Manifest.txt
48
+ - README.md
49
+ - Rakefile
50
+ - lib/worldlite.rb
51
+ - lib/worldlite/version.rb
52
+ homepage: https://github.com/worlddb/world.lite.ruby
53
+ licenses:
54
+ - Public Domain
55
+ post_install_message:
56
+ rdoc_options:
57
+ - --main
58
+ - README.md
59
+ require_paths:
60
+ - lib
61
+ required_ruby_version: !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
66
+ version: 1.9.2
67
+ required_rubygems_version: !ruby/object:Gem::Requirement
68
+ none: false
69
+ requirements:
70
+ - - ! '>='
71
+ - !ruby/object:Gem::Version
72
+ version: '0'
73
+ requirements: []
74
+ rubyforge_project:
75
+ rubygems_version: 1.8.17
76
+ signing_key:
77
+ specification_version: 3
78
+ summary: worldlite - country data (lightweight - all data included as good ol' ruby
79
+ code - no database, no dependencies)
80
+ test_files: []