webspicy 0.1.0.pre.rc1 → 0.1.0.pre.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/webspicy/tester.rb +4 -4
- data/lib/webspicy/version.rb +1 -1
- data/tasks/gem.rake +39 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a28abcbd9370b92059bc774da7c193e74e21ff5
|
4
|
+
data.tar.gz: 978a67cffd6ed250e2665100b46b0404d0665179
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9987659b6d59e553c9bf9d46f8a37702b63d86929834d40c7570377fffbebba340b9fc0c6a72d5db3cc04e1905c451539ca20b2b29d2e866ae3e7c06f7e0dcdb
|
7
|
+
data.tar.gz: 215a46e4ac9a2096673d39fd18e249c7e239e1452d4c67d032f50ff23f85e7bedf006d03667b263370ca1377d044755fd1f665737600f777deb4766986407798
|
data/lib/webspicy/tester.rb
CHANGED
@@ -15,12 +15,12 @@ module Webspicy
|
|
15
15
|
scope.each_example(service) do |test_case|
|
16
16
|
describe test_case.description do
|
17
17
|
|
18
|
-
before(:
|
18
|
+
before(:all) do
|
19
19
|
client.before(test_case, service, resource)
|
20
20
|
end
|
21
21
|
|
22
22
|
subject do
|
23
|
-
client.call(test_case, service, resource)
|
23
|
+
@invocation ||= client.call(test_case, service, resource)
|
24
24
|
end
|
25
25
|
|
26
26
|
it 'can be invoked successfuly' do
|
@@ -50,12 +50,12 @@ module Webspicy
|
|
50
50
|
scope.each_counterexamples(service) do |test_case|
|
51
51
|
describe test_case.description do
|
52
52
|
|
53
|
-
before(:
|
53
|
+
before(:all) do
|
54
54
|
client.before(test_case, service, resource)
|
55
55
|
end
|
56
56
|
|
57
57
|
subject do
|
58
|
-
client.call(test_case, service, resource)
|
58
|
+
@invocation ||= client.call(test_case, service, resource)
|
59
59
|
end
|
60
60
|
|
61
61
|
it 'can be invoked successfuly' do
|
data/lib/webspicy/version.rb
CHANGED
data/tasks/gem.rake
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
require 'rubygems/package_task'
|
2
|
+
|
3
|
+
# Dynamically load the gem spec
|
4
|
+
gemspec_file = File.expand_path('../../webspicy.gemspec', __FILE__)
|
5
|
+
gemspec = Kernel.eval(File.read(gemspec_file))
|
6
|
+
|
7
|
+
Gem::PackageTask.new(gemspec) do |t|
|
8
|
+
|
9
|
+
# Name of the package
|
10
|
+
t.name = gemspec.name
|
11
|
+
|
12
|
+
# Version of the package
|
13
|
+
t.version = gemspec.version
|
14
|
+
|
15
|
+
# Directory used to store the package files
|
16
|
+
t.package_dir = "pkg"
|
17
|
+
|
18
|
+
# True if a gzipped tar file (tgz) should be produced
|
19
|
+
t.need_tar = false
|
20
|
+
|
21
|
+
# True if a gzipped tar file (tar.gz) should be produced
|
22
|
+
t.need_tar_gz = false
|
23
|
+
|
24
|
+
# True if a bzip2'd tar file (tar.bz2) should be produced
|
25
|
+
t.need_tar_bz2 = false
|
26
|
+
|
27
|
+
# True if a zip file should be produced (default is false)
|
28
|
+
t.need_zip = false
|
29
|
+
|
30
|
+
# List of files to be included in the package.
|
31
|
+
t.package_files = gemspec.files
|
32
|
+
|
33
|
+
# Tar command for gzipped or bzip2ed archives.
|
34
|
+
t.tar_command = "tar"
|
35
|
+
|
36
|
+
# Zip command for zipped archives.
|
37
|
+
t.zip_command = "zip"
|
38
|
+
|
39
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webspicy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.pre.
|
4
|
+
version: 0.1.0.pre.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bernard Lambeau
|
@@ -121,6 +121,7 @@ files:
|
|
121
121
|
- spec/unit/spec_helper.rb
|
122
122
|
- spec/unit/test_configuration.rb
|
123
123
|
- spec/unit/tester/test_assertions.rb
|
124
|
+
- tasks/gem.rake
|
124
125
|
- tasks/test.rake
|
125
126
|
homepage: http://github.com/enspirit/webspicy
|
126
127
|
licenses:
|