transparent_nil 0.1.5 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,4 +1,7 @@
1
1
 
2
+ == 0.1.7 2012-10-15
3
+ * smart_init integrated
4
+
2
5
  == 0.1.0 2012-10-15
3
6
  * Initial public release
4
7
 
data/Manifest.txt CHANGED
@@ -5,6 +5,7 @@ License.txt
5
5
  Manifest.txt
6
6
  Rakefile.rb
7
7
  README.txt
8
+ version.rb
8
9
  lib/transparent_nil.rb
9
10
  lib/transparent_nil/nil.rb
10
11
  test/_start_all.rb
data/Rakefile.rb CHANGED
@@ -1,14 +1,12 @@
1
1
  # ruby encoding: utf-8
2
2
 
3
- require 'kyanite/smart_load_path'
4
- smart_load_path
5
-
6
3
  require 'drumherum'
7
- Drumherum.project_name = File.dirname(__FILE__).split("/")[-1].strip # Name des Projekt-Stammverzeichnisses
8
- Drumherum.github_username = 'bklippstein'
4
+ smart_init
5
+ require 'version'
9
6
  require 'rdoc/task'
10
7
  require 'drumherum/rake'
11
8
 
9
+ Drumherum.github_username = 'bklippstein'
12
10
  require 'transparent_nil'
13
11
 
14
12
 
data/console.rb CHANGED
@@ -2,8 +2,6 @@
2
2
  # File: script/console
3
3
  irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
4
4
  libs = " -r irb/completion"
5
- libs << " -r #{File.dirname(__FILE__) + '/init.rb'}"
6
-
7
- puts "Welcome to Transparent Nil gem"
8
-
5
+ initfile = File.join(File.dirname(__FILE__), 'init.rb' )
6
+ libs << " -r #{initfile}"
9
7
  exec "#{irb} #{libs} --simple-prompt --noreadline"
@@ -1,19 +1,7 @@
1
1
  # ruby encoding: utf-8
2
2
  # ü
3
- if $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
4
- #puts 'Path schon aktuell'
5
- else
6
- $:.unshift(File.dirname(__FILE__))
7
- end
8
3
 
9
4
  puts 'Using TransparentNil'
10
-
11
- module TransparentNil #:nodoc
12
-
13
- VERSION = '0.1.5'
14
-
15
- end
16
-
17
5
  require 'transparent_nil/nil'
18
6
 
19
7
 
data/test/_start_all.rb CHANGED
@@ -4,16 +4,16 @@
4
4
  # Führt alle Tests aus
5
5
  #
6
6
 
7
- if $0 == __FILE__
8
- require 'kyanite/smart_load_path.rb'
9
- smart_load_path
10
- end
7
+ if $0 == __FILE__
8
+ require 'drumherum'
9
+ smart_init
10
+ end
11
11
 
12
12
 
13
- # Test-Verzeichnis der Applikation
14
- test_verzeichnis = File.expand_path(File.dirname(__FILE__) )
15
-
16
- Dir["#{test_verzeichnis}/test_*.rb"].sort.each { |t| require t }
13
+ # Test-Verzeichnis der Applikation
14
+ test_verzeichnis = File.join(Drumherum::directory_main, 'test')
15
+
16
+ Dir["#{test_verzeichnis}/test_*.rb"].sort.each { |t| require t }
17
17
 
18
18
 
19
19
 
data/test/test_nil.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  # ruby encoding: utf-8
2
2
  # ü
3
3
  if $0 == __FILE__
4
- require 'kyanite/smart_load_path.rb'
5
- smart_load_path
4
+ require 'drumherum'
5
+ smart_init
6
6
  end
7
7
 
8
8
  require 'drumherum/unit_test'
data/version.rb ADDED
@@ -0,0 +1,11 @@
1
+
2
+ module TransparentNil
3
+
4
+ VERSION = '0.1.7' # TransparentNil-Version
5
+
6
+
7
+ # puts "VERSION=#{VERSION}"
8
+
9
+
10
+ end
11
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transparent_nil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -77,6 +77,7 @@ files:
77
77
  - Manifest.txt
78
78
  - Rakefile.rb
79
79
  - README.txt
80
+ - version.rb
80
81
  - lib/transparent_nil.rb
81
82
  - lib/transparent_nil/nil.rb
82
83
  - test/_start_all.rb