hydroponics 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.markdown +4 -0
- data/VERSION +1 -1
- data/bin/hydro +2 -2
- data/config/hydro_app.rb +4 -4
- data/hydroponics.gemspec +1 -1
- data/lib/hydroponics.rb +2 -2
- metadata +3 -3
data/ChangeLog.markdown
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.2
|
data/bin/hydro
CHANGED
data/config/hydro_app.rb
CHANGED
@@ -3,7 +3,7 @@ require 'fileutils'
|
|
3
3
|
require 'json'
|
4
4
|
require 'sequel'
|
5
5
|
require 'sinatra'
|
6
|
-
require '
|
6
|
+
require 'hydroponics'
|
7
7
|
|
8
8
|
class HydroApp < Sinatra::Base
|
9
9
|
include Hydroponics::Actions
|
@@ -15,9 +15,9 @@ class HydroApp < Sinatra::Base
|
|
15
15
|
super
|
16
16
|
end
|
17
17
|
|
18
|
-
set :root, File.join(
|
19
|
-
set :public, File.join(
|
20
|
-
set :version, File.read(File.join(
|
18
|
+
set :root, File.join(File.dirname(__FILE__), "../app")
|
19
|
+
set :public, File.join(File.dirname(__FILE__), "../static")
|
20
|
+
set :version, File.read(File.join(File.dirname(__FILE__), "../VERSION")).chomp
|
21
21
|
|
22
22
|
post '/dupe/:table' do |table|
|
23
23
|
data = JSON.parse(request.body.read)
|
data/hydroponics.gemspec
CHANGED
data/lib/hydroponics.rb
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
require '
|
2
|
-
Dir['
|
1
|
+
require 'hydroponics/setup'
|
2
|
+
Dir[File.join(File.dirname(__FILE__), '../app/actions/*.rb')].each { |f| require f; }
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hydroponics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 2
|
10
|
+
version: 0.3.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tyler Boyd
|