gh_contrib 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e43359d39a497a4385b83845292c774fa452251
4
- data.tar.gz: 02a26ec7cde1cc43ff37e1dbe3d3b48880bd6240
3
+ metadata.gz: 79585607d2e4b91a941ac9910a24605d2984d896
4
+ data.tar.gz: 1bf38c5c1377d00461e1ecf3fb692f3ece5b7ab0
5
5
  SHA512:
6
- metadata.gz: 9f8318e9e1d09022e7ca43b178b2237c4d61297cfedaa6ddcf7cef444214ce1ef781dc4d73452284cc0e99df1d2c540f033713c60ba48c4c40ff9dafe23acb8c
7
- data.tar.gz: b784b1291b73fa8f1067bc5c2055bcdcc922443bb445b84bf7891560438a00bec702934962838e40cff9e6a715ca09132744e66e3f4150997fa33d41e2a9d19c
6
+ metadata.gz: f7e5f54328475f73c63d8d6523d1f8be5d0b23b232491756e573ef8bd67d6c48ee5a775bb1efaca576f8588109b26da85a3b959a15102445ccedd4c5857deca1
7
+ data.tar.gz: 62873bf3e27ca10d0d0f9045d566d145addb9bd4f9b7c12720fb72400d539428515a35dead202d4964ed1713f48be568d60860c1f46643d0fc2e14c9cfc23bd3
data/README.md CHANGED
@@ -51,3 +51,7 @@ $ gh_contrib banyan | jq 'reduce .[].count as $item (0; . + $item)'
51
51
  ## Limitations
52
52
 
53
53
  * You can't enable two factor authentication for this user if you want to get the data as logged in :cry:.
54
+
55
+ ## Caveat
56
+
57
+ * Since it's not an official API, it might be broken anytime :dizzy_face:.
@@ -11,7 +11,7 @@ module GhContrib
11
11
 
12
12
  def login(username, password)
13
13
  page = @agent.get "#{GITHUB_URL}/login"
14
- form = page.forms[1]
14
+ form = page.forms[0]
15
15
  form.field_with(name: 'login').value = username
16
16
  form.field_with(name: 'password').value = password
17
17
  @agent.submit(form)
@@ -1,3 +1,3 @@
1
1
  module GhContrib
2
- VERSION = "0.0.2"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gh_contrib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kohei Hasegawa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-27 00:00:00.000000000 Z
11
+ date: 2016-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander
@@ -132,9 +132,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  version: '0'
133
133
  requirements: []
134
134
  rubyforge_project:
135
- rubygems_version: 2.2.2
135
+ rubygems_version: 2.4.5.1
136
136
  signing_key:
137
137
  specification_version: 4
138
138
  summary: Show contributions of GitHub.
139
139
  test_files: []
140
- has_rdoc: