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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f9e2d7463d9077ac866ab6f16150afae90eb8b6
4
- data.tar.gz: da0d8233340562cb34102a8da7d7374bdb251517
3
+ metadata.gz: 07af360d514c5cb056a6e9d94e8b4ad76fbcc371
4
+ data.tar.gz: a4c8a6964a8d2f7641ca44ad46a354bd063d5ea4
5
5
  SHA512:
6
- metadata.gz: dfcc35d9d89124390414f298adac8d396d6d96cbe231a902ed6ff26463a79f000e06340d3b4506c608b03453f0e23feb5a9e1df1c443622000588aaef1ea2b0d
7
- data.tar.gz: 63cd531da0cd236b6e0a834c14c35029d84434353e6b322b49a023113e96c380f96af99de00fbdafe8c780dbd4dd13846ff8dd55ef7e0f0921dca75c8ff94414
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
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.1.3'
2
+ VERSION = '1.1.4'
3
3
  end
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.3
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