social_snippet-registry_core 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDA0NWYzZDE0NDI2ZjNmMmQyNzY0MDQ1MWY3YjZkYzkzNGIyNzc3Mw==
4
+ MGNmZGRhY2UyZmU2MTNkMGE3OWMyYTg1MjM1MTEyMDliYWM3MWE5Mw==
5
5
  data.tar.gz: !binary |-
6
- NWQwODRiYTIyYTJmYTllMTQ1OWE4OTVkODEyYjA1M2E1NDZhNmRiZg==
6
+ ZTY3NzVkOTg5MWRjZjhkMTE2ZGRjN2E3MGJlZjgxNDU5NjJiM2RhOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZTUyZTExMzMzYWEzNWQyNDRiMDY0MDU1YTVhNGM0YmU4ZDA4NzZkNWNmMTcx
10
- YjYyZWM5ZTFmODRhOTBjYWQzNzI3ZDlhZTZkMTE1NDg4NDlkMWM2YmQ5OTQ2
11
- NjQ5Y2M4M2FmNzg1ZDFjZWVjOTI2MTFkMDNiZGEyZmNhZDExMzM=
9
+ NzFiM2MxOTQ3OTQyN2QzNTc1ZWY4NjdlZjc2MzljMTQyMmQ3YjJkOTVhNGI4
10
+ MWU4MjdkNjc4ZWMxODQ3NjU2MGQ5YzE5MjcwYmRlYmFhNmVhOGYzYjgyY2Y5
11
+ Yjc4NGU5ODU0ZmNjMTc0ZDc3MTcyZWY2NjcwOTBkZDg1MzFlNmE=
12
12
  data.tar.gz: !binary |-
13
- MzVlMmI0MzE4NmFjMTM3MDQ4ZGU2ZDM2YThkMmUzNjVkODljNDM4NzhmODY0
14
- MTUxYmQ3ZTNhMzIzMjM4ZDRkOWFlMWEwNDk2MzAxNjVlMzljOTVlMTQ1Njhj
15
- NTJiZTgxMTBjYThmNjU3NWVkMjgxZDYwMDUxY2MxZDJlZGU0NGU=
13
+ NmYzOWEzNGViODFkNzdkYjIzYjVlZTgyNTM4MzEwNGVhNGRmODBiMGQzYjE5
14
+ OWExMDk4ZTZiMzg4OWJiM2UzMWY3YjA5NDMyMTg3ODE0ZDI5ZTFjZjdkMzdm
15
+ ODY4YjQ0ZjJlYWY5NmMzNzBjN2IwNzY3NTkyMjgwZGZlZDNhMWI=
data/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # SocialSnippet::RegistryCore
2
2
 
3
- [![Gem Version](https://img.shields.io/gem/v/social_snippet-registry_core.svg)](https://rubygems.org/gems/social_snippet-registry_core)
4
- [![Build Status](https://img.shields.io/travis/social-snippet/social-snippet-registry-core.svg)](https://travis-ci.org/social-snippet/social-snippet-registry-core)
5
- [![Code Climate](https://img.shields.io/codeclimate/github/social-snippet/social-snippet-registry-core.svg)](https://codeclimate.com/github/social-snippet/social-snippet-registry-core)
6
- [![Test Coverage](https://img.shields.io/codeclimate/coverage/github/social-snippet/social-snippet-registry-core.svg)](https://codeclimate.com/github/social-snippet/social-snippet-registry-core)
3
+ [![Gem Version](https://img.shields.io/gem/v/social_snippet-registry_core.svg?style=flat)](https://rubygems.org/gems/social_snippet-registry_core)
4
+ [![Build Status](https://img.shields.io/travis/social-snippet/social-snippet-registry-core.svg?style=flat)](https://travis-ci.org/social-snippet/social-snippet-registry-core)
5
+ [![Code Climate](https://img.shields.io/codeclimate/github/social-snippet/social-snippet-registry-core.svg?style=flat)](https://codeclimate.com/github/social-snippet/social-snippet-registry-core)
6
+ [![Test Coverage](https://img.shields.io/codeclimate/coverage/github/social-snippet/social-snippet-registry-core.svg?style=flat)](https://codeclimate.com/github/social-snippet/social-snippet-registry-core)
7
7
 
8
8
  TODO: Write a gem description
9
9
 
@@ -1,5 +1,10 @@
1
1
  module SocialSnippet::RegistryCore::CommonHelpers
2
2
 
3
+ # called from view
4
+ def is_logged_in
5
+ logged_in?
6
+ end
7
+
3
8
  def assets_host
4
9
  if ENV["SSPM_ASSETS_HOST"].nil?
5
10
  ""
@@ -1,5 +1,5 @@
1
1
  module SocialSnippet
2
2
  module RegistryCore
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_snippet-registry_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroyuki Sano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-21 00:00:00.000000000 Z
11
+ date: 2015-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler