ruby-plsql-spec 0.2.1 → 0.3.0
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/Gemfile +8 -6
- data/History.txt +8 -0
- data/{INSTALL-Windows.markdown → INSTALL-Windows.md} +1 -2
- data/License.txt +1 -1
- data/{README.markdown → README.md} +3 -3
- data/Rakefile +19 -19
- data/VERSION +1 -1
- data/examples/spec/award_bonus_spec.rb +2 -2
- data/examples/spec/oracle_ebs_spec.rb +8 -8
- data/examples/spec/remove_rooms_by_name_spec.rb +8 -8
- data/examples/spec/what_is_profiled_spec.rb +2 -2
- data/lib/plsql/spec/cli.rb +2 -2
- data/ruby-plsql-spec.gemspec +73 -88
- data/spec/plsql/spec/cli_spec.rb +17 -3
- metadata +89 -103
- data/.gitignore +0 -13
data/Gemfile
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
source 'http://rubygems.org'
|
2
2
|
|
3
|
-
gem '
|
4
|
-
gem 'rspec', '~> 2.0.1'
|
3
|
+
gem 'rspec', '~> 2.0'
|
5
4
|
gem 'thor', '~> 0.14.2'
|
6
|
-
gem 'ruby-plsql', '~> 0.
|
7
|
-
gem 'nokogiri', '
|
5
|
+
gem 'ruby-plsql', '~> 0.5.0'
|
6
|
+
gem 'nokogiri', '~> 1.5.0'
|
8
7
|
|
9
|
-
|
10
|
-
gem '
|
8
|
+
group :development do
|
9
|
+
gem 'jeweler', '~> 1.8.3'
|
10
|
+
|
11
|
+
# gem 'ruby-oci8', '~> 2.1.0'
|
12
|
+
gem 'ruby-oci8', :git => 'git://github.com/kubo/ruby-oci8.git', :platforms => :mri
|
11
13
|
end
|
data/History.txt
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
== 0.3.0 2012-04-16
|
2
|
+
|
3
|
+
* Changes
|
4
|
+
* Use latest ruby-plsql version 0.5.0 and latest nokogiri version 1.5
|
5
|
+
* Tested with ruby-oci8 version 2.1.0
|
6
|
+
* Tested with Ruby version 1.9.3 which is now recommended version
|
7
|
+
* Changed example specs to use expect {}.to instead of lambda {}.should
|
8
|
+
|
1
9
|
== 0.2.1 2010-10-22
|
2
10
|
|
3
11
|
* Changes
|
@@ -6,8 +6,7 @@ Ruby installation on Windows is a little bit different than installation on Mac
|
|
6
6
|
Install Ruby
|
7
7
|
------------
|
8
8
|
|
9
|
-
Download and install Ruby 1.
|
10
|
-
(If you prefer you can try to install also Ruby 1.9.2 but it might be more difficult to install ruby-oci8 on this latest Ruby version on Windows).
|
9
|
+
Download and install Ruby 1.9.3 from [Ruby Installer for Windows](http://www.rubyinstaller.org/).
|
11
10
|
|
12
11
|
When installing then select checkbox to add Ruby to your PATH.
|
13
12
|
|
data/License.txt
CHANGED
@@ -20,9 +20,9 @@ PL/SQL procedure examples are in `examples/source` subdirectory, test examples a
|
|
20
20
|
Installing
|
21
21
|
----------
|
22
22
|
|
23
|
-
See [Installing on Windows](INSTALL-Windows.
|
23
|
+
See [Installing on Windows](INSTALL-Windows.md) in separate file.
|
24
24
|
|
25
|
-
* Install [Ruby 1.8.7 or Ruby 1.9.
|
25
|
+
* Install [Ruby 1.8.7 or Ruby 1.9.3](http://www.ruby-lang.org/en/downloads/) - it is recommended to use latest 1.9.3 version
|
26
26
|
* Install Oracle client, e.g. [Oracle Instant Client](http://www.oracle.com/technology/tech/oci/instantclient/index.html)
|
27
27
|
* Install ruby-oci8 and ruby-plsql-spec (prefix with sudo if necessary)
|
28
28
|
|
@@ -32,7 +32,7 @@ See [Installing on Windows](INSTALL-Windows.markdown) in separate file.
|
|
32
32
|
Another alternative is to use [JRuby](http://jruby.org) if for example it is necessary also to test Java classes / methods using Ruby.
|
33
33
|
|
34
34
|
* Install [JRuby](http://jruby.org/download)
|
35
|
-
* Copy Oracle JDBC driver (e.g.
|
35
|
+
* Copy Oracle JDBC driver (e.g. ojdbc6.jar) to JRUBY_HOME/lib directory
|
36
36
|
* Install ruby-plsql-spec (prefix with sudo if necessary)
|
37
37
|
|
38
38
|
jruby -S gem install ruby-plsql-spec
|
data/Rakefile
CHANGED
@@ -1,25 +1,27 @@
|
|
1
1
|
require 'rubygems'
|
2
|
+
require 'bundler'
|
3
|
+
begin
|
4
|
+
Bundler.setup(:default, :development)
|
5
|
+
rescue Bundler::BundlerError => e
|
6
|
+
$stderr.puts e.message
|
7
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
+
exit e.status_code
|
9
|
+
end
|
10
|
+
|
2
11
|
require 'rake'
|
3
12
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
gem.description = <<-EOS
|
13
|
+
require 'jeweler'
|
14
|
+
Jeweler::Tasks.new do |gem|
|
15
|
+
gem.name = "ruby-plsql-spec"
|
16
|
+
gem.summary = "Oracle PL/SQL unit testing framework using Ruby and RSpec"
|
17
|
+
gem.description = <<-EOS
|
10
18
|
ruby-plsql-spec is Oracle PL/SQL unit testing framework which is built using Ruby programming language, ruby-plsql library and RSpec testing framework.
|
11
19
|
EOS
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
gem.add_dependency "ruby-plsql", ">= 0.4.4"
|
16
|
-
gem.add_dependency "thor", ">= 0.14.2"
|
17
|
-
gem.add_dependency "rspec", ">= 2.0.1"
|
18
|
-
end
|
19
|
-
Jeweler::GemcutterTasks.new
|
20
|
-
rescue LoadError
|
21
|
-
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
20
|
+
gem.email = "raimonds.simanovskis@gmail.com"
|
21
|
+
gem.homepage = "http://github.com/rsim/ruby-plsql-spec"
|
22
|
+
gem.authors = ["Raimonds Simanovskis"]
|
22
23
|
end
|
24
|
+
Jeweler::RubygemsDotOrgTasks.new
|
23
25
|
|
24
26
|
require 'rspec/core/rake_task'
|
25
27
|
RSpec::Core::RakeTask.new(:spec) do |t|
|
@@ -32,11 +34,9 @@ RSpec::Core::RakeTask.new(:rcov) do |t|
|
|
32
34
|
t.pattern = 'spec/plsql/**/*_spec.rb'
|
33
35
|
end
|
34
36
|
|
35
|
-
task :spec => :check_dependencies
|
36
|
-
|
37
37
|
task :default => :spec
|
38
38
|
|
39
|
-
require '
|
39
|
+
require 'rdoc/task'
|
40
40
|
Rake::RDocTask.new do |rdoc|
|
41
41
|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
42
42
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.0
|
@@ -26,9 +26,9 @@ describe "Award bonus" do
|
|
26
26
|
:commission_pct => commission_pct,
|
27
27
|
:salary => salary
|
28
28
|
)
|
29
|
-
|
29
|
+
expect {
|
30
30
|
plsql.award_bonus(employee[:employee_id], sales_amt)
|
31
|
-
}.
|
31
|
+
}.to raise_error(/ORA-06510/)
|
32
32
|
end
|
33
33
|
|
34
34
|
end
|
@@ -16,27 +16,27 @@ describe "Oracle E-Business Suite" do
|
|
16
16
|
|
17
17
|
describe "Session initialization" do
|
18
18
|
it "should initialize session with valid user and responsibility" do
|
19
|
-
|
19
|
+
expect {
|
20
20
|
init_ebs_user(:user_name => @user_name, :responsibility_name => @responsibility_name)
|
21
|
-
}.
|
21
|
+
}.not_to raise_error
|
22
22
|
end
|
23
23
|
|
24
24
|
it "should raise error with invalid user" do
|
25
|
-
|
25
|
+
expect {
|
26
26
|
init_ebs_user(:user_name => "INVALID", :responsibility_name => @responsibility_name)
|
27
|
-
}.
|
27
|
+
}.to raise_error(/Wrong user name or responsibility name/)
|
28
28
|
end
|
29
29
|
|
30
30
|
it "should raise error with invalid responsibility" do
|
31
|
-
|
31
|
+
expect {
|
32
32
|
init_ebs_user(:user_name => @user_name, :responsibility_name => "INVALID")
|
33
|
-
}.
|
33
|
+
}.to raise_error(/Wrong user name or responsibility name/)
|
34
34
|
end
|
35
35
|
|
36
36
|
it "should raise error with default username and responsibility parameters" do
|
37
|
-
|
37
|
+
expect {
|
38
38
|
init_ebs_user
|
39
|
-
}.
|
39
|
+
}.to raise_error(/Wrong user name or responsibility name/)
|
40
40
|
end
|
41
41
|
|
42
42
|
end
|
@@ -33,19 +33,19 @@ describe "Remove rooms by name" do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
it "should not remove a room with furniture" do
|
36
|
-
|
37
|
-
|
36
|
+
expect {
|
37
|
+
expect {
|
38
38
|
plsql.remove_rooms_by_name('Living Room')
|
39
|
-
}.
|
40
|
-
}.
|
39
|
+
}.to raise_error(/ORA-02292/)
|
40
|
+
}.not_to change { plsql.rooms.all }
|
41
41
|
end
|
42
42
|
|
43
43
|
it "should raise exception when NULL value passed" do
|
44
|
-
|
45
|
-
|
44
|
+
expect {
|
45
|
+
expect {
|
46
46
|
plsql.remove_rooms_by_name(NULL)
|
47
|
-
}.
|
48
|
-
}.
|
47
|
+
}.to raise_error(/program error/)
|
48
|
+
}.not_to change { plsql.rooms.all }
|
49
49
|
end
|
50
50
|
|
51
51
|
end
|
data/lib/plsql/spec/cli.rb
CHANGED
@@ -76,10 +76,10 @@ EOS
|
|
76
76
|
|
77
77
|
if files.empty?
|
78
78
|
say "Running all specs from spec/", :yellow
|
79
|
-
puts run("#{speccommand} spec", :verbose => false)
|
79
|
+
puts run("#{speccommand} spec", :verbose => false, :capture => true)
|
80
80
|
else
|
81
81
|
say "Running specs from #{files.join(', ')}", :yellow
|
82
|
-
puts run("#{speccommand} #{files.join(' ')}", :verbose => false)
|
82
|
+
puts run("#{speccommand} #{files.join(' ')}", :verbose => false, :capture => true)
|
83
83
|
end
|
84
84
|
|
85
85
|
if options[:html]
|
data/ruby-plsql-spec.gemspec
CHANGED
@@ -1,113 +1,98 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.
|
7
|
+
s.name = "ruby-plsql-spec"
|
8
|
+
s.version = "0.3.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Raimonds Simanovskis"]
|
12
|
-
s.date =
|
13
|
-
s.
|
14
|
-
s.
|
15
|
-
}
|
16
|
-
s.email = %q{raimonds.simanovskis@gmail.com}
|
12
|
+
s.date = "2012-04-16"
|
13
|
+
s.description = "ruby-plsql-spec is Oracle PL/SQL unit testing framework which is built using Ruby programming language, ruby-plsql library and RSpec testing framework.\n"
|
14
|
+
s.email = "raimonds.simanovskis@gmail.com"
|
17
15
|
s.executables = ["plsql-spec"]
|
18
16
|
s.extra_rdoc_files = [
|
19
|
-
"README.
|
17
|
+
"README.md"
|
20
18
|
]
|
21
19
|
s.files = [
|
22
|
-
".
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
"ruby-plsql-spec.gemspec",
|
65
|
-
"spec/plsql/coverage_spec.rb",
|
66
|
-
"spec/plsql/spec/cli_spec.rb",
|
67
|
-
"spec/spec_helper.rb"
|
68
|
-
]
|
69
|
-
s.homepage = %q{http://github.com/rsim/ruby-plsql-spec}
|
70
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
71
|
-
s.require_paths = ["lib"]
|
72
|
-
s.rubygems_version = %q{1.3.7}
|
73
|
-
s.summary = %q{Oracle PL/SQL unit testing framework using Ruby and RSpec}
|
74
|
-
s.test_files = [
|
20
|
+
".rspec",
|
21
|
+
"Gemfile",
|
22
|
+
"History.txt",
|
23
|
+
"INSTALL-Windows.md",
|
24
|
+
"License.txt",
|
25
|
+
"README.md",
|
26
|
+
"Rakefile",
|
27
|
+
"VERSION",
|
28
|
+
"bin/plsql-spec",
|
29
|
+
"examples/source/award_bonus.rb",
|
30
|
+
"examples/source/betwnstr.rb",
|
31
|
+
"examples/source/remove_rooms_by_name.rb",
|
32
|
+
"examples/source/what_is_profiled.rb",
|
33
|
+
"examples/spec/award_bonus_spec.rb",
|
34
|
+
"examples/spec/betwnstr_spec.rb",
|
35
|
+
"examples/spec/database.yml",
|
36
|
+
"examples/spec/factories/employee_factory.rb",
|
37
|
+
"examples/spec/helpers/inspect_helpers.rb",
|
38
|
+
"examples/spec/helpers/oracle_ebs_helpers.rb",
|
39
|
+
"examples/spec/helpers/time_helpers.rb",
|
40
|
+
"examples/spec/oracle_ebs_spec.rb",
|
41
|
+
"examples/spec/remove_rooms_by_name_spec.rb",
|
42
|
+
"examples/spec/spec_helper.rb",
|
43
|
+
"examples/spec/what_is_profiled_spec.rb",
|
44
|
+
"lib/plsql/coverage.rb",
|
45
|
+
"lib/plsql/coverage/coverage.css",
|
46
|
+
"lib/plsql/coverage/details.html.erb",
|
47
|
+
"lib/plsql/coverage/index.html.erb",
|
48
|
+
"lib/plsql/coverage/jquery.min.js",
|
49
|
+
"lib/plsql/coverage/jquery.tablesorter.min.js",
|
50
|
+
"lib/plsql/coverage/proftab.sql",
|
51
|
+
"lib/plsql/coverage/rcov.js",
|
52
|
+
"lib/plsql/coverage/table_line.html.erb",
|
53
|
+
"lib/plsql/spec.rb",
|
54
|
+
"lib/plsql/spec/cli.rb",
|
55
|
+
"lib/plsql/spec/templates/database.yml",
|
56
|
+
"lib/plsql/spec/templates/helpers/inspect_helpers.rb",
|
57
|
+
"lib/plsql/spec/templates/helpers/time_helpers.rb",
|
58
|
+
"lib/plsql/spec/templates/spec_helper.rb",
|
59
|
+
"lib/plsql/spec/version.rb",
|
60
|
+
"lib/ruby-plsql-spec.rb",
|
61
|
+
"ruby-plsql-spec.gemspec",
|
75
62
|
"spec/plsql/coverage_spec.rb",
|
76
|
-
|
77
|
-
|
78
|
-
"examples/source/award_bonus.rb",
|
79
|
-
"examples/source/betwnstr.rb",
|
80
|
-
"examples/source/remove_rooms_by_name.rb",
|
81
|
-
"examples/source/what_is_profiled.rb",
|
82
|
-
"examples/spec/award_bonus_spec.rb",
|
83
|
-
"examples/spec/betwnstr_spec.rb",
|
84
|
-
"examples/spec/factories/employee_factory.rb",
|
85
|
-
"examples/spec/helpers/inspect_helpers.rb",
|
86
|
-
"examples/spec/helpers/oracle_ebs_helpers.rb",
|
87
|
-
"examples/spec/helpers/time_helpers.rb",
|
88
|
-
"examples/spec/oracle_ebs_spec.rb",
|
89
|
-
"examples/spec/remove_rooms_by_name_spec.rb",
|
90
|
-
"examples/spec/spec_helper.rb",
|
91
|
-
"examples/spec/what_is_profiled_spec.rb"
|
63
|
+
"spec/plsql/spec/cli_spec.rb",
|
64
|
+
"spec/spec_helper.rb"
|
92
65
|
]
|
66
|
+
s.homepage = "http://github.com/rsim/ruby-plsql-spec"
|
67
|
+
s.require_paths = ["lib"]
|
68
|
+
s.rubygems_version = "1.8.11"
|
69
|
+
s.summary = "Oracle PL/SQL unit testing framework using Ruby and RSpec"
|
93
70
|
|
94
71
|
if s.respond_to? :specification_version then
|
95
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
96
72
|
s.specification_version = 3
|
97
73
|
|
98
74
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
99
|
-
s.add_runtime_dependency(%q<
|
100
|
-
s.add_runtime_dependency(%q<thor>, ["
|
101
|
-
s.add_runtime_dependency(%q<
|
75
|
+
s.add_runtime_dependency(%q<rspec>, ["~> 2.0"])
|
76
|
+
s.add_runtime_dependency(%q<thor>, ["~> 0.14.2"])
|
77
|
+
s.add_runtime_dependency(%q<ruby-plsql>, ["~> 0.5.0"])
|
78
|
+
s.add_runtime_dependency(%q<nokogiri>, ["~> 1.5.0"])
|
79
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
|
80
|
+
s.add_development_dependency(%q<ruby-oci8>, [">= 0"])
|
102
81
|
else
|
103
|
-
s.add_dependency(%q<
|
104
|
-
s.add_dependency(%q<thor>, ["
|
105
|
-
s.add_dependency(%q<
|
82
|
+
s.add_dependency(%q<rspec>, ["~> 2.0"])
|
83
|
+
s.add_dependency(%q<thor>, ["~> 0.14.2"])
|
84
|
+
s.add_dependency(%q<ruby-plsql>, ["~> 0.5.0"])
|
85
|
+
s.add_dependency(%q<nokogiri>, ["~> 1.5.0"])
|
86
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
87
|
+
s.add_dependency(%q<ruby-oci8>, [">= 0"])
|
106
88
|
end
|
107
89
|
else
|
108
|
-
s.add_dependency(%q<
|
109
|
-
s.add_dependency(%q<thor>, ["
|
110
|
-
s.add_dependency(%q<
|
90
|
+
s.add_dependency(%q<rspec>, ["~> 2.0"])
|
91
|
+
s.add_dependency(%q<thor>, ["~> 0.14.2"])
|
92
|
+
s.add_dependency(%q<ruby-plsql>, ["~> 0.5.0"])
|
93
|
+
s.add_dependency(%q<nokogiri>, ["~> 1.5.0"])
|
94
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
95
|
+
s.add_dependency(%q<ruby-oci8>, [">= 0"])
|
111
96
|
end
|
112
97
|
end
|
113
98
|
|
data/spec/plsql/spec/cli_spec.rb
CHANGED
@@ -42,7 +42,7 @@ describe "plsql-spec" do
|
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
45
|
-
def create_test(name, string)
|
45
|
+
def create_test(name, string, options = {})
|
46
46
|
file_content = <<-EOS
|
47
47
|
require 'spec_helper'
|
48
48
|
|
@@ -52,13 +52,20 @@ describe "test" do
|
|
52
52
|
end
|
53
53
|
end
|
54
54
|
EOS
|
55
|
+
file_name = options[:file_name] || 'test_spec.rb'
|
55
56
|
Dir.chdir(@root_dir) do
|
56
|
-
File.open(
|
57
|
+
File.open("spec/#{file_name}", 'w') do |file|
|
57
58
|
file << file_content
|
58
59
|
end
|
59
60
|
end
|
60
61
|
end
|
61
62
|
|
63
|
+
def delete_test_files
|
64
|
+
Dir["#{@root_dir}/spec/*_spec.rb"].each do |file_name|
|
65
|
+
FileUtils.rm_f(file_name)
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
62
69
|
describe "init" do
|
63
70
|
before(:all) do
|
64
71
|
run_cli('init')
|
@@ -129,6 +136,13 @@ EOS
|
|
129
136
|
before(:all) do
|
130
137
|
create_test 'SYSDATE should not be NULL',
|
131
138
|
'plsql.sysdate.should_not == NULL'
|
139
|
+
create_test 'SYSDATE should be NULL',
|
140
|
+
'plsql.sysdate.should == NULL',
|
141
|
+
:file_name => 'test2_spec.rb'
|
142
|
+
end
|
143
|
+
|
144
|
+
after(:all) do
|
145
|
+
delete_test_files
|
132
146
|
end
|
133
147
|
|
134
148
|
it "should report one file examples" do
|
@@ -137,7 +151,7 @@ EOS
|
|
137
151
|
end
|
138
152
|
|
139
153
|
it "should report two files examples" do
|
140
|
-
run_cli('run', 'spec/test_spec.rb', 'spec/
|
154
|
+
run_cli('run', 'spec/test_spec.rb', 'spec/test2_spec.rb')
|
141
155
|
@stdout.should =~ /2 examples/
|
142
156
|
end
|
143
157
|
end
|
metadata
CHANGED
@@ -1,89 +1,99 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-plsql-spec
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 2
|
9
|
-
- 1
|
10
|
-
version: 0.2.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.0
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Raimonds Simanovskis
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
name: ruby-plsql
|
23
|
-
prerelease: false
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
12
|
+
date: 2012-04-16 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rspec
|
16
|
+
requirement: &2152658840 !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
- 4
|
33
|
-
- 4
|
34
|
-
version: 0.4.4
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '2.0'
|
35
22
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: thor
|
39
23
|
prerelease: false
|
40
|
-
|
24
|
+
version_requirements: *2152658840
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: thor
|
27
|
+
requirement: &2152657940 !ruby/object:Gem::Requirement
|
41
28
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
hash: 35
|
46
|
-
segments:
|
47
|
-
- 0
|
48
|
-
- 14
|
49
|
-
- 2
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
50
32
|
version: 0.14.2
|
51
33
|
type: :runtime
|
52
|
-
version_requirements: *id002
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: rspec
|
55
34
|
prerelease: false
|
56
|
-
|
35
|
+
version_requirements: *2152657940
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: ruby-plsql
|
38
|
+
requirement: &2152653980 !ruby/object:Gem::Requirement
|
57
39
|
none: false
|
58
|
-
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
|
62
|
-
segments:
|
63
|
-
- 2
|
64
|
-
- 0
|
65
|
-
- 1
|
66
|
-
version: 2.0.1
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.5.0
|
67
44
|
type: :runtime
|
68
|
-
|
69
|
-
|
70
|
-
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *2152653980
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: nokogiri
|
49
|
+
requirement: &2152653280 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.5.0
|
55
|
+
type: :runtime
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *2152653280
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: jeweler
|
60
|
+
requirement: &2152652320 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ~>
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 1.8.3
|
66
|
+
type: :development
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *2152652320
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: ruby-oci8
|
71
|
+
requirement: &2152650640 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *2152650640
|
80
|
+
description: ! 'ruby-plsql-spec is Oracle PL/SQL unit testing framework which is built
|
81
|
+
using Ruby programming language, ruby-plsql library and RSpec testing framework.
|
71
82
|
|
83
|
+
'
|
72
84
|
email: raimonds.simanovskis@gmail.com
|
73
|
-
executables:
|
85
|
+
executables:
|
74
86
|
- plsql-spec
|
75
87
|
extensions: []
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
files:
|
80
|
-
- .gitignore
|
88
|
+
extra_rdoc_files:
|
89
|
+
- README.md
|
90
|
+
files:
|
81
91
|
- .rspec
|
82
92
|
- Gemfile
|
83
93
|
- History.txt
|
84
|
-
- INSTALL-Windows.
|
94
|
+
- INSTALL-Windows.md
|
85
95
|
- License.txt
|
86
|
-
- README.
|
96
|
+
- README.md
|
87
97
|
- Rakefile
|
88
98
|
- VERSION
|
89
99
|
- bin/plsql-spec
|
@@ -123,55 +133,31 @@ files:
|
|
123
133
|
- spec/plsql/coverage_spec.rb
|
124
134
|
- spec/plsql/spec/cli_spec.rb
|
125
135
|
- spec/spec_helper.rb
|
126
|
-
has_rdoc: true
|
127
136
|
homepage: http://github.com/rsim/ruby-plsql-spec
|
128
137
|
licenses: []
|
129
|
-
|
130
138
|
post_install_message:
|
131
|
-
rdoc_options:
|
132
|
-
|
133
|
-
require_paths:
|
139
|
+
rdoc_options: []
|
140
|
+
require_paths:
|
134
141
|
- lib
|
135
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
142
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
136
143
|
none: false
|
137
|
-
requirements:
|
138
|
-
- -
|
139
|
-
- !ruby/object:Gem::Version
|
140
|
-
|
141
|
-
segments:
|
144
|
+
requirements:
|
145
|
+
- - ! '>='
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '0'
|
148
|
+
segments:
|
142
149
|
- 0
|
143
|
-
|
144
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
|
+
hash: -1549635846164205319
|
151
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
152
|
none: false
|
146
|
-
requirements:
|
147
|
-
- -
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
|
150
|
-
segments:
|
151
|
-
- 0
|
152
|
-
version: "0"
|
153
|
+
requirements:
|
154
|
+
- - ! '>='
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: '0'
|
153
157
|
requirements: []
|
154
|
-
|
155
158
|
rubyforge_project:
|
156
|
-
rubygems_version: 1.
|
159
|
+
rubygems_version: 1.8.11
|
157
160
|
signing_key:
|
158
161
|
specification_version: 3
|
159
162
|
summary: Oracle PL/SQL unit testing framework using Ruby and RSpec
|
160
|
-
test_files:
|
161
|
-
- spec/plsql/coverage_spec.rb
|
162
|
-
- spec/plsql/spec/cli_spec.rb
|
163
|
-
- spec/spec_helper.rb
|
164
|
-
- examples/source/award_bonus.rb
|
165
|
-
- examples/source/betwnstr.rb
|
166
|
-
- examples/source/remove_rooms_by_name.rb
|
167
|
-
- examples/source/what_is_profiled.rb
|
168
|
-
- examples/spec/award_bonus_spec.rb
|
169
|
-
- examples/spec/betwnstr_spec.rb
|
170
|
-
- examples/spec/factories/employee_factory.rb
|
171
|
-
- examples/spec/helpers/inspect_helpers.rb
|
172
|
-
- examples/spec/helpers/oracle_ebs_helpers.rb
|
173
|
-
- examples/spec/helpers/time_helpers.rb
|
174
|
-
- examples/spec/oracle_ebs_spec.rb
|
175
|
-
- examples/spec/remove_rooms_by_name_spec.rb
|
176
|
-
- examples/spec/spec_helper.rb
|
177
|
-
- examples/spec/what_is_profiled_spec.rb
|
163
|
+
test_files: []
|