webspicy 0.15.0.pre.rc4 → 0.15.0.pre.rc5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f2d44ed52ad9db7c69e077497deb8df982d30adb
4
- data.tar.gz: 0d61083d5c74545600263c3ad1fbe86823da1f08
2
+ SHA256:
3
+ metadata.gz: 6bae342bd65e0f4cceabacdea4207aef926a498c6e81b0274962514767ca9a47
4
+ data.tar.gz: 9f26e0bc88a826d3dc80c8c216340227e35e15c523da5cf4c91df5a3e04fdc4e
5
5
  SHA512:
6
- metadata.gz: 06eaeb16f81b248053c3e0bfb67e7bce567200c1cde56f0aa9199646b42b8826137f35917b93ec050241c632f65f16183d426a8515b00b3f9c4d6a0016ef4058
7
- data.tar.gz: f8cfcc8e4dfa3cfcf1468ccdf2b8ab0d86a530dbc6905a394addc868f02135d4cb0fbe4dcd8a06fcc5ca7bb113a63edf6e8e9b52236f9716b28226b59a65b690
6
+ metadata.gz: dec90c441f1558f8a5974441cbcf8e0eef9f02cfec65aaf55d0006af40dfd09d0eb1d7c1c41f74c717a357c04dcc47abfec15bfb550a8b42b6057e7c819b37c6
7
+ data.tar.gz: 485bfa12daa0bfce2522b2cbff673184fb2021bb1f8a198bc7fbafc507283c53ff931a2e608ecbcdec0cbdd3f46c36565c7ce725688d6bd0b7a8893bc177d78a
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- webspicy (0.15.0.pre.rc4)
4
+ webspicy (0.15.0.pre.rc5)
5
5
  finitio (>= 0.8.0)
6
6
  http (~> 2)
7
7
  mustermann (~> 1.0)
@@ -1,3 +1,5 @@
1
+ @import finitio/data
2
+
1
3
  Todo = {
2
4
  id : Integer
3
5
  description : String
@@ -325,7 +325,7 @@ module Webspicy
325
325
  def data_system
326
326
  schema = self.folder/"schema.fio"
327
327
  if schema.file?
328
- Finitio::DEFAULT_SYSTEM.parse(schema.read)
328
+ Finitio.system(schema)
329
329
  elsif not(self.parent.nil?)
330
330
  self.parent.data_system
331
331
  else
@@ -1,3 +1,5 @@
1
+ @import finitio/data
2
+
1
3
  Method =
2
4
  String( s | s =~ /^(GET|POST|POST_FORM|PUT|DELETE|PATCH|OPTIONS)$/ )
3
5
 
@@ -2,7 +2,7 @@ module Webspicy
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 15
5
- TINY = "0-rc4"
5
+ TINY = "0-rc5"
6
6
  end
7
7
  VERSION = "#{Version::MAJOR}.#{Version::MINOR}.#{Version::TINY}"
8
8
  end
data/lib/webspicy.rb CHANGED
@@ -38,7 +38,7 @@ module Webspicy
38
38
  ### About formal doc and resources defined there
39
39
  ###
40
40
 
41
- FORMALDOC = Finitio::DEFAULT_SYSTEM.parse (Path.dir/("webspicy/formaldoc.fio")).read
41
+ FORMALDOC = Finitio.system(Path.dir/("webspicy/formaldoc.fio"))
42
42
 
43
43
  # Returns a default scope instance.
44
44
  def default_scope
@@ -119,7 +119,7 @@ module Webspicy
119
119
  if scope = Thread.current[:webspicy_scope]
120
120
  scope.parse_schema(fio)
121
121
  else
122
- Finitio::DEFAULT_SYSTEM.parse(fio)
122
+ Finitio.system(fio)
123
123
  end
124
124
  end
125
125
  module_function :schema
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.15.0.pre.rc4
4
+ version: 0.15.0.pre.rc5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernard Lambeau
@@ -263,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
263
263
  version: 1.3.1
264
264
  requirements: []
265
265
  rubyforge_project:
266
- rubygems_version: 2.6.11
266
+ rubygems_version: 2.7.6
267
267
  signing_key:
268
268
  specification_version: 4
269
269
  summary: Webspicy helps testing web services as software operation black boxes!