mvpkit 1.1.0 → 1.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
  SHA1:
3
- metadata.gz: 5d41f64572165bfbdcb0d5552ff685b893777032
4
- data.tar.gz: 4fc7a6c2377fb3dd4531f141a38557de44c6411d
3
+ metadata.gz: c162cb1e5e1dc7884dbaa1c9a3d8f267054fe949
4
+ data.tar.gz: 0b6aed35d6042068bf99ab7df56f49114e9eaa14
5
5
  SHA512:
6
- metadata.gz: f589a240a76fc642aa31ee5d4661da50e0d65ef67e57273ac3e53e80376b67d3c45555139d8dfbfae5a14dae93be42741057c0f57c81bae210ca30e4e6c6c93e
7
- data.tar.gz: d1476b4b076e785a635394b8d2b4307d8f025416a18b8abae0e8152e2798a044b3ff628b4bbd1c4a79fd997230f4808c5f7611e9f79b553949ac22f12318344d
6
+ metadata.gz: de5976a3750d82e90a875959330c72c53a31366bc0cb9feb07bb5debac54bc893909b5f567d8fa55c3a49376a75a3073760a9f6d358f4eff3a7db366bc109af1
7
+ data.tar.gz: bc596c2170ec5ed445f0cfc289586d98fc788bedea36f5ecbc6e61d4c07a314ed65a24d61f78150942268a170d546cfdc68c0a7bf07a9caa3487a6969c1cd519
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.1
@@ -2,27 +2,6 @@ module MVP
2
2
  module SessionConcern
3
3
  extend ActiveSupport::Concern
4
4
 
5
- COOKIE_ID = '_session'
6
-
7
- included do
8
- helper_method :current_user
9
- end
10
-
11
- def current_user=(user)
12
- session[COOKIE_ID] = user.id
13
- end
14
- alias_method :sign_in, :current_user=
15
-
16
- def current_user
17
- @current_user ||= begin
18
- if session[COOKIE_ID]
19
- Conversion.find(session[COOKIE_ID])
20
- end
21
- rescue ActiveRecord::RecordNotFound
22
- session[COOKIE_ID] = nil
23
- end
24
- end
25
-
26
5
  # http://blog.laaz.org/tech/2012/12/27/rails-redirect_back_or_default/
27
6
  def store_location(path=nil)
28
7
  session[:return_to] = case
data/mvpkit.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: mvpkit 1.1.0 ruby lib
5
+ # stub: mvpkit 1.1.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "mvpkit".freeze
9
- s.version = "1.1.0"
9
+ s.version = "1.1.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Ian Hunter".freeze]
14
- s.date = "2017-04-17"
14
+ s.date = "2017-04-23"
15
15
  s.description = "Built for Developers. Ideal for MVPs, product ideation and validation.".freeze
16
16
  s.email = "ianhunter@gmail.com".freeze
17
17
  s.executables = ["mvp".freeze]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mvpkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Hunter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-17 00:00:00.000000000 Z
11
+ date: 2017-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: carrierwave