rubypitaya 2.6.3 → 2.6.4

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
  SHA256:
3
- metadata.gz: 2b367c2b1b6a1bbd272c216dc53b07444bc76ee014126735d2e815299910dfea
4
- data.tar.gz: 626cbd30f338f766de59000a1a7b659d6086e7b64b80c9c6090c05c9e493f908
3
+ metadata.gz: e320e8b3358448fe38fd1c1045f51f69819fe6295c22c7faf53465be8aa835a1
4
+ data.tar.gz: 222317d303922f8ff462f6c4cc948fe281a7a218a75894fc2e085073bf4f79ac
5
5
  SHA512:
6
- metadata.gz: e17f34d833d731125d1a1940b235f5966dba02b82a9b8688cd825bae0902816296bc39c0a8dc0c9be7a13368ca145cbc339b16634ae758b8475ce0c8392eed82
7
- data.tar.gz: cead4eea29f929c9cde46fa007967052bb735f83088359b59360fbd15402b9ae87c9ca84ded405ed3e4d1653ae11ee8a505a6f8ec5c3052beb7a0f9328658b60
6
+ metadata.gz: a1c0594a2b41314ee342a75e74c1169f025afad5bf546e999dc07f2165a78a50c0565d16f3574dbdae06676e9c5a8d5262cdaf500c4187de32996928ca929d6c
7
+ data.tar.gz: 5c17f9d693ea7028882192bc5dae2a64abdf1f7749eb97ab218c461ffd9c3fc10fec3239687caed753cc35ed916a159a8522988e5f9b4ad9121a2b971bcb4f5a
@@ -1,6 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem 'rubypitaya', '2.6.3'
3
+ gem 'rubypitaya', '2.6.4'
4
4
 
5
5
  group :development do
6
6
  gem 'pry', '0.12.2'
@@ -69,7 +69,7 @@ GEM
69
69
  rspec-support (~> 3.8.0)
70
70
  rspec-support (3.8.3)
71
71
  ruby2_keywords (0.0.2)
72
- rubypitaya (2.6.3)
72
+ rubypitaya (2.6.4)
73
73
  activerecord (= 6.0.2)
74
74
  etcdv3 (= 0.10.2)
75
75
  eventmachine (= 1.2.7)
@@ -106,7 +106,7 @@ DEPENDENCIES
106
106
  listen (= 3.2.1)
107
107
  pry (= 0.12.2)
108
108
  rspec (= 3.8.0)
109
- rubypitaya (= 2.6.3)
109
+ rubypitaya (= 2.6.4)
110
110
 
111
111
  BUNDLED WITH
112
112
  1.17.2
@@ -10,6 +10,12 @@ module RubyPitaya
10
10
  register Sinatra::Reloader
11
11
  end
12
12
 
13
+ helpers do
14
+ def find_template(views, name, engine, &block)
15
+ views.each { |v| super(v, name, engine, &block) }
16
+ end
17
+ end
18
+
13
19
  before do
14
20
  content_type :json
15
21
 
@@ -89,7 +89,7 @@ module RubyPitaya
89
89
  HttpRoutes.set :bll, @bll
90
90
  HttpRoutes.set :setup, @setup
91
91
  HttpRoutes.set :config, @config
92
- HttpRoutes.set :views, [Path::HTTP_VIEWS_PATH] + Path::Plugins::APP_CONFIG_FOLDER_PATHS;
92
+ HttpRoutes.set :views, [Path::HTTP_VIEWS_PATH] + Path::Plugins::HTTP_VIEWS_PATHS
93
93
 
94
94
  Thread.new do
95
95
  HttpRoutes.bind = '0.0.0.0'
@@ -1,3 +1,3 @@
1
1
  module RubyPitaya
2
- VERSION = '2.6.3'
2
+ VERSION = '2.6.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubypitaya
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.3
4
+ version: 2.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luciano Prestes Cavalcanti