reflexion 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile CHANGED
@@ -1,8 +1,10 @@
1
1
  # -*- mode: ruby; coding: utf-8 -*-
2
- $: << File.expand_path(File.dirname __FILE__)
3
- %w[../rucy/lib ../rays/lib ../reflex/lib].each do |path|
2
+
3
+
4
+ %w[. ./lib ../rucy/lib ../rays/lib].each do |path|
4
5
  $: << File.expand_path(File.join File.dirname(__FILE__), *path.split('/'))
5
6
  end
7
+
6
8
  require 'rubygems'
7
9
  require 'rbconfig'
8
10
  require 'support'
@@ -10,7 +12,8 @@ require 'rays/module'
10
12
  require 'reflex/module'
11
13
 
12
14
 
13
- NAME = 'reflex'
15
+ MODULE = Reflex
16
+ NAME = MODULE.name.downcase
14
17
 
15
18
  SRCDIR = 'src'
16
19
  INCDIR = 'include'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -1,7 +1,10 @@
1
1
  # -*- coding: utf-8 -*-
2
+
3
+
2
4
  %w[../../../rucy/lib ../../lib].each do |path|
3
5
  $: << File.expand_path(File.join File.dirname(__FILE__), *path.split('/'))
4
6
  end
7
+
5
8
  require 'rubygems'
6
9
  require 'mkmf'
7
10
  require 'rucy/module'
data/support.rb CHANGED
@@ -3,10 +3,6 @@ require 'erb'
3
3
  require 'pp'
4
4
 
5
5
 
6
- def version ()
7
- open("VERSION") {|f| f.readline.chomp}
8
- end
9
-
10
6
  def glob (*patterns)
11
7
  paths = []
12
8
  patterns.each do |pattern|
data/task/gem.rake CHANGED
@@ -6,7 +6,7 @@ namespace :gem do
6
6
  name = "#{NAME}ion"
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: reflexion
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