omniauth-geekpark 0.0.1

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.
Files changed (41) hide show
  1. checksums.yaml +15 -0
  2. data/Gemfile +12 -0
  3. data/Gemfile.lock +118 -0
  4. data/Guardfile +10 -0
  5. data/README.md +11 -0
  6. data/Rakefile +8 -0
  7. data/coverage/.last_run.json +5 -0
  8. data/coverage/.resultset.json +47 -0
  9. data/coverage/.resultset.json.lock +0 -0
  10. data/coverage/assets/0.9.0/application.css +799 -0
  11. data/coverage/assets/0.9.0/application.js +1707 -0
  12. data/coverage/assets/0.9.0/colorbox/border.png +0 -0
  13. data/coverage/assets/0.9.0/colorbox/controls.png +0 -0
  14. data/coverage/assets/0.9.0/colorbox/loading.gif +0 -0
  15. data/coverage/assets/0.9.0/colorbox/loading_background.png +0 -0
  16. data/coverage/assets/0.9.0/favicon_green.png +0 -0
  17. data/coverage/assets/0.9.0/favicon_red.png +0 -0
  18. data/coverage/assets/0.9.0/favicon_yellow.png +0 -0
  19. data/coverage/assets/0.9.0/loading.gif +0 -0
  20. data/coverage/assets/0.9.0/magnify.png +0 -0
  21. data/coverage/assets/0.9.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  22. data/coverage/assets/0.9.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  23. data/coverage/assets/0.9.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  24. data/coverage/assets/0.9.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  25. data/coverage/assets/0.9.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  26. data/coverage/assets/0.9.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  27. data/coverage/assets/0.9.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  28. data/coverage/assets/0.9.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  29. data/coverage/assets/0.9.0/smoothness/images/ui-icons_222222_256x240.png +0 -0
  30. data/coverage/assets/0.9.0/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  31. data/coverage/assets/0.9.0/smoothness/images/ui-icons_454545_256x240.png +0 -0
  32. data/coverage/assets/0.9.0/smoothness/images/ui-icons_888888_256x240.png +0 -0
  33. data/coverage/assets/0.9.0/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  34. data/coverage/index.html +344 -0
  35. data/lib/omniauth/strategies/geekpark.rb +34 -0
  36. data/lib/omniauth-geekpark/version.rb +5 -0
  37. data/lib/omniauth-geekpark.rb +2 -0
  38. data/omniauth-geekpark.gemspec +27 -0
  39. data/spec/omniauth/strategies/geekpark_spec.rb +29 -0
  40. data/spec/spec_helper.rb +16 -0
  41. metadata +175 -0
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YTBlYThjN2YwNDNlNDhjN2MxMmYzOGY1MjlkNjhmZjQxNmQ0YzYyNw==
5
+ data.tar.gz: !binary |-
6
+ ZDQzYzllYzVmYjU2OGQ4NDBiOGZhZDk4YTViMjVkNjUzMmQ4MmY0ZA==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ NmRkNTk2NjAyMWY2MjE4ZTUxODA2ZjQ0YThmYmIzYmM3YmVkMGI5NTliMGU4
10
+ YzM2YjgyOTIwODU5ZWNhNThhMzQxNGFiY2FhYmE0OWRlY2Q4MmI3YTQzNGVm
11
+ ODY4Yjc4MDU0NDc2N2EyMzdhM2I1OWEzNjg4Zjk4ODYyMmI5NmY=
12
+ data.tar.gz: !binary |-
13
+ MmRkNDIyOGFhMjk5ZjNjYmE2ODBiYTFiNzkzYmE5YTZmNDcwNWRhMWFlMmFm
14
+ NDhjMGMwMDZiMWYxMmVlZWRjMTQzZDdlMDU4NWIzOTI5MjJkMjZjMmEyZWFl
15
+ YmE3ZGZjMjQxZmJkNDVmMTQ0ZTM4ODA2N2VmNzllYTk3YmI2MDg=
data/Gemfile ADDED
@@ -0,0 +1,12 @@
1
+ source 'http://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in omniauth-geekpark.gemspec
4
+ gemspec
5
+
6
+ group :development, :test do
7
+ gem 'guard'
8
+ gem 'guard-rspec'
9
+ gem 'guard-bundler'
10
+ gem 'rb-fsevent'
11
+ gem 'growl'
12
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,118 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ omniauth-geekpark (0.0.1)
5
+ omniauth (~> 1.0)
6
+ omniauth-oauth2 (>= 1.1.1, < 2.0)
7
+
8
+ GEM
9
+ remote: http://rubygems.org/
10
+ specs:
11
+ addressable (2.3.8)
12
+ celluloid (0.16.0)
13
+ timers (~> 4.0.0)
14
+ coderay (1.1.0)
15
+ crack (0.4.2)
16
+ safe_yaml (~> 1.0.0)
17
+ diff-lcs (1.2.5)
18
+ docile (1.1.5)
19
+ faraday (0.9.1)
20
+ multipart-post (>= 1.2, < 3)
21
+ ffi (1.9.8)
22
+ formatador (0.2.5)
23
+ growl (1.0.3)
24
+ guard (2.12.5)
25
+ formatador (>= 0.2.4)
26
+ listen (~> 2.7)
27
+ lumberjack (~> 1.0)
28
+ nenv (~> 0.1)
29
+ notiffany (~> 0.0)
30
+ pry (>= 0.9.12)
31
+ shellany (~> 0.0)
32
+ thor (>= 0.18.1)
33
+ guard-bundler (2.1.0)
34
+ bundler (~> 1.0)
35
+ guard (~> 2.2)
36
+ guard-compat (~> 1.1)
37
+ guard-compat (1.2.1)
38
+ guard-rspec (4.5.0)
39
+ guard (~> 2.1)
40
+ guard-compat (~> 1.1)
41
+ rspec (>= 2.99.0, < 4.0)
42
+ hashie (3.4.1)
43
+ hitimes (1.2.2)
44
+ jwt (1.4.1)
45
+ listen (2.10.0)
46
+ celluloid (~> 0.16.0)
47
+ rb-fsevent (>= 0.9.3)
48
+ rb-inotify (>= 0.9)
49
+ lumberjack (1.0.9)
50
+ method_source (0.8.2)
51
+ multi_json (1.11.0)
52
+ multi_xml (0.5.5)
53
+ multipart-post (2.0.0)
54
+ nenv (0.2.0)
55
+ notiffany (0.0.6)
56
+ nenv (~> 0.1)
57
+ shellany (~> 0.0)
58
+ oauth2 (1.0.0)
59
+ faraday (>= 0.8, < 0.10)
60
+ jwt (~> 1.0)
61
+ multi_json (~> 1.3)
62
+ multi_xml (~> 0.5)
63
+ rack (~> 1.2)
64
+ omniauth (1.2.2)
65
+ hashie (>= 1.2, < 4)
66
+ rack (~> 1.0)
67
+ omniauth-oauth2 (1.2.0)
68
+ faraday (>= 0.8, < 0.10)
69
+ multi_json (~> 1.3)
70
+ oauth2 (~> 1.0)
71
+ omniauth (~> 1.2)
72
+ pry (0.10.1)
73
+ coderay (~> 1.1.0)
74
+ method_source (~> 0.8.1)
75
+ slop (~> 3.4)
76
+ rack (1.6.0)
77
+ rack-test (0.6.3)
78
+ rack (>= 1.0)
79
+ rb-fsevent (0.9.4)
80
+ rb-inotify (0.9.5)
81
+ ffi (>= 0.5.0)
82
+ rspec (2.99.0)
83
+ rspec-core (~> 2.99.0)
84
+ rspec-expectations (~> 2.99.0)
85
+ rspec-mocks (~> 2.99.0)
86
+ rspec-core (2.99.2)
87
+ rspec-expectations (2.99.2)
88
+ diff-lcs (>= 1.1.3, < 2.0)
89
+ rspec-mocks (2.99.3)
90
+ safe_yaml (1.0.4)
91
+ shellany (0.0.1)
92
+ simplecov (0.9.2)
93
+ docile (~> 1.1.0)
94
+ multi_json (~> 1.0)
95
+ simplecov-html (~> 0.9.0)
96
+ simplecov-html (0.9.0)
97
+ slop (3.6.0)
98
+ thor (0.19.1)
99
+ timers (4.0.1)
100
+ hitimes
101
+ webmock (1.21.0)
102
+ addressable (>= 2.3.6)
103
+ crack (>= 0.3.2)
104
+
105
+ PLATFORMS
106
+ ruby
107
+
108
+ DEPENDENCIES
109
+ growl
110
+ guard
111
+ guard-bundler
112
+ guard-rspec
113
+ omniauth-geekpark!
114
+ rack-test
115
+ rb-fsevent
116
+ rspec (~> 2.7)
117
+ simplecov
118
+ webmock
data/Guardfile ADDED
@@ -0,0 +1,10 @@
1
+ guard 'rspec', :version => 2 do
2
+ watch(%r{^spec/.+_spec\.rb$})
3
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
4
+ watch('spec/spec_helper.rb') { "spec" }
5
+ end
6
+
7
+ guard 'bundler' do
8
+ watch('Gemfile')
9
+ watch('omniauth-geekpark.gemspec')
10
+ end
data/README.md ADDED
@@ -0,0 +1,11 @@
1
+ ## OmniAuth GeekPark
2
+
3
+ This is the official OmniAuth strategy for authenticating to GeekPark.
4
+
5
+ ## Usage
6
+ ```
7
+ use OmniAuth::Builder do
8
+ provider :geekpark, ENV['GEEKPARK_KEY'], ENV['GEEKPARK_SECRET']
9
+ end
10
+ ```
11
+
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
3
+ require 'rspec/core/rake_task'
4
+
5
+ RSpec::Core::RakeTask.new
6
+
7
+ desc 'Run specs'
8
+ task :default => :spec
@@ -0,0 +1,5 @@
1
+ {
2
+ "result": {
3
+ "covered_percent": 84.62
4
+ }
5
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "RSpec": {
3
+ "coverage": {
4
+ "/Users/cloud/geekpark/omniauth-geekpark/lib/omniauth-geekpark.rb": [
5
+ 1,
6
+ 1
7
+ ],
8
+ "/Users/cloud/geekpark/omniauth-geekpark/lib/omniauth/strategies/geekpark.rb": [
9
+ 1,
10
+ null,
11
+ 1,
12
+ 1,
13
+ 1,
14
+ 1,
15
+ null,
16
+ null,
17
+ null,
18
+ null,
19
+ null,
20
+ 1,
21
+ null,
22
+ 1,
23
+ null,
24
+ null,
25
+ null,
26
+ null,
27
+ null,
28
+ null,
29
+ null,
30
+ null,
31
+ null,
32
+ 0,
33
+ null,
34
+ null,
35
+ 1,
36
+ 0,
37
+ null,
38
+ null,
39
+ null,
40
+ null,
41
+ null,
42
+ 1
43
+ ]
44
+ },
45
+ "timestamp": 1428468280
46
+ }
47
+ }
File without changes