githubris 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/.travis.yml +7 -0
- data/Gemfile +5 -2
- data/README.md +16 -1
- data/Rakefile +8 -3
- data/features/list_of_public_gists.feature +12 -0
- data/features/list_of_users_public_gists.feature +14 -0
- data/features/step_definitions/general_steps.rb +20 -0
- data/features/step_definitions/public_gist_steps.rb +0 -0
- data/features/support/env.rb +6 -0
- data/features/support/fakeweb_responses.rb +6 -0
- data/features/support/fixtures.rb +11 -0
- data/features/support/public_gists_page_1.json +884 -0
- data/features/support/public_gists_page_2.json +898 -0
- data/githubris.gemspec +0 -1
- data/lib/githubris/api.rb +38 -20
- data/lib/githubris/builder.rb +31 -22
- data/lib/githubris/comment.rb +1 -1
- data/lib/githubris/gist/file.rb +1 -1
- data/lib/githubris/gist.rb +1 -10
- data/lib/githubris/issue.rb +1 -1
- data/lib/githubris/organization.rb +1 -1
- data/lib/githubris/repository.rb +1 -1
- data/lib/githubris/user.rb +6 -7
- data/lib/githubris/version.rb +2 -2
- data/lib/githubris.rb +17 -16
- data/spec/githubris/api_spec.rb +18 -20
- data/spec/githubris/builder_spec.rb +30 -14
- data/spec/githubris/gist_spec.rb +0 -30
- data/spec/githubris_spec.rb +48 -0
- data/spec/spec_helper.rb +8 -1
- data/spec/support/fakeweb_responses.rb +2 -57
- data/spec/support/fixtures.rb +1 -1
- data/spec/support/public_gists_page_1.json +884 -0
- data/spec/support/public_gists_page_2.json +898 -0
- metadata +17 -8
- data/config/base.yml +0 -1
- data/config/gists.yml +0 -13
- data/config.yml +0 -1
- data/lib/githubris/config.rb +0 -13
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: githubris
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-02
|
12
|
+
date: 2012-03-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|
16
|
-
requirement: &
|
16
|
+
requirement: &13053580 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 0.8.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *13053580
|
25
25
|
description: Githubris is meant to make Github API interaction a breeze.
|
26
26
|
email:
|
27
27
|
- isaac@isaacbfsanders.com
|
@@ -31,18 +31,24 @@ extra_rdoc_files: []
|
|
31
31
|
files:
|
32
32
|
- .gitignore
|
33
33
|
- .rvmrc
|
34
|
+
- .travis.yml
|
34
35
|
- Gemfile
|
35
36
|
- README.md
|
36
37
|
- Rakefile
|
37
|
-
-
|
38
|
-
-
|
39
|
-
-
|
38
|
+
- features/list_of_public_gists.feature
|
39
|
+
- features/list_of_users_public_gists.feature
|
40
|
+
- features/step_definitions/general_steps.rb
|
41
|
+
- features/step_definitions/public_gist_steps.rb
|
42
|
+
- features/support/env.rb
|
43
|
+
- features/support/fakeweb_responses.rb
|
44
|
+
- features/support/fixtures.rb
|
45
|
+
- features/support/public_gists_page_1.json
|
46
|
+
- features/support/public_gists_page_2.json
|
40
47
|
- githubris.gemspec
|
41
48
|
- lib/githubris.rb
|
42
49
|
- lib/githubris/api.rb
|
43
50
|
- lib/githubris/builder.rb
|
44
51
|
- lib/githubris/comment.rb
|
45
|
-
- lib/githubris/config.rb
|
46
52
|
- lib/githubris/gist.rb
|
47
53
|
- lib/githubris/gist/file.rb
|
48
54
|
- lib/githubris/issue.rb
|
@@ -53,10 +59,13 @@ files:
|
|
53
59
|
- spec/githubris/api_spec.rb
|
54
60
|
- spec/githubris/builder_spec.rb
|
55
61
|
- spec/githubris/gist_spec.rb
|
62
|
+
- spec/githubris_spec.rb
|
56
63
|
- spec/spec_helper.rb
|
57
64
|
- spec/support/custom_matchers.rb
|
58
65
|
- spec/support/fakeweb_responses.rb
|
59
66
|
- spec/support/fixtures.rb
|
67
|
+
- spec/support/public_gists_page_1.json
|
68
|
+
- spec/support/public_gists_page_2.json
|
60
69
|
homepage: http://isaacbfsanders.com/githubris
|
61
70
|
licenses: []
|
62
71
|
post_install_message:
|
data/config/base.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
base_uri: 'https://api.github.com'
|
data/config/gists.yml
DELETED
data/config.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
base_uri: 'https://api.github.com/'
|
data/lib/githubris/config.rb
DELETED