gitkeeper 0.0.2 → 0.0.3
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 +4 -4
- data/README.rdoc +28 -8
- data/lib/gitkeeper/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 071cbec4a39422c34b01059c47c2c90774112dde
|
|
4
|
+
data.tar.gz: 89509845d82c15208f3149c11611d2b5ec1614d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3a59a7ace4b15027236ec166b495fa807038a6e067afdbd7d31d5e90a189c5386d0b9a66008adcb3bd860db47694a5034b830e856d65d2d0e3d8328b008935dd
|
|
7
|
+
data.tar.gz: 8eb9814370df7cd9f81aae1232b81fbb260828a89d2d82b92a153b12cf8cbe4ff03d955aac681e09eb3430c10a2b85bfa077b658efbd2049286d0c72fe41b916
|
data/README.rdoc
CHANGED
|
@@ -1,20 +1,40 @@
|
|
|
1
1
|
= Gitkeeper for Rails 4.0.0
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
First register your app on GitHub
|
|
4
|
+
|
|
5
|
+
https://github.com/settings/applications/new
|
|
6
|
+
|
|
7
|
+
Name
|
|
8
|
+
|
|
9
|
+
localhost
|
|
10
|
+
|
|
11
|
+
URL
|
|
12
|
+
|
|
13
|
+
http://localhost:3000/
|
|
14
|
+
|
|
15
|
+
Callback URL
|
|
16
|
+
|
|
17
|
+
http://localhost:3000/auth/github/callback
|
|
18
|
+
|
|
19
|
+
Now create a brand new rails app
|
|
4
20
|
|
|
5
21
|
rails new host_app -T -O -B
|
|
6
|
-
|
|
7
|
-
|
|
22
|
+
|
|
23
|
+
Change directory to host_app
|
|
8
24
|
|
|
9
25
|
cd host_app
|
|
26
|
+
|
|
27
|
+
Add mongoid (4.0.0) for rails 4
|
|
28
|
+
|
|
29
|
+
echo "gem 'mongoid', :git => 'git://github.com/mongoid/mongoid.git'"
|
|
30
|
+
|
|
31
|
+
Include the engine in your app
|
|
10
32
|
|
|
11
|
-
|
|
12
|
-
gem 'gitkeeper'
|
|
33
|
+
echo "gem 'gitkeeper'" >> Gemfile
|
|
13
34
|
bundle install
|
|
14
35
|
|
|
15
|
-
Mount the engine
|
|
36
|
+
Mount the engine adding the following to config/routes.rb
|
|
16
37
|
|
|
17
|
-
# host_app/config/routes.rb
|
|
18
38
|
HostApp::Application.routes.draw do
|
|
19
39
|
mount Gitkeeper::Engine => "/auth"
|
|
20
40
|
end
|
|
@@ -23,7 +43,7 @@ Run the server
|
|
|
23
43
|
|
|
24
44
|
rails s
|
|
25
45
|
|
|
26
|
-
Visit
|
|
46
|
+
Visit the following URL
|
|
27
47
|
|
|
28
48
|
http://localhost:3000/auth/github/
|
|
29
49
|
|
data/lib/gitkeeper/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gitkeeper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Luca G. Soave
|
|
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
168
168
|
- !ruby/object:Gem::Version
|
|
169
169
|
version: '0'
|
|
170
170
|
requirements: []
|
|
171
|
-
rubyforge_project:
|
|
171
|
+
rubyforge_project:
|
|
172
172
|
rubygems_version: 2.0.3
|
|
173
173
|
signing_key:
|
|
174
174
|
specification_version: 4
|