rays 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Rakefile +3 -3
  2. data/VERSION +1 -1
  3. data/rays.gemspec +1 -1
  4. data/support.rb +0 -4
  5. data/task/gem.rake +1 -1
  6. metadata +3 -3
data/Rakefile CHANGED
@@ -1,8 +1,7 @@
1
1
  # -*- mode: ruby; coding: utf-8 -*-
2
2
 
3
3
 
4
- $: << File.expand_path(File.dirname __FILE__)
5
- %w[../rucy/lib ../rays/lib].each do |path|
4
+ %w[. ./lib ../rucy/lib].each do |path|
6
5
  $: << File.expand_path(File.join File.dirname(__FILE__), *path.split('/'))
7
6
  end
8
7
 
@@ -12,7 +11,8 @@ require 'support'
12
11
  require 'rays/module'
13
12
 
14
13
 
15
- NAME = 'rays'
14
+ MODULE = Rays
15
+ NAME = MODULE.name.downcase
16
16
 
17
17
  SRCDIR = 'src'
18
18
  INCDIR = 'include'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -34,7 +34,7 @@ Gem::Specification.new do |s|
34
34
 
35
35
  s.authors = %w[snori]
36
36
  s.email = 'snori@xord.org'
37
- s.homepage = 'http://blog.xord.org/'
37
+ s.homepage = 'http://github.com/xord/rays'
38
38
 
39
39
  s.platform = Gem::Platform::RUBY
40
40
  s.required_ruby_version = '>=1.9.0'
data/support.rb CHANGED
@@ -5,10 +5,6 @@ require 'erb'
5
5
  require 'pp'
6
6
 
7
7
 
8
- def version ()
9
- open("VERSION") {|f| f.readline.chomp}
10
- end
11
-
12
8
  def glob (*patterns)
13
9
  paths = []
14
10
  patterns.each do |pattern|
@@ -6,7 +6,7 @@ namespace :gem do
6
6
  name = NAME
7
7
 
8
8
  gemspec = "#{name}.gemspec"
9
- gem = "#{name}-#{version}.gem"
9
+ gem = "#{name}-#{MODULE.version}.gem"
10
10
 
11
11
  task :build => gem
12
12
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rays
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - snori
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-08-28 00:00:00 Z
13
+ date: 2011-08-29 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rucy
@@ -119,7 +119,7 @@ files:
119
119
  - test/test_painter.rb
120
120
  - test/test_rays.rb
121
121
  - test/test_texture.rb
122
- homepage: http://blog.xord.org/
122
+ homepage: http://github.com/xord/rays
123
123
  licenses: []
124
124
 
125
125
  post_install_message: