cncflora_commons 0.0.23 → 0.0.24

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.
Files changed (2) hide show
  1. data/lib/cncflora_commons.rb +5 -4
  2. metadata +1 -1
@@ -99,10 +99,6 @@ end
99
99
  def setup(file)
100
100
  config_file file
101
101
 
102
- use Rack::Session::Pool
103
- set :session_secret, '1flora2'
104
- set :views, 'src/views'
105
-
106
102
  if ENV["DB"] then
107
103
  set :db, ENV["DB"]
108
104
  end
@@ -144,6 +140,11 @@ def setup(file)
144
140
  setup! newconfig
145
141
  end
146
142
 
143
+ use Rack::Session::Pool
144
+
145
+ set :session_secret, '1flora2'
146
+ set :views, 'src/views'
147
+
147
148
  setup! @config
148
149
  end
149
150
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cncflora_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.23
4
+ version: 0.0.24
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: