omniauth-mapmyfitness 0.1.1 → 0.1.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.
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Omniauth::Mapmyfitness
1
+ # Omniauth::MapMyFitness
2
2
 
3
3
  OmniAuth Strategy for [Map My Fitness API](http://api.mapmyfitness.com/3.1/)
4
4
 
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
- module Mapmyfitness
3
- VERSION = "0.1.1"
2
+ module MapMyFitness
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
@@ -4,7 +4,7 @@ require "multi_xml"
4
4
  module OmniAuth
5
5
  module Strategies
6
6
 
7
- class Mapmyfitness < OmniAuth::Strategies::OAuth
7
+ class MapMyFitness < OmniAuth::Strategies::OAuth
8
8
  option :name, "mapmyfitness"
9
9
 
10
10
  option :client_options, {
@@ -33,3 +33,5 @@ module OmniAuth
33
33
 
34
34
  end
35
35
  end
36
+
37
+ OmniAuth.config.add_camelization 'mapmyfitness', 'MapMyFitness'
@@ -5,7 +5,7 @@ require 'omniauth-mapmyfitness/version'
5
5
 
6
6
  Gem::Specification.new do |gem|
7
7
  gem.name = "omniauth-mapmyfitness"
8
- gem.version = Omniauth::Mapmyfitness::VERSION
8
+ gem.version = Omniauth::MapMyFitness::VERSION
9
9
  gem.authors = ["Julius Francisco"]
10
10
  gem.email = ["baldrailers@gmail.com"]
11
11
  gem.description = %q{OmniOauth strategy for mapmyfitness}
@@ -1,9 +1,9 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe "OmniAuth::Strategies::Mapmyfitness" do
3
+ describe "OmniAuth::Strategies::MapMyFitness" do
4
4
 
5
5
  subject do
6
- OmniAuth::Strategies::Mapmyfitness.new(nil, @options || {})
6
+ OmniAuth::Strategies::MapMyFitness.new(nil, @options || {})
7
7
  end
8
8
 
9
9
  context 'client options' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-mapmyfitness
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-12 00:00:00.000000000 Z
12
+ date: 2012-10-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omniauth-oauth
@@ -157,7 +157,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
157
157
  version: '0'
158
158
  segments:
159
159
  - 0
160
- hash: -577243975416488922
160
+ hash: -2182022722070141979
161
161
  required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  none: false
163
163
  requirements:
@@ -166,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
166
  version: '0'
167
167
  segments:
168
168
  - 0
169
- hash: -577243975416488922
169
+ hash: -2182022722070141979
170
170
  requirements: []
171
171
  rubyforge_project:
172
172
  rubygems_version: 1.8.24