apiway 0.0.5 → 0.0.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d380626bbdc8b3d192d2102b8b257e8c5c5456ca
4
- data.tar.gz: b0630d02b7158b20d7892b9f81030ee82f71aabd
3
+ metadata.gz: ab2ecfdb146f41966506e176f352eca05f9dd473
4
+ data.tar.gz: 02187ddb418ec2d06ee8690ef205d9a59ba89ae8
5
5
  SHA512:
6
- metadata.gz: 574319bdcc4bdef5559706a1048302193a9faa342c4c5d2fa0ba0489c125e38d89670af3549c16bfe308b27eedcd7a612979de886ac19b598858236f781920b1
7
- data.tar.gz: 96c2e9e76bd7a695327b4565c26de8ebbd231f230d49bd7857921913a1d804719fd43a4f71a530cc439a33bf50e2945e2481ce939236a3bc4efa40f88ad865b4
6
+ metadata.gz: b45bdbeb2d468c9c462a5260855494f63578b7b6e44f3d831702e297b60a5a69d5d1a78b900de55501bcbe6914a7bc4c7572d32516703eba46f6920a2cdd2d23
7
+ data.tar.gz: 38a38787ed92bd19b948bdd63260833d904409f42bfd4f2bb0032d42a9ac7f8ee131a661c2449b7581fa50bb8e4ddc99fb3a1102962bf36b1426c7813b4acb05
@@ -10,11 +10,16 @@ module Apiway
10
10
  set database_file: File.join( root, 'config/database.yml' )
11
11
 
12
12
 
13
+ get '*' do
14
+ request.websocket? ? request.websocket{ |ws| Apiway::Client.new ws } : pass
15
+ end
16
+
17
+
13
18
  %W(
14
19
  lib/**/*.rb
15
20
  config/environments/#{ environment.to_s }.rb
16
21
  config/initializers/**/*.rb
17
- app/models/**/*.rb
22
+ app/models/**/*.rb
18
23
  app/base/**/*.rb
19
24
  app/controllers/application.rb
20
25
  app/resources/application.rb
@@ -37,12 +42,7 @@ module Apiway
37
42
  # also_reload File.join( Apiway.path, '**/*.rb' )
38
43
  end
39
44
 
40
-
41
- get '*' do
42
- request.websocket? ? request.websocket{ |ws| Apiway::Client.new ws } : pass
43
- end
44
-
45
-
45
+
46
46
  def self.tasks
47
47
  require 'sinatra/activerecord/rake'
48
48
  end
@@ -1,5 +1,5 @@
1
1
  module Apiway
2
2
 
3
- VERSION = '0.0.5'
3
+ VERSION = '0.0.6'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apiway
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - 4urbanoff