archerplume 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +31 -0
- data/app/controllers/application_controller.rb +1 -0
- data/app/controllers/welcome_controller.rb +17 -0
- data/archerplume-0.0.1.gem +0 -0
- data/archerplume.gemspec +1 -0
- data/config/application.rb +5 -1
- data/lib/archerplume/version.rb +1 -1
- metadata +16 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74bff46c1a2907dd388cc041473957ab90e0a694
|
4
|
+
data.tar.gz: 74e76b837021b505280b3aaf1ad5f92d77b464b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0edd79bb2974ac6a6508f332753ec45570c58b32a117e7e03d5d63ff6bd2f975f334674a89b8ab231f1e3114ed95c407376ec409d70f21c7974314539325032c
|
7
|
+
data.tar.gz: 60250d7a8defc52426a1c882f0e9ce38fc779448cec688d2c5efa1d8e67e7bfc9b1f3ac67a2c2c2b5afbb3f5e18f838d23eb2c212a05a979a24b9e4356a43d1e
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -25,7 +25,12 @@ GEM
|
|
25
25
|
multi_json (~> 1.3)
|
26
26
|
thread_safe (~> 0.1)
|
27
27
|
tzinfo (~> 0.3.37)
|
28
|
+
addressable (2.3.6)
|
28
29
|
arel (4.0.2)
|
30
|
+
autoparse (0.3.3)
|
31
|
+
addressable (>= 2.3.1)
|
32
|
+
extlib (>= 0.9.15)
|
33
|
+
multi_json (>= 1.0.0)
|
29
34
|
builder (3.1.4)
|
30
35
|
coffee-rails (4.0.1)
|
31
36
|
coffee-script (>= 2.2.0)
|
@@ -36,6 +41,20 @@ GEM
|
|
36
41
|
coffee-script-source (1.7.0)
|
37
42
|
erubis (2.7.0)
|
38
43
|
execjs (2.2.0)
|
44
|
+
extlib (0.9.16)
|
45
|
+
faraday (0.9.0)
|
46
|
+
multipart-post (>= 1.2, < 3)
|
47
|
+
google-api-client (0.7.1)
|
48
|
+
addressable (>= 2.3.2)
|
49
|
+
autoparse (>= 0.3.3)
|
50
|
+
extlib (>= 0.9.15)
|
51
|
+
faraday (>= 0.9.0)
|
52
|
+
jwt (>= 0.1.5)
|
53
|
+
launchy (>= 2.1.1)
|
54
|
+
multi_json (>= 1.0.0)
|
55
|
+
retriable (>= 1.4)
|
56
|
+
signet (>= 0.5.0)
|
57
|
+
uuidtools (>= 2.1.0)
|
39
58
|
hike (1.2.3)
|
40
59
|
i18n (0.6.9)
|
41
60
|
jbuilder (1.5.3)
|
@@ -45,12 +64,16 @@ GEM
|
|
45
64
|
railties (>= 3.0, < 5.0)
|
46
65
|
thor (>= 0.14, < 2.0)
|
47
66
|
json (1.8.1)
|
67
|
+
jwt (1.0.0)
|
68
|
+
launchy (2.4.2)
|
69
|
+
addressable (~> 2.3)
|
48
70
|
mail (2.5.4)
|
49
71
|
mime-types (~> 1.16)
|
50
72
|
treetop (~> 1.4.8)
|
51
73
|
mime-types (1.25.1)
|
52
74
|
minitest (4.7.5)
|
53
75
|
multi_json (1.10.1)
|
76
|
+
multipart-post (2.0.0)
|
54
77
|
polyglot (0.3.5)
|
55
78
|
rack (1.5.2)
|
56
79
|
rack-test (0.6.2)
|
@@ -71,6 +94,7 @@ GEM
|
|
71
94
|
rake (10.3.2)
|
72
95
|
rdoc (4.1.1)
|
73
96
|
json (~> 1.4)
|
97
|
+
retriable (1.4.1)
|
74
98
|
sass (3.2.19)
|
75
99
|
sass-rails (4.0.3)
|
76
100
|
railties (>= 4.0.0, < 5.0)
|
@@ -80,6 +104,11 @@ GEM
|
|
80
104
|
sdoc (0.4.0)
|
81
105
|
json (~> 1.8)
|
82
106
|
rdoc (~> 4.0, < 5.0)
|
107
|
+
signet (0.5.1)
|
108
|
+
addressable (>= 2.2.3)
|
109
|
+
faraday (>= 0.9.0.rc5)
|
110
|
+
jwt (>= 0.1.5)
|
111
|
+
multi_json (>= 1.0.0)
|
83
112
|
sprockets (2.11.0)
|
84
113
|
hike (~> 1.2)
|
85
114
|
multi_json (~> 1.0)
|
@@ -102,12 +131,14 @@ GEM
|
|
102
131
|
uglifier (2.5.1)
|
103
132
|
execjs (>= 0.3.0)
|
104
133
|
json (>= 1.8.0)
|
134
|
+
uuidtools (2.1.4)
|
105
135
|
|
106
136
|
PLATFORMS
|
107
137
|
x86-mingw32
|
108
138
|
|
109
139
|
DEPENDENCIES
|
110
140
|
coffee-rails (~> 4.0.0)
|
141
|
+
google-api-client
|
111
142
|
jbuilder (~> 1.2)
|
112
143
|
jquery-rails
|
113
144
|
rails (= 4.0.0)
|
@@ -1,4 +1,21 @@
|
|
1
|
+
require'google/api_client'
|
1
2
|
class WelcomeController < ApplicationController
|
3
|
+
|
4
|
+
def new
|
5
|
+
|
6
|
+
end
|
2
7
|
def index
|
8
|
+
|
9
|
+
client = Google::APIClient.new
|
10
|
+
client.authorization.client_id = '422061338001-fp3q5ts40hfhcb1vkjfoeugs1hpfplas.apps.googleusercontent.com'
|
11
|
+
|
12
|
+
client.authorization.client_secret = '422061338001-fp3q5ts40hfhcb1vkjfoeugs1hpfplas@developer.gserviceaccount.com'
|
13
|
+
client.authorization.redirect_uri = 'http://archercraftstore.github.io/'
|
14
|
+
client.authorization.scope = 'https://www.googleapis.com/auth/drive.file'
|
15
|
+
redirect_to client.authorization.authorization_uri
|
16
|
+
authorizatin_code = params[:code]
|
17
|
+
client.code = authorization_code
|
18
|
+
client.fetch_access_token!
|
19
|
+
drive = client.discovered_api('drive','v2')
|
3
20
|
end
|
4
21
|
end
|
Binary file
|
data/archerplume.gemspec
CHANGED
data/config/application.rb
CHANGED
@@ -1,13 +1,17 @@
|
|
1
1
|
require File.expand_path('../boot', __FILE__)
|
2
2
|
|
3
3
|
require 'rails/all'
|
4
|
-
|
4
|
+
require 'google/api_client'
|
5
5
|
# Require the gems listed in Gemfile, including any gems
|
6
6
|
# you've limited to :test, :development, or :production.
|
7
7
|
Bundler.require(:default, Rails.env)
|
8
8
|
|
9
9
|
module Archerplume
|
10
|
+
|
10
11
|
class Application < Rails::Application
|
12
|
+
|
13
|
+
|
14
|
+
|
11
15
|
# Settings in config/environments/* take precedence over those specified here.
|
12
16
|
# Application configuration should go into files in config/initializers
|
13
17
|
# -- all .rb files in that directory are automatically loaded.
|
data/lib/archerplume/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: archerplume
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Weldon
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
description: ArcherPlume Blog FrameWork
|
42
56
|
email:
|
43
57
|
- "weldon23.henson23@gmail.com\t"
|
@@ -87,6 +101,7 @@ files:
|
|
87
101
|
- app/views/comments/_form.html.erb
|
88
102
|
- app/views/layouts/application.html.erb
|
89
103
|
- app/views/welcome/index.html.erb
|
104
|
+
- archerplume-0.0.1.gem
|
90
105
|
- archerplume.gemspec
|
91
106
|
- bin/bundle
|
92
107
|
- bin/rails
|