apiway 0.0.4 → 0.0.5

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: 9005cd517fa2679e9091b72f66b82e5390558e8e
4
- data.tar.gz: 94c5ae31b5085166b1d8ea8d8bf44cf6a0226b0e
3
+ metadata.gz: d380626bbdc8b3d192d2102b8b257e8c5c5456ca
4
+ data.tar.gz: b0630d02b7158b20d7892b9f81030ee82f71aabd
5
5
  SHA512:
6
- metadata.gz: 232100d4d130c4730ae859bf642177e4cce82f6c63fc3abb97bbf0d0338e2b46542cb6106395fe958773bc6f6426eaeb53b0f98c2989d53249ae46147b16d8bd
7
- data.tar.gz: 83c4f9ffcccb28e6be974f04ef1e4f952c6a7dd2ed5518f8150d03b513db2691d1e5b6b8bd6f4c67560fa2bc783b06f61b013ac4d6d7875bd22816c7613d17df
6
+ metadata.gz: 574319bdcc4bdef5559706a1048302193a9faa342c4c5d2fa0ba0489c125e38d89670af3549c16bfe308b27eedcd7a612979de886ac19b598858236f781920b1
7
+ data.tar.gz: 96c2e9e76bd7a695327b4565c26de8ebbd231f230d49bd7857921913a1d804719fd43a4f71a530cc439a33bf50e2945e2481ce939236a3bc4efa40f88ad865b4
@@ -6,14 +6,15 @@ module Apiway
6
6
  set root: File.expand_path( '.' )
7
7
  set static: true
8
8
  set apiway_log: true
9
- set active_record_log: true
9
+ set active_record_log: true
10
10
  set database_file: File.join( root, 'config/database.yml' )
11
11
 
12
-
12
+
13
13
  %W(
14
14
  lib/**/*.rb
15
15
  config/environments/#{ environment.to_s }.rb
16
16
  config/initializers/**/*.rb
17
+ app/models/**/*.rb
17
18
  app/base/**/*.rb
18
19
  app/controllers/application.rb
19
20
  app/resources/application.rb
@@ -23,24 +24,24 @@ module Apiway
23
24
  .flatten.uniq.each{ |path| require path }
24
25
 
25
26
 
26
- register Sinatra::ActiveRecordExtension
27
-
28
-
27
+ register Sinatra::ActiveRecordExtension
28
+
29
+
29
30
  LoggerBase::apiway_log_level apiway_log
30
31
  LoggerBase::activerecord_log_level activerecord_log
31
-
32
-
33
- configure :development do
34
- register Sinatra::Reloader
35
- also_reload File.join( root, '**/*.rb' )
36
- # also_reload File.join( Apiway.path, '**/*.rb' )
37
- end
38
-
39
-
40
- get '*' do
41
- request.websocket? ? request.websocket{ |ws| Apiway::Client.new ws } : pass
42
- end
43
-
32
+
33
+
34
+ configure :development do
35
+ register Sinatra::Reloader
36
+ also_reload File.join( root, '**/*.rb' )
37
+ # also_reload File.join( Apiway.path, '**/*.rb' )
38
+ end
39
+
40
+
41
+ get '*' do
42
+ request.websocket? ? request.websocket{ |ws| Apiway::Client.new ws } : pass
43
+ end
44
+
44
45
 
45
46
  def self.tasks
46
47
  require 'sinatra/activerecord/rake'
@@ -1,5 +1,5 @@
1
1
  module Apiway
2
2
 
3
- VERSION = '0.0.4'
3
+ VERSION = '0.0.5'
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.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - 4urbanoff