meta_tools 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock ADDED
@@ -0,0 +1,14 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ meta_tools (0.2.1)
5
+
6
+ GEM
7
+ remote: http://rubygems.org/
8
+ specs:
9
+
10
+ PLATFORMS
11
+ ruby
12
+
13
+ DEPENDENCIES
14
+ meta_tools!
@@ -1,4 +1,4 @@
1
- Copyright (c) 2011 Ryan Lewis
1
+ Copyright (c) 2011 Ryan Lewis
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
@@ -1,38 +1,13 @@
1
1
  require 'rubygems'
2
- require 'rake'
3
2
 
4
- require 'jeweler'
5
- Jeweler::Tasks.new do |gem|
6
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
7
- gem.name = "meta_tools"
8
- gem.homepage = "http://github.com/c00lryguy/meta_tools"
9
- gem.license = "MIT"
10
- gem.summary = %Q{A Module that simply contains some methods that help out when metaprogramming.}
11
- gem.description = %Q{A Module that simply contains some methods that help out when metaprogramming.}
12
- gem.email = "c00lryguy@gmail.com"
13
- gem.authors = ["Ryan Lewis"]
14
- # Include your dependencies below. Runtime dependencies are required when using your gem,
15
- # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
16
- # gem.add_runtime_dependency 'jabber4r', '> 0.1'
17
- # gem.add_development_dependency 'rspec', '> 1.2.3'
18
- end
19
- Jeweler::RubygemsDotOrgTasks.new
3
+ require 'rake'
20
4
 
21
5
  require 'rake/testtask'
22
- Rake::TestTask.new(:test) do |test|
23
- test.libs << 'lib' << 'test'
24
- test.pattern = 'test/**/test_*.rb'
25
- test.verbose = true
6
+
7
+ Rake::TestTask.new(:test) do |t|
8
+ t.libs.concat ['lib', 'test']
9
+ t.pattern = 'test/**/test_*.rb'
10
+ t.verbose = false
26
11
  end
27
12
 
28
13
  task :default => :test
29
-
30
- require 'rake/rdoctask'
31
- Rake::RDocTask.new do |rdoc|
32
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
33
-
34
- rdoc.rdoc_dir = 'rdoc'
35
- rdoc.title = "meta_tools #{version}"
36
- rdoc.rdoc_files.include('README*')
37
- rdoc.rdoc_files.include('lib/**/*.rb')
38
- end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
data/lib/meta_tools.rb CHANGED
@@ -26,6 +26,6 @@ module MetaTools
26
26
 
27
27
  # Send a method to the class
28
28
  def class_send(meth, *args, &blk)
29
- self.class.send
29
+ self.class.send(meth, *args, &blk)
30
30
  end
31
31
  end
@@ -0,0 +1,32 @@
1
+ #!/bin/ruby
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = "meta_tools"
5
+ s.version = File.read("VERSION")
6
+
7
+ s.author = "Ryan Lewis"
8
+ s.email = "c00lryguy@gmail.com"
9
+
10
+ s.description = "A Module that simply contains some methods that help out when metaprogramming."
11
+ s.summary = "This gem lends a helping hand for metaprogrammers."
12
+
13
+ s.extra_rdoc_files = [
14
+ "LICENSE",
15
+ "README.md"
16
+ ]
17
+
18
+ s.files = [
19
+ "Gemfile.lock",
20
+ "LICENSE",
21
+ "README.md",
22
+ "Rakefile",
23
+ "VERSION",
24
+ File.basename(__FILE__),
25
+ ] + Dir['lib/**/*'] + Dir['test/**/*'] + Dir['examples/**/*']
26
+
27
+ s.test_files = Dir['test/**/*'] + Dir['examples/**/*']
28
+
29
+ s.homepage = "http://github.com/c00lryguy/meta_tools"
30
+ s.licenses = ["MIT"]
31
+ s.require_paths = ["lib"]
32
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meta_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-05-22 00:00:00.000000000 -04:00
12
+ date: 2011-05-28 00:00:00.000000000 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
  description: A Module that simply contains some methods that help out when metaprogramming.
@@ -17,18 +17,16 @@ email: c00lryguy@gmail.com
17
17
  executables: []
18
18
  extensions: []
19
19
  extra_rdoc_files:
20
- - LICENSE.txt
20
+ - LICENSE
21
21
  - README.md
22
22
  files:
23
- - .document
24
- - Gemfile
25
- - LICENSE.txt
23
+ - Gemfile.lock
24
+ - LICENSE
26
25
  - README.md
27
26
  - Rakefile
28
27
  - VERSION
28
+ - meta_tools.gemspec
29
29
  - lib/meta_tools.rb
30
- - test/helper.rb
31
- - test/test_meta_tools.rb
32
30
  has_rdoc: true
33
31
  homepage: http://github.com/c00lryguy/meta_tools
34
32
  licenses:
@@ -54,5 +52,5 @@ rubyforge_project:
54
52
  rubygems_version: 1.6.2
55
53
  signing_key:
56
54
  specification_version: 3
57
- summary: A Module that simply contains some methods that help out when metaprogramming.
55
+ summary: This gem lends a helping hand for metaprogrammers.
58
56
  test_files: []
data/.document DELETED
@@ -1,5 +0,0 @@
1
- lib/**/*.rb
2
- bin/*
3
- -
4
- features/**/*.feature
5
- LICENSE.txt
data/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- group :test do
2
- gem 'shoulda'
3
- end
data/test/helper.rb DELETED
@@ -1,18 +0,0 @@
1
- require 'rubygems'
2
- require 'bundler'
3
- begin
4
- Bundler.setup(:default, :test)
5
- rescue Bundler::BundlerError => e
6
- $stderr.puts e.message
7
- $stderr.puts "Run `bundle install` to install missing gems"
8
- exit e.status_code
9
- end
10
- require 'test/unit'
11
- require 'shoulda'
12
-
13
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
- $LOAD_PATH.unshift(File.dirname(__FILE__))
15
- require 'meta_tools'
16
-
17
- class Test::Unit::TestCase
18
- end
@@ -1,7 +0,0 @@
1
- require 'helper'
2
-
3
- class TestMetaTools < Test::Unit::TestCase
4
- should "probably rename this file and start testing for real" do
5
- flunk "hey buddy, you should probably rename this file and start testing for real"
6
- end
7
- end