apipie-dsl 2.1.0 → 2.1.1

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
2
  SHA256:
3
- metadata.gz: 39b5db0089370b09f1623c2d6a5f5e5ae52206031528c9165d0005fb00ea66df
4
- data.tar.gz: 0015e6d6757ede541f2f99448772c925bc4ad11627f288e2136328a80107ae2a
3
+ metadata.gz: 5a4101d45b403c1034aeadf0175b74213fc86d40268efb89f122a4f0c56da3b8
4
+ data.tar.gz: 7740ed0a5a764a690acf3a44bc0d773df59f204a18042a92a27026ddc9c86cc6
5
5
  SHA512:
6
- metadata.gz: f4742f04c2e4203df15840eba132d5b92c92b8fec197cbdf4d09d004d00ddaedbb7c9abcccfcff634cdaf6ae80b36c7a24cd9ea0847a4f7872e908601d4a82e6
7
- data.tar.gz: 251cc977b4b6a6e5876c5650b7c57ce08410e8ad8a92a1d01a66f0ab7101f3607cd99f0793a05cc6656b979167ad05f32a512b9a4f3e064435f1689d1e244451
6
+ metadata.gz: 253276c771d1c838c85b3bbb4d523e3881ca362b2c791c5164b52cfcf812db7050f956c4d02378da6740fd55f10e778b0a25b0a3816890f8db0dcd5a8b4add46
7
+ data.tar.gz: a19479b561f1ca2b98d2fa3596a02419a3076922ff0cb00b82f759fb02459d098651f3985e458fd0214cbffbb27bf7d49820a6d181505605f656099495f20201
@@ -17,6 +17,7 @@ module ApipieDSL
17
17
 
18
18
  base_paths = [File.expand_path('../../app/views/apipie_dsl/apipie_dsls', __dir__)]
19
19
  if ApipieDSL.configuration.rails?
20
+ base_paths.unshift("#{Rails.root}/app/views") if File.directory?("#{Rails.root}/app/views")
20
21
  base_paths.unshift("#{Rails.root}/app/views/apipie_dsl/apipie_dsls") if File.directory?("#{Rails.root}/app/views/apipie_dsl/apipie_dsls")
21
22
  end
22
23
  layouts_paths = [File.expand_path('../../app/views/layouts', __dir__)]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ApipieDSL
4
- VERSION = '2.1.0'
4
+ VERSION = '2.1.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apipie-dsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleh Fedorenko