omniauth-colormeshop 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ef8453520e592b68af786a4878a82ee76660ff23
4
- data.tar.gz: 58ec2863b0b1c56e89bacda457baf37327e85fda
2
+ SHA256:
3
+ metadata.gz: f76aff99b5630763ff0d5f9992996f505e1a14725f5c637d7932be5852019bff
4
+ data.tar.gz: ec817cfb853c7edc19ada8fdeb98e8ed6ffb09a3b663ec22ac77c6720f0bbf4b
5
5
  SHA512:
6
- metadata.gz: 3b9d3429ba062f844dbfe39cf631214c6e8e4ff400347c6b87e95ba0efb2a715e979622eacbb4754eb00a737fc063b6c6de69584b9da1e1e0cb864144cfa901b
7
- data.tar.gz: a34b5a638ce2d76971cb5d69ea9517ae573a3cf921d627f51c67f4bf7f2c7a50feddb98eb94563e706ac701976cec48c33faff37debd8f8351189b22700aa64d
6
+ metadata.gz: 4c0082633863318e87ec6da37f3290aadadbcd59fa754c94651a1ee16a3c2598ec42ff2564c8a750f9b7d97195d7e76e54df9da0e7655b0ea0b00ccc1a9c86eb
7
+ data.tar.gz: 4d39ab876c0a07586bc3a8c821e13fdbf3cf8eb30e1c5a57e6367dcaafd33a2d99613150be7881110574054270d17eb988cf7c8b122867d7d341d5c2fd678661
@@ -1,8 +1,9 @@
1
1
  language: ruby
2
2
 
3
3
  rvm:
4
- - 2.0.0
5
- - 2.1.0
4
+ - 2.2
5
+ - 2.3
6
+ - 2.4.0
6
7
  - ruby-head
7
8
 
8
9
  script: rake spec
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in omniauth-cmsp.gemspec
3
+ # Specify your gem's dependencies in omniauth-colormeshop.gemspec
4
4
  gemspec
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # OmniAuth::ColorMeShop
2
2
 
3
+ [![Build Status](https://travis-ci.org/pepabo/omniauth-colormeshop.svg?branch=master)](https://travis-ci.org/pepabo/omniauth-colormeshop)
4
+
3
5
  OmniAuth strategy for [ColorMeShop API](http://shop-pro.jp/?mode=api).
4
6
 
5
7
  ## Usage
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module ColorMeShop
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -17,6 +17,10 @@ module OmniAuth
17
17
  def raw_info
18
18
  @raw_info ||= access_token.get('/v1/shop.json').parsed
19
19
  end
20
+
21
+ def callback_url
22
+ full_host + script_name + callback_path
23
+ end
20
24
  end
21
25
  end
22
26
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ['kentarok@gmail.com']
11
11
  spec.description = %q{OmniAuth Strategy for ColorMeShop API}
12
12
  spec.summary = %q{OmniAuth Strategy for ColorMeShop API}
13
- spec.homepage = 'https://github.com/paperboy-cmsp/omniauth-colormeshop'
13
+ spec.homepage = 'https://github.com/pepabo/omniauth-colormeshop'
14
14
  spec.license = 'MIT'
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-colormeshop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kentaro Kuribayashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-31 00:00:00.000000000 Z
11
+ date: 2017-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
@@ -85,7 +85,7 @@ files:
85
85
  - omniauth-colormeshop.gemspec
86
86
  - spec/omniauth/strategies/colormeshop_spec.rb
87
87
  - spec/spec_helper.rb
88
- homepage: https://github.com/paperboy-cmsp/omniauth-colormeshop
88
+ homepage: https://github.com/pepabo/omniauth-colormeshop
89
89
  licenses:
90
90
  - MIT
91
91
  metadata: {}
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  version: '0'
106
106
  requirements: []
107
107
  rubyforge_project:
108
- rubygems_version: 2.4.5
108
+ rubygems_version: 2.6.14
109
109
  signing_key:
110
110
  specification_version: 4
111
111
  summary: OmniAuth Strategy for ColorMeShop API