Tamar 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (11) hide show
  1. data/.document +5 -0
  2. data/.rvmrc +27 -0
  3. data/Gemfile +34 -0
  4. data/Gemfile.lock +43 -0
  5. data/HISTORY +35 -0
  6. data/LICENSE.txt +20 -0
  7. data/README.rdoc +19 -0
  8. data/Rakefile +96 -0
  9. data/Tamar.gemspec +70 -0
  10. data/VERSION +1 -0
  11. metadata +156 -0
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.rvmrc ADDED
@@ -0,0 +1,27 @@
1
+ ruby_string="ruby-1.9.2-p180"
2
+ gemset_name="tamar"
3
+
4
+ if rvm list strings | grep -q "${ruby_string}" ; then
5
+
6
+ # Load or create the specified environment
7
+ if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
8
+ && -s "${rvm_path:-$HOME/.rvm}/environments/${ruby_string}@${gemset_name}" ]] ; then
9
+ \. "${rvm_path:-$HOME/.rvm}/environments/${ruby_string}@${gemset_name}"
10
+ else
11
+ rvm --create "${ruby_string}@${gemset_name}"
12
+ fi
13
+
14
+ # Ensure that Bundler is installed, install it if it is not.
15
+ if ! command -v bundle ; then
16
+ gem install bundler
17
+ fi
18
+
19
+ # Bundle while reducing excess noise.
20
+ bundle | grep -v 'Using' | grep -v 'complete' | sed '/^$/d'
21
+
22
+ else
23
+
24
+ # Notify the user to install the desired interpreter before proceeding.
25
+ echo "${ruby_string} was not found, please run 'rvm install ${ruby_string}' and then cd back into the project directory."
26
+
27
+ fi
data/Gemfile ADDED
@@ -0,0 +1,34 @@
1
+ ###
2
+ ### Sources
3
+ ###
4
+
5
+ # Main Ruby Gems site
6
+ source "http://rubygems.org"
7
+
8
+ ###
9
+ ### Core Gems. These are required in _all_ environments (additional environments
10
+ ### follow).
11
+ ###
12
+
13
+
14
+ ###
15
+ ### Development Gems. All _additional_ gems required by development (as opposed to
16
+ ### production environments). If it is required at run-time, it
17
+ ### belongs above.
18
+ group :development do
19
+
20
+ # Gem management tools
21
+ gem "bundler", "~> 1.0.0"
22
+ gem "jeweler", "~> 1.6.0"
23
+
24
+ # Documentation Tools
25
+ gem "yard", "~> 0.6.0"
26
+ gem "vclog"
27
+
28
+ # Testing Tools
29
+ gem "minitest", ">= 0"
30
+ gem "rcov", ">= 0"
31
+ gem "riot"
32
+ gem "reek", "~> 1.2.8"
33
+
34
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,43 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ ansi (1.2.5)
5
+ facets (2.9.1)
6
+ git (1.2.5)
7
+ jeweler (1.6.0)
8
+ bundler (~> 1.0.0)
9
+ git (>= 1.2.5)
10
+ rake
11
+ minitest (2.1.0)
12
+ rake (0.9.0)
13
+ rcov (0.9.9)
14
+ reek (1.2.8)
15
+ ruby2ruby (~> 1.2)
16
+ ruby_parser (~> 2.0)
17
+ sexp_processor (~> 3.0)
18
+ riot (0.12.3)
19
+ rr
20
+ rr (1.0.2)
21
+ ruby2ruby (1.2.5)
22
+ ruby_parser (~> 2.0)
23
+ sexp_processor (~> 3.0)
24
+ ruby_parser (2.0.6)
25
+ sexp_processor (~> 3.0)
26
+ sexp_processor (3.0.5)
27
+ vclog (1.8.1)
28
+ ansi (>= 1.2)
29
+ facets (>= 2.4)
30
+ yard (0.6.8)
31
+
32
+ PLATFORMS
33
+ ruby
34
+
35
+ DEPENDENCIES
36
+ bundler (~> 1.0.0)
37
+ jeweler (~> 1.6.0)
38
+ minitest
39
+ rcov
40
+ reek (~> 1.2.8)
41
+ riot
42
+ vclog
43
+ yard (~> 0.6.0)
data/HISTORY ADDED
@@ -0,0 +1,35 @@
1
+ RELEASE HISTORY
2
+
3
+ v0.7.0 / 2011-05-23
4
+
5
+ Regenerate gemspec for version 0.7.0 (David Love david@homeunix.org.uk)
6
+
7
+ Changes:
8
+
9
+ * 1 Patch Enhancements
10
+
11
+ * Add infrastrcuture for the Ruby gem
12
+
13
+ * 1 General Enhancements
14
+
15
+ * Initial commit to Tamar.
16
+
17
+
18
+ HEAD / 2011-05-24
19
+
20
+ Current Development (David Love)
21
+
22
+ Changes:
23
+
24
+ * 3 General Enhancements
25
+
26
+ * Regenerate gemspec for version 0.7.0
27
+ * Regenerate gemspec for version 0.7.0
28
+ * Regenerate gemspec for version 0.7.0
29
+
30
+ * 3 Patch Enhancements
31
+
32
+ * Remove test boilerplate
33
+ * Update gemspec
34
+ * Remove boilerplate library
35
+
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 David Love
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,19 @@
1
+ = Tamar
2
+
3
+ Description goes here.
4
+
5
+ == Contributing to Tamar
6
+
7
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
8
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
9
+ * Fork the project
10
+ * Start a feature/bugfix branch
11
+ * Commit and push until you are happy with your contribution
12
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
+
15
+ == Copyright
16
+
17
+ Copyright (c) 2011 David Love. See LICENSE.txt for
18
+ further details.
19
+
data/Rakefile ADDED
@@ -0,0 +1,96 @@
1
+ # Copyright (c) 2011 David Love
2
+ #
3
+ # Permission to use, copy, modify, and/or distribute this software for
4
+ # any purpose with or without fee is hereby granted, provided that the
5
+ # above copyright notice and this permission notice appear in all copies.
6
+ #
7
+ # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8
+ # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9
+ # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10
+ # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11
+ # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12
+ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13
+ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14
+ #
15
+ # encoding: utf-8
16
+
17
+ ###
18
+ ### Set-up. Actions to run before all tasks
19
+ ###
20
+
21
+ ## Use Bundler to make sure the gem environment is up-to-date
22
+ require 'rubygems'
23
+ require 'bundler'
24
+ begin
25
+ Bundler.setup(:default, :development)
26
+ rescue Bundler::BundlerError => e
27
+ $stderr.puts e.message
28
+ $stderr.puts "Run `bundle install` to install missing gems"
29
+ exit e.status_code
30
+ end
31
+ require 'rake'
32
+
33
+ ###
34
+ ### Gemspec. Mangage the creation of the relevant gem and gemspec files. Most of this
35
+ ### is delegated to Jeweler
36
+ ###
37
+
38
+ require 'jeweler'
39
+ Jeweler::Tasks.new do |gem|
40
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
41
+ gem.name = "Tamar"
42
+ gem.homepage = "http://rubyluabridge.rubyforge.org"
43
+ gem.license = "BSD"
44
+ gem.summary = "Tamar is an UNOFFICIAL package of RubyLuaBridge, which lets you access Lua from Ruby"
45
+ gem.description = "See: http://rubyluabridge.rubyforge.org"
46
+ gem.email = "david@homeunix.org.uk"
47
+ gem.authors = ["Evan Wies, David Love"]
48
+ # dependencies defined in Gemfile
49
+ end
50
+ Jeweler::RubygemsDotOrgTasks.new
51
+
52
+ ###
53
+ ### Testing. Run the unit/system/integration tests
54
+ ###
55
+
56
+ require 'rake/testtask'
57
+
58
+ desc "Run all our tests"
59
+ task :test do
60
+ Rake::TestTask.new do |t|
61
+ t.libs << "test"
62
+ t.verbose = false
63
+
64
+ # List of files. We need to specifiy these explicity so they
65
+ # are loaded in the correct order: init, data, then the tests
66
+ # themselves
67
+ t.test_files = []
68
+ end
69
+ end
70
+
71
+ ## Set testing as the default action
72
+ task :default => :test
73
+
74
+ ###
75
+ ### Documentation. Generate/update the project documentation
76
+ ###
77
+
78
+ ## Use Yard to generate the documentations
79
+ require 'yard'
80
+ YARD::Rake::YardocTask.new
81
+
82
+ ###
83
+ ### Release. Additional actions to take when releasing the gem
84
+ ###
85
+
86
+ ## Additional actions for the release task
87
+ task :before_release do
88
+ # Update the HISTORY file
89
+ `vclog history -f gnu > HISTORY`
90
+ `git commit -a -m "Update HISTORY file"`
91
+ end
92
+
93
+ ## Update the HISTORY file before a version bump
94
+ Rake::Task["version:bump:major"].enhance([:before_release])
95
+ Rake::Task["version:bump:minor"].enhance([:before_release])
96
+ Rake::Task["version:bump:patch"].enhance([:before_release])
data/Tamar.gemspec ADDED
@@ -0,0 +1,70 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{Tamar}
8
+ s.version = "0.7.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Evan Wies, David Love"]
12
+ s.date = %q{2011-05-23}
13
+ s.description = %q{See: http://rubyluabridge.rubyforge.org}
14
+ s.email = %q{david@homeunix.org.uk}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".rvmrc",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "HISTORY",
25
+ "LICENSE.txt",
26
+ "README.rdoc",
27
+ "Rakefile",
28
+ "Tamar.gemspec",
29
+ "VERSION"
30
+ ]
31
+ s.homepage = %q{http://rubyluabridge.rubyforge.org}
32
+ s.licenses = ["BSD"]
33
+ s.require_paths = ["lib"]
34
+ s.rubygems_version = %q{1.6.2}
35
+ s.summary = %q{Tamar is an UNOFFICIAL package of RubyLuaBridge, which lets you access Lua from Ruby}
36
+
37
+ if s.respond_to? :specification_version then
38
+ s.specification_version = 3
39
+
40
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
41
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
42
+ s.add_development_dependency(%q<jeweler>, ["~> 1.6.0"])
43
+ s.add_development_dependency(%q<yard>, ["~> 0.6.0"])
44
+ s.add_development_dependency(%q<vclog>, [">= 0"])
45
+ s.add_development_dependency(%q<minitest>, [">= 0"])
46
+ s.add_development_dependency(%q<rcov>, [">= 0"])
47
+ s.add_development_dependency(%q<riot>, [">= 0"])
48
+ s.add_development_dependency(%q<reek>, ["~> 1.2.8"])
49
+ else
50
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
51
+ s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
52
+ s.add_dependency(%q<yard>, ["~> 0.6.0"])
53
+ s.add_dependency(%q<vclog>, [">= 0"])
54
+ s.add_dependency(%q<minitest>, [">= 0"])
55
+ s.add_dependency(%q<rcov>, [">= 0"])
56
+ s.add_dependency(%q<riot>, [">= 0"])
57
+ s.add_dependency(%q<reek>, ["~> 1.2.8"])
58
+ end
59
+ else
60
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
61
+ s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
62
+ s.add_dependency(%q<yard>, ["~> 0.6.0"])
63
+ s.add_dependency(%q<vclog>, [">= 0"])
64
+ s.add_dependency(%q<minitest>, [">= 0"])
65
+ s.add_dependency(%q<rcov>, [">= 0"])
66
+ s.add_dependency(%q<riot>, [">= 0"])
67
+ s.add_dependency(%q<reek>, ["~> 1.2.8"])
68
+ end
69
+ end
70
+
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.7.1
metadata ADDED
@@ -0,0 +1,156 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: Tamar
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.7.1
6
+ platform: ruby
7
+ authors:
8
+ - Evan Wies, David Love
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-05-23 00:00:00 +01:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: bundler
18
+ requirement: &id001 !ruby/object:Gem::Requirement
19
+ none: false
20
+ requirements:
21
+ - - ~>
22
+ - !ruby/object:Gem::Version
23
+ version: 1.0.0
24
+ type: :development
25
+ prerelease: false
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
28
+ name: jeweler
29
+ requirement: &id002 !ruby/object:Gem::Requirement
30
+ none: false
31
+ requirements:
32
+ - - ~>
33
+ - !ruby/object:Gem::Version
34
+ version: 1.6.0
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: *id002
38
+ - !ruby/object:Gem::Dependency
39
+ name: yard
40
+ requirement: &id003 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 0.6.0
46
+ type: :development
47
+ prerelease: false
48
+ version_requirements: *id003
49
+ - !ruby/object:Gem::Dependency
50
+ name: vclog
51
+ requirement: &id004 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: "0"
57
+ type: :development
58
+ prerelease: false
59
+ version_requirements: *id004
60
+ - !ruby/object:Gem::Dependency
61
+ name: minitest
62
+ requirement: &id005 !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: "0"
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: *id005
71
+ - !ruby/object:Gem::Dependency
72
+ name: rcov
73
+ requirement: &id006 !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: "0"
79
+ type: :development
80
+ prerelease: false
81
+ version_requirements: *id006
82
+ - !ruby/object:Gem::Dependency
83
+ name: riot
84
+ requirement: &id007 !ruby/object:Gem::Requirement
85
+ none: false
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: "0"
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: *id007
93
+ - !ruby/object:Gem::Dependency
94
+ name: reek
95
+ requirement: &id008 !ruby/object:Gem::Requirement
96
+ none: false
97
+ requirements:
98
+ - - ~>
99
+ - !ruby/object:Gem::Version
100
+ version: 1.2.8
101
+ type: :development
102
+ prerelease: false
103
+ version_requirements: *id008
104
+ description: "See: http://rubyluabridge.rubyforge.org"
105
+ email: david@homeunix.org.uk
106
+ executables: []
107
+
108
+ extensions: []
109
+
110
+ extra_rdoc_files:
111
+ - LICENSE.txt
112
+ - README.rdoc
113
+ files:
114
+ - .document
115
+ - .rvmrc
116
+ - Gemfile
117
+ - Gemfile.lock
118
+ - HISTORY
119
+ - LICENSE.txt
120
+ - README.rdoc
121
+ - Rakefile
122
+ - Tamar.gemspec
123
+ - VERSION
124
+ has_rdoc: true
125
+ homepage: http://rubyluabridge.rubyforge.org
126
+ licenses:
127
+ - BSD
128
+ post_install_message:
129
+ rdoc_options: []
130
+
131
+ require_paths:
132
+ - lib
133
+ required_ruby_version: !ruby/object:Gem::Requirement
134
+ none: false
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ hash: 208978503298443823
139
+ segments:
140
+ - 0
141
+ version: "0"
142
+ required_rubygems_version: !ruby/object:Gem::Requirement
143
+ none: false
144
+ requirements:
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ version: "0"
148
+ requirements: []
149
+
150
+ rubyforge_project:
151
+ rubygems_version: 1.6.2
152
+ signing_key:
153
+ specification_version: 3
154
+ summary: Tamar is an UNOFFICIAL package of RubyLuaBridge, which lets you access Lua from Ruby
155
+ test_files: []
156
+