corn_starch 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/corn_starch_config.rb +1 -1
- data/config/routes.rb +22 -0
- data/lib/corn_starch/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07af360d514c5cb056a6e9d94e8b4ad76fbcc371
|
4
|
+
data.tar.gz: a4c8a6964a8d2f7641ca44ad46a354bd063d5ea4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d6f4e3b20658bd591e0c714687830ef95ef4e52cb9e5c51ba7498fcedbc459896b63a2c008d9b13e86415f9b3562bfa08a066ac300a49f742d32809fe497bc1
|
7
|
+
data.tar.gz: 7a154bb9056ff1bb234bd07e4cd3df76e2c83b10a4c434d567ee45b2e44ed5560e0acc073e94aa796a13e1b159b3dbd0e8aca8435126bad39a7b33a64fbb1884
|
@@ -9,9 +9,9 @@ require 'yaml'
|
|
9
9
|
require 'json'
|
10
10
|
|
11
11
|
# Load up Configuration
|
12
|
-
CORNSTARCH_CONF = {}
|
13
12
|
CORNSTARCH_CONF_FILE = "#{Rails.root}/config/corn_starch.yml"
|
14
13
|
CORNSTARCH_CONF = YAML::load_file CORNSTARCH_CONF_FILE if File.exist? CORNSTARCH_CONF_FILE
|
14
|
+
CORNSTARCH_CONF ||= {}
|
15
15
|
|
16
16
|
######################
|
17
17
|
# Configure Defaults #
|
data/config/routes.rb
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# CornStarch
|
2
|
+
# by Eresse <eresse@eresse.net>
|
3
|
+
|
4
|
+
# CornStarch Routes
|
5
|
+
CornStarch::Engine.routes.draw do
|
6
|
+
|
7
|
+
#################
|
8
|
+
# Web Shortcuts #
|
9
|
+
#################
|
10
|
+
|
11
|
+
get 'login', to: 'sessions#new'
|
12
|
+
get 'logout', to: 'sessions#drop'
|
13
|
+
|
14
|
+
#######################
|
15
|
+
# Resourceful Routing #
|
16
|
+
#######################
|
17
|
+
|
18
|
+
# Sessions
|
19
|
+
resources :sessions do
|
20
|
+
get 'drop', on: :collection
|
21
|
+
end
|
22
|
+
end
|
data/lib/corn_starch/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: corn_starch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eresse
|
@@ -60,6 +60,7 @@ files:
|
|
60
60
|
- config/initializers/corn_starch_config.rb
|
61
61
|
- config/locales/en.yml
|
62
62
|
- config/locales/fr.yml
|
63
|
+
- config/routes.rb
|
63
64
|
- corn_starch.gemspec
|
64
65
|
- lib/corn_starch.rb
|
65
66
|
- lib/corn_starch/version.rb
|