random_data 1.5.0 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 1.5.1 2010-01-18
2
+ * 1 minor enhancement:
3
+ * Moved project over to Github and Jeweler so it's easier to accept patches and release new versions
4
+
1
5
  == 1.5.0 2008-11-06
2
6
  * 2 major enhancement:
3
7
  * Totally cleaned up and reconfigured hoe using newgem 1.0's conventions
data/License.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2008 Mike Subelsky, subelsky.com
1
+ Copyright (c) 2010 Mike Subelsky, subelsky.com
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/Manifest.txt CHANGED
@@ -1,8 +1,10 @@
1
1
  History.txt
2
2
  License.txt
3
3
  Manifest.txt
4
+ PostInstall.txt
4
5
  README.rdoc
5
6
  Rakefile
7
+ config/website.yml
6
8
  lib/random_data.rb
7
9
  lib/random_data/array_randomizer.rb
8
10
  lib/random_data/booleans.rb
data/Rakefile CHANGED
@@ -1,32 +1,16 @@
1
- %w[rubygems rake rake/clean fileutils newgem rubigen].each { |f| require f }
2
- require File.dirname(__FILE__) + '/lib/random_data'
1
+ begin
2
+ require 'jeweler'
3
+ Jeweler::Tasks.new do |gemspec|
4
+ gemspec.name = "random_data"
5
+ gemspec.summary = gemspec.description = "Provides a Random class with a series of methods for generating random test data including names, mailing addresses, dates, phone numbers, e-mail addresses, and text."
6
+ gemspec.email = "mike@subelsky.com"
7
+ gemspec.homepage = "http://github.com/otherinbox/random_data"
8
+ gemspec.authors = ["Mike Subelsky"]
9
+ gemspec.add_development_dependency "mocha"
10
+ gemspec.test_files = %w(test/test_random_data.rb)
11
+ end
3
12
 
4
- # Generate all the Rake tasks
5
- # Run 'rake -T' to see list of generated tasks (from gem root directory)
6
- $hoe = Hoe.new('random_data', RandomData::VERSION) do |p|
7
- p.developer('Mike Subelsky', 'mike@subelsky.com')
8
- p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
9
- p.rubyforge_name = "random-data"
10
- p.description = "A Ruby gem that provides a Random class with a series of methods for generating random test data including names, mailing addresses, dates, phone numbers, e-mail addresses, and text."
11
- p.summary = "A Ruby gem that provides a Random class with a series of methods for generating random test data including names, mailing addresses, dates, phone numbers, e-mail addresses, and text."
12
- p.email = 'random_data@mikeshop.net'
13
- # p.remote_rdoc_dir = 'random-data'
14
-
15
- # p.extra_deps = [
16
- # ['activesupport','>= 2.0.2'],
17
- # ]
18
- p.extra_dev_deps = [
19
- ['newgem', ">= #{::Newgem::VERSION}"]
20
- ]
21
-
22
- p.clean_globs |= %w[**/.DS_Store tmp *.log]
23
- path = (p.rubyforge_name == p.name) ? p.rubyforge_name : "\#{p.rubyforge_name}/\#{p.name}"
24
- p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc')
25
- p.rsync_args = '-av --delete --ignore-errors'
26
- end
27
-
28
- require 'newgem/tasks' # load /tasks/*.rake
29
- Dir['tasks/**/*.rake'].each { |t| load t }
30
-
31
- # TODO - want other tests/tasks run by default? Add them to the list
32
- # task :default => [:spec, :features]
13
+ Jeweler::GemcutterTasks.new
14
+ rescue LoadError
15
+ puts "Jeweler not available. Install it with: sudo gem install jeweler"
16
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.5.1
@@ -0,0 +1,2 @@
1
+ host: subelsky@rubyforge.org
2
+ remote_dir: /var/www/gforge-projects/random-data/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: random_data
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Subelsky
@@ -9,47 +9,35 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-11-06 00:00:00 -06:00
12
+ date: 2010-01-18 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: newgem
16
+ name: mocha
17
17
  type: :development
18
18
  version_requirement:
19
19
  version_requirements: !ruby/object:Gem::Requirement
20
20
  requirements:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: 1.0.6
23
+ version: "0"
24
24
  version:
25
- - !ruby/object:Gem::Dependency
26
- name: hoe
27
- type: :development
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: 1.8.0
34
- version:
35
- description: A Ruby gem that provides a Random class with a series of methods for generating random test data including names, mailing addresses, dates, phone numbers, e-mail addresses, and text.
36
- email: random_data@mikeshop.net
25
+ description: Provides a Random class with a series of methods for generating random test data including names, mailing addresses, dates, phone numbers, e-mail addresses, and text.
26
+ email: mike@subelsky.com
37
27
  executables: []
38
28
 
39
29
  extensions: []
40
30
 
41
31
  extra_rdoc_files:
42
- - History.txt
43
- - License.txt
44
- - Manifest.txt
45
32
  - README.rdoc
46
- - test/henry_v_prolog.txt
47
33
  files:
48
34
  - History.txt
49
35
  - License.txt
50
36
  - Manifest.txt
51
37
  - README.rdoc
52
38
  - Rakefile
39
+ - VERSION
40
+ - config/website.yml
53
41
  - lib/random_data.rb
54
42
  - lib/random_data/array_randomizer.rb
55
43
  - lib/random_data/booleans.rb
@@ -70,11 +58,12 @@ files:
70
58
  - test/test_helper.rb
71
59
  - test/test_random_data.rb
72
60
  has_rdoc: true
73
- homepage: "This gem provides a Random singleton class with a series of methods for generating random test data including names, mailing addresses, dates, phone numbers, e-mail addresses, and text. Instead of:"
61
+ homepage: http://github.com/otherinbox/random_data
62
+ licenses: []
63
+
74
64
  post_install_message:
75
65
  rdoc_options:
76
- - --main
77
- - README.rdoc
66
+ - --charset=UTF-8
78
67
  require_paths:
79
68
  - lib
80
69
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -91,11 +80,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
80
  version:
92
81
  requirements: []
93
82
 
94
- rubyforge_project: random-data
95
- rubygems_version: 1.2.0
83
+ rubyforge_project:
84
+ rubygems_version: 1.3.5
96
85
  signing_key:
97
- specification_version: 2
98
- summary: A Ruby gem that provides a Random class with a series of methods for generating random test data including names, mailing addresses, dates, phone numbers, e-mail addresses, and text.
86
+ specification_version: 3
87
+ summary: Provides a Random class with a series of methods for generating random test data including names, mailing addresses, dates, phone numbers, e-mail addresses, and text.
99
88
  test_files:
100
- - test/test_helper.rb
101
89
  - test/test_random_data.rb