Bump depp version

This commit is contained in:
Martin Lensment 2015-03-26 18:02:25 +02:00
parent aa2b46241a
commit d0bffdd5fc
4 changed files with 26 additions and 15 deletions

View file

@ -67,8 +67,8 @@ gem 'deep_cloneable', '~> 2.1.1'
gem 'digidoc_client', '~> 0.2.1' gem 'digidoc_client', '~> 0.2.1'
# epp + repp client # epp + repp client
# gem 'depp', github: 'domify/depp' gem 'depp', github: 'domify/depp', ref: '730b264929613033d334a636a29b04a39693b107'
gem 'depp', path: '/home/martin/projects/depp' # gem 'depp', path: '/home/martin/projects/depp'
group :development do group :development do
# dev tools # dev tools

View file

@ -9,20 +9,11 @@ GIT
request_store (~> 1.1.0) request_store (~> 1.1.0)
GIT GIT
remote: git://github.com/haml/html2haml.git remote: git://github.com/domify/depp.git
revision: 6984f50bdbbd6291535027726a5697f28778ee8d revision: 730b264929613033d334a636a29b04a39693b107
ref: 6984f50bdbbd6291535027726a5697f28778ee8d ref: 730b264929613033d334a636a29b04a39693b107
specs: specs:
html2haml (2.0.0.beta.2) depp (0.0.2)
erubis (~> 2.7.0)
haml (~> 4.0.0)
nokogiri (~> 1.6.0)
ruby_parser (~> 3.5)
PATH
remote: /home/martin/projects/depp
specs:
depp (0.0.1)
coderay (>= 1.1.0) coderay (>= 1.1.0)
coffee-rails (>= 4.1.0) coffee-rails (>= 4.1.0)
countries (>= 0.9.3) countries (>= 0.9.3)
@ -36,6 +27,17 @@ PATH
uglifier (>= 2.6.1) uglifier (>= 2.6.1)
uuidtools (>= 2.1.4) uuidtools (>= 2.1.4)
GIT
remote: git://github.com/haml/html2haml.git
revision: 6984f50bdbbd6291535027726a5697f28778ee8d
ref: 6984f50bdbbd6291535027726a5697f28778ee8d
specs:
html2haml (2.0.0.beta.2)
erubis (~> 2.7.0)
haml (~> 4.0.0)
nokogiri (~> 1.6.0)
ruby_parser (~> 3.5)
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:

View file

@ -48,6 +48,13 @@ class ApplicationController < ActionController::Base
end end
end end
def depp_current_user
@depp_current_user ||= Depp::User.new(
tag: current_user.username,
password: current_user.password
)
end
def api_user_log_str(user) def api_user_log_str(user)
if user.present? if user.present?
"#{user.id}-api-#{user.username}" "#{user.id}-api-#{user.username}"

View file

@ -0,0 +1,2 @@
module CurrentUserHelper
end