git_io 0.1.1 → 1.0.0

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.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/git_io.rb +2 -2
  3. metadata +8 -10
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0494d50c189b6c9aff716766bf105cb37b2ade50
4
+ data.tar.gz: 7c3604602a8e6daebf1608f62076243a748e6c11
5
+ SHA512:
6
+ metadata.gz: c4be1fd78271940a34e6a22e641a28edc44d4cf0cf8ac43edc594556ceadf11ffea297b01c3e481341621c591ee001f82d105f2b1a240da247af073a2b59c1e8
7
+ data.tar.gz: 370b7331b9d47d81402b488860bad39fde1a86655fdfe3c6e6c47ad10264e99b22674204afebd587d4d9c08d259b5919941cb9e0bca2ae4fbe78542918d79976
data/git_io.rb CHANGED
@@ -1,8 +1,8 @@
1
- require 'net/http'
1
+ require 'net/https'
2
2
  require 'uri'
3
3
 
4
4
  module GitIo
5
- BASE_URI = URI.parse("http://git.io/")
5
+ BASE_URI = URI.parse("https://git.io/")
6
6
 
7
7
  def self.shorten(url)
8
8
  response = Net::HTTP.post_form(BASE_URI, :url => url)
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git_io
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
5
- prerelease:
4
+ version: 1.0.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Aaron Suggs
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-05-10 00:00:00.000000000 Z
11
+ date: 2016-03-15 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: GitIo.shorten(url)
15
14
  email: aaron@ktheory.com
@@ -20,26 +19,25 @@ files:
20
19
  - git_io.rb
21
20
  homepage: https://gist.github.com/1762136
22
21
  licenses: []
22
+ metadata: {}
23
23
  post_install_message:
24
24
  rdoc_options: []
25
25
  require_paths:
26
- - .
26
+ - "."
27
27
  required_ruby_version: !ruby/object:Gem::Requirement
28
- none: false
29
28
  requirements:
30
- - - ! '>='
29
+ - - ">="
31
30
  - !ruby/object:Gem::Version
32
31
  version: '0'
33
32
  required_rubygems_version: !ruby/object:Gem::Requirement
34
- none: false
35
33
  requirements:
36
- - - ! '>='
34
+ - - ">="
37
35
  - !ruby/object:Gem::Version
38
36
  version: '0'
39
37
  requirements: []
40
38
  rubyforge_project:
41
- rubygems_version: 1.8.11
39
+ rubygems_version: 2.5.2
42
40
  signing_key:
43
- specification_version: 3
41
+ specification_version: 4
44
42
  summary: Shorten urls with git.io
45
43
  test_files: []