worlddb-compat 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: 61fdb572960285519604a85114a2947bdabfa639
4
+ data.tar.gz: c48c91bcf15a3e5b0465ff043f42ffb35a4db3b2
5
+ SHA512:
6
+ metadata.gz: 9ebebc83d435ee508904354345306b823e2228cdd97ab28697bdcbacca09adf4e701434c347ab97b000b08d8792ab968aca8d265719182722189a27bcfbe497d
7
+ data.tar.gz: 4fddd21fb8da66377a311662c7796b54294b16adf292cbed15cfb34b9fb71f32c07a8efec15b4bba884981f19ac48a4330aeba2576b33192580d5bf805f6a49a
data/HISTORY.md ADDED
@@ -0,0 +1,4 @@
1
+ ### 0.0.1 / 2015-06-04
2
+
3
+ * Everything is new. First release
4
+
data/Manifest.txt ADDED
@@ -0,0 +1,6 @@
1
+ HISTORY.md
2
+ Manifest.txt
3
+ README.md
4
+ Rakefile
5
+ lib/worlddb/compat.rb
6
+ lib/worlddb/compat/version.rb
data/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # worlddb-compat
2
+
3
+ worlddb-compat gem - world.db addon for backward compatibility (compat)
4
+
5
+ * home :: [github.com/worlddb/world.db.compat](https://github.com/worlddb/world.db.compat)
6
+ * bugs :: [github.com/worlddb/world.db.compat/issues](https://github.com/worlddb/world.db.compat/issues)
7
+ * gem :: [rubygems.org/gems/worlddb-compat](https://rubygems.org/gems/worlddb-compat)
8
+ * rdoc :: [rubydoc.info/gems/worlddb-compat](http://rubydoc.info/gems/worlddb-compat)
9
+ * forum :: [groups.google.com/group/openmundi](https://groups.google.com/group/openmundi)
10
+
11
+
12
+ ## Usage
13
+
14
+ to be done
15
+
16
+
17
+ ## License
18
+
19
+ The `worlddb-compat` scripts are dedicated to the public domain.
20
+ Use it as you please with no restrictions whatsoever.
21
+
22
+ ## Questions? Comments?
23
+
24
+ Send them along to the [Open Mundi (world.db) Database Forum/Mailing List](http://groups.google.com/group/openmundi).
25
+ Thanks!
26
+
data/Rakefile ADDED
@@ -0,0 +1,33 @@
1
+ require 'hoe'
2
+ require './lib/worlddb/compat/version.rb'
3
+
4
+
5
+ Hoe.spec 'worlddb-compat' do
6
+
7
+ self.version = WorldDbCompat::VERSION
8
+
9
+ self.summary = "worlddb-compat - worlddb addon for backward compatibility (compat)"
10
+ self.description = summary
11
+
12
+ self.urls = ['https://github.com/worlddb/world.db.compat']
13
+
14
+ self.author = 'Gerald Bauer'
15
+ self.email = 'openmundi@googlegroups.com'
16
+
17
+ self.extra_deps = [
18
+ ['worlddb-models'],
19
+ ]
20
+
21
+ # switch extension to .markdown for gihub formatting
22
+ # -- NB: auto-changed when included in manifest
23
+ self.readme_file = 'README.md'
24
+ self.history_file = 'HISTORY.md'
25
+
26
+
27
+ self.licenses = ['Public Domain']
28
+
29
+ self.spec_extras = {
30
+ required_ruby_version: '>= 1.9.2'
31
+ }
32
+
33
+ end
@@ -0,0 +1,12 @@
1
+ # encoding: utf-8
2
+
3
+
4
+
5
+ # our own code
6
+
7
+ require 'worlddb/compat/version' # always goes first
8
+
9
+
10
+
11
+ # say hello
12
+ puts WorldDbCompat.banner if $DEBUG || (defined?($RUBYLIBS_DEBUG) && $RUBYLIBS_DEBUG)
@@ -0,0 +1,24 @@
1
+ # encoding: utf-8
2
+
3
+ module WorldDbCompat
4
+
5
+ # sync version w/ world.db n friends - why? why not?
6
+ MAJOR = 0 ## todo: namespace inside version or something - why? why not??
7
+ MINOR = 0
8
+ PATCH = 1
9
+ VERSION = [MAJOR,MINOR,PATCH].join('.')
10
+
11
+ def self.version
12
+ VERSION
13
+ end
14
+
15
+ def self.banner
16
+ "worlddb-compat/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
17
+ end
18
+
19
+ def self.root
20
+ "#{File.expand_path( File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) )}"
21
+ end
22
+
23
+ end
24
+
metadata ADDED
@@ -0,0 +1,96 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: worlddb-compat
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-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: worlddb-models
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rdoc
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '4.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '4.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: hoe
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.13'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.13'
55
+ description: worlddb-compat - worlddb addon for backward compatibility (compat)
56
+ email: openmundi@googlegroups.com
57
+ executables: []
58
+ extensions: []
59
+ extra_rdoc_files:
60
+ - HISTORY.md
61
+ - Manifest.txt
62
+ - README.md
63
+ files:
64
+ - HISTORY.md
65
+ - Manifest.txt
66
+ - README.md
67
+ - Rakefile
68
+ - lib/worlddb/compat.rb
69
+ - lib/worlddb/compat/version.rb
70
+ homepage: https://github.com/worlddb/world.db.compat
71
+ licenses:
72
+ - Public Domain
73
+ metadata: {}
74
+ post_install_message:
75
+ rdoc_options:
76
+ - "--main"
77
+ - README.md
78
+ require_paths:
79
+ - lib
80
+ required_ruby_version: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: 1.9.2
85
+ required_rubygems_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ requirements: []
91
+ rubyforge_project:
92
+ rubygems_version: 2.4.2
93
+ signing_key:
94
+ specification_version: 4
95
+ summary: worlddb-compat - worlddb addon for backward compatibility (compat)
96
+ test_files: []