randgen 1.0.0 → 1.0.1

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/README.rdoc CHANGED
@@ -38,3 +38,4 @@ This used to be a fixed part of the Riassence Framework, but it's distributed as
38
38
  You should have received a copy of the GNU General Public License along
39
39
  with this software package. If not, contact licensing@riassence.com
40
40
 
41
+
data/extconf.rb CHANGED
@@ -1,7 +1,5 @@
1
- old_cwd = Dir.pwd
2
- Dir.chdir(File.expand_path(File.join(File.dirname(__FILE__))))
3
1
  require 'mkmf'
4
2
  create_makefile('randgen')
5
3
  system('make clean')
6
4
  system('make all')
7
- Dir.chdir(old_cwd)
5
+ require 'test_randgen.rb'
data/randgen.c CHANGED
@@ -64,12 +64,6 @@ static VALUE cRandGen_initialize( VALUE self, VALUE target_length ){
64
64
  return self;
65
65
  }
66
66
 
67
- // NOTE: buffering is just ignored for now and included just for backwards-compatibility
68
- static VALUE cRandGen_initialize2( VALUE self, VALUE target_length, VALUE buffer_length ){
69
- rb_iv_set(self,"@target_length",target_length);
70
- return self;
71
- }
72
-
73
67
  // ruby-side 'RandGen' -class
74
68
  VALUE cRandomGenerator;
75
69
  // ruby-side 'RandomGenerator' -class (backwards-compatible)
data/randgen.gemspec CHANGED
@@ -2,11 +2,11 @@ Gem::Specification.new do |s|
2
2
  s.name = 'randgen'
3
3
  s.author = 'Juha-Jarmo Heinonen'
4
4
  s.email = 'o@rsence.org'
5
- s.version = '1.0.0'
5
+ s.version = '1.0.1'
6
6
  s.date = '2010-02-26'
7
7
  s.homepage = 'http://www.riassence.org/'
8
8
  s.summary = 'Riassence RandGen'
9
- s.has_rdoc = false
9
+ s.has_rdoc = true
10
10
  s.require_path = 'randgen'
11
11
  s.description = <<END
12
12
  Simple C extension that produces variable-length random ascii-safe strings quickly.
data/test_randgen.rb CHANGED
@@ -18,3 +18,4 @@ class TestRandgen < Test::Unit::TestCase
18
18
  assert_equal( 100, rand.gen_many( 100 ).length )
19
19
  end
20
20
  end
21
+ puts "test ok"
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: randgen
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 0
8
+ - 1
9
+ version: 1.0.1
5
10
  platform: ruby
6
11
  authors:
7
12
  - Juha-Jarmo Heinonen
@@ -43,18 +48,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
43
48
  requirements:
44
49
  - - ">="
45
50
  - !ruby/object:Gem::Version
51
+ segments:
52
+ - 1
53
+ - 8
54
+ - 6
46
55
  version: 1.8.6
47
- version:
48
56
  required_rubygems_version: !ruby/object:Gem::Requirement
49
57
  requirements:
50
58
  - - ">="
51
59
  - !ruby/object:Gem::Version
60
+ segments:
61
+ - 0
52
62
  version: "0"
53
- version:
54
63
  requirements: []
55
64
 
56
65
  rubyforge_project:
57
- rubygems_version: 1.3.5
66
+ rubygems_version: 1.3.6
58
67
  signing_key:
59
68
  specification_version: 3
60
69
  summary: Riassence RandGen