githubris 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,14 @@
1
+ {
2
+ "public_gists": 2,
3
+ "type": "User",
4
+ "following": 0,
5
+ "login": "GithubrisTestUser",
6
+ "avatar_url": "https://secure.gravatar.com/avatar/20de3fd01e285d14de84067c34ab74d2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
7
+ "public_repos": 1,
8
+ "followers": 0,
9
+ "html_url": "https://github.com/GithubrisTestUser",
10
+ "url": "https://api.github.com/users/GithubrisTestUser",
11
+ "created_at": "2012-02-24T12:23:28Z",
12
+ "gravatar_id": "20de3fd01e285d14de84067c34ab74d2",
13
+ "id": 1469392
14
+ }
@@ -0,0 +1,65 @@
1
+ [
2
+ {
3
+ "files": {
4
+ "test.rb": {
5
+ "type": "application/ruby",
6
+ "raw_url": "https://gist.github.com/raw/1901849/618cb237464a83cba15c5c16e913679a2703f3e0/test.rb",
7
+ "language": "Ruby",
8
+ "size": 35,
9
+ "filename": "test.rb"
10
+ }
11
+ },
12
+ "public": true,
13
+ "comments": 0,
14
+ "updated_at": "2012-02-24T16:20:22Z",
15
+ "user": {
16
+ "login": "GithubrisTestUser",
17
+ "url": "https://api.github.com/users/GithubrisTestUser",
18
+ "gravatar_id": "20de3fd01e285d14de84067c34ab74d2",
19
+ "avatar_url": "https://secure.gravatar.com/avatar/20de3fd01e285d14de84067c34ab74d2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
20
+ "id": 1469392
21
+ },
22
+ "url": "https://api.github.com/gists/1901849",
23
+ "created_at": "2012-02-24T16:20:22Z",
24
+ "git_pull_url": "git://gist.github.com/1901849.git",
25
+ "html_url": "https://gist.github.com/1901849",
26
+ "id": "1901849",
27
+ "description": "This is a test gist",
28
+ "git_push_url": "git@gist.github.com:1901849.git"
29
+ },
30
+ {
31
+ "files": {
32
+ "slipsum.html": {
33
+ "type": "text/html",
34
+ "raw_url": "https://gist.github.com/raw/1901843/85d293b0fbc401adb58902fa24711e45e389fc3d/slipsum.html",
35
+ "language": "HTML",
36
+ "size": 555,
37
+ "filename": "slipsum.html"
38
+ },
39
+ "example.md": {
40
+ "type": "text/plain",
41
+ "raw_url": "https://gist.github.com/raw/1901843/d9213baf064e7d4b9619143371172b49d97c29b8/example.md",
42
+ "language": "Markdown",
43
+ "size": 27,
44
+ "filename": "example.md"
45
+ }
46
+ },
47
+ "public": true,
48
+ "comments": 0,
49
+ "updated_at": "2012-02-24T16:19:48Z",
50
+ "user": {
51
+ "login": "GithubrisTestUser",
52
+ "url": "https://api.github.com/users/GithubrisTestUser",
53
+ "gravatar_id": "20de3fd01e285d14de84067c34ab74d2",
54
+ "avatar_url": "https://secure.gravatar.com/avatar/20de3fd01e285d14de84067c34ab74d2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
55
+ "id": 1469392
56
+ },
57
+ "url": "https://api.github.com/gists/1901843",
58
+ "created_at": "2012-02-24T16:19:48Z",
59
+ "git_pull_url": "git://gist.github.com/1901843.git",
60
+ "html_url": "https://gist.github.com/1901843",
61
+ "id": "1901843",
62
+ "description": "This is a gist with many files",
63
+ "git_push_url": "git@gist.github.com:1901843.git"
64
+ }
65
+ ]
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.2
4
+ version: 0.0.3
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-03-02 00:00:00.000000000 Z
12
+ date: 2012-03-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
16
- requirement: &13053580 !ruby/object:Gem::Requirement
16
+ requirement: &22501080 !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: *13053580
24
+ version_requirements: *22501080
25
25
  description: Githubris is meant to make Github API interaction a breeze.
26
26
  email:
27
27
  - isaac@isaacbfsanders.com
@@ -35,19 +35,21 @@ files:
35
35
  - Gemfile
36
36
  - README.md
37
37
  - Rakefile
38
+ - features/get_a_user.feature
38
39
  - features/list_of_public_gists.feature
39
40
  - features/list_of_users_public_gists.feature
40
41
  - features/step_definitions/general_steps.rb
41
- - features/step_definitions/public_gist_steps.rb
42
42
  - features/support/env.rb
43
43
  - features/support/fakeweb_responses.rb
44
44
  - features/support/fixtures.rb
45
- - features/support/public_gists_page_1.json
46
- - features/support/public_gists_page_2.json
47
45
  - githubris.gemspec
48
46
  - lib/githubris.rb
49
47
  - lib/githubris/api.rb
48
+ - lib/githubris/api/gist.rb
49
+ - lib/githubris/api/user.rb
50
50
  - lib/githubris/builder.rb
51
+ - lib/githubris/builder/gist.rb
52
+ - lib/githubris/builder/user.rb
51
53
  - lib/githubris/comment.rb
52
54
  - lib/githubris/gist.rb
53
55
  - lib/githubris/gist/file.rb
@@ -56,9 +58,13 @@ files:
56
58
  - lib/githubris/repository.rb
57
59
  - lib/githubris/user.rb
58
60
  - lib/githubris/version.rb
61
+ - spec/githubris/api/gist_spec.rb
62
+ - spec/githubris/api/user_spec.rb
59
63
  - spec/githubris/api_spec.rb
64
+ - spec/githubris/builder/gist_spec.rb
60
65
  - spec/githubris/builder_spec.rb
61
66
  - spec/githubris/gist_spec.rb
67
+ - spec/githubris/user_spec.rb
62
68
  - spec/githubris_spec.rb
63
69
  - spec/spec_helper.rb
64
70
  - spec/support/custom_matchers.rb
@@ -66,6 +72,8 @@ files:
66
72
  - spec/support/fixtures.rb
67
73
  - spec/support/public_gists_page_1.json
68
74
  - spec/support/public_gists_page_2.json
75
+ - spec/support/user.json
76
+ - spec/support/user_public_gists.json
69
77
  homepage: http://isaacbfsanders.com/githubris
70
78
  licenses: []
71
79
  post_install_message:
File without changes