rucy 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 +7 -2
  2. data/VERSION +1 -1
  3. data/rucy.gemspec +2 -2
  4. data/support.rb +0 -4
  5. data/task/gem.rake +1 -1
  6. metadata +3 -3
data/Rakefile CHANGED
@@ -1,13 +1,18 @@
1
1
  # -*- mode: ruby; coding: utf-8 -*-
2
2
 
3
3
 
4
- $: << File.expand_path(File.dirname __FILE__)
4
+ %w[. ./lib].each do |path|
5
+ $: << File.expand_path(File.join File.dirname(__FILE__), *path.split('/'))
6
+ end
5
7
 
8
+ require 'rubygems'
6
9
  require 'rbconfig'
7
10
  require 'support'
11
+ require 'rucy/module'
8
12
 
9
13
 
10
- NAME = 'rucy'
14
+ MODULE = Rucy
15
+ NAME = MODULE.name.downcase
11
16
 
12
17
  SRCDIR = 'src'
13
18
  INCDIR = 'include'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
data/rucy.gemspec CHANGED
@@ -4,7 +4,7 @@
4
4
  $: << File.join(File.dirname(__FILE__), 'lib')
5
5
 
6
6
  require 'rake'
7
- require 'rucy'
7
+ require 'rucy/module'
8
8
 
9
9
 
10
10
  FILES = FileList[*%w[
@@ -33,7 +33,7 @@ Gem::Specification.new do |s|
33
33
 
34
34
  s.authors = %w[snori]
35
35
  s.email = 'snori@xord.org'
36
- s.homepage = 'http://blog.xord.org/'
36
+ s.homepage = 'http://github.com/xord/rucy'
37
37
 
38
38
  s.platform = Gem::Platform::RUBY
39
39
  s.required_ruby_version = '>=1.9.0'
data/support.rb CHANGED
@@ -9,10 +9,6 @@ NPARAM_MAX = 8
9
9
  NTIMES = (0..NPARAM_MAX)
10
10
 
11
11
 
12
- def version ()
13
- open("VERSION") {|f| f.readline.chomp}
14
- end
15
-
16
12
  def glob (*patterns)
17
13
  paths = []
18
14
  patterns.each do |pattern|
data/task/gem.rake CHANGED
@@ -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: rucy
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: rake
@@ -85,7 +85,7 @@ files:
85
85
  - src/module.cpp.erb
86
86
  - src/value.cpp.erb
87
87
  - test/test_rucy.rb
88
- homepage: http://blog.xord.org/
88
+ homepage: http://github.com/xord/rucy
89
89
  licenses: []
90
90
 
91
91
  post_install_message: