drcapulet-shorty 0.1.0 → 0.1.1

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 (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/shorty.rb +7 -7
  3. data/shorty.gemspec +93 -0
  4. metadata +2 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -6,12 +6,12 @@ module Shorty
6
6
  include HTTParty
7
7
  end
8
8
 
9
- require 'shorty/trim'
10
- require 'shorty/bitly'
11
- require 'shorty/tinyurl'
12
- require 'shorty/isgd'
13
- require 'shorty/cligs'
14
- require 'shorty/twurl'
15
- require 'shorty/supr'
9
+ require File.dirname(__FILE__) + '/shorty/trim'
10
+ require File.dirname(__FILE__) + '/shorty/bitly'
11
+ require File.dirname(__FILE__) + '/shorty/tinyurl'
12
+ require File.dirname(__FILE__) + '/shorty/isgd'
13
+ require File.dirname(__FILE__) + '/shorty/cligs'
14
+ require File.dirname(__FILE__) + '/shorty/twurl'
15
+ require File.dirname(__FILE__) + '/shorty/supr'
16
16
  end
17
17
 
@@ -0,0 +1,93 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{shorty}
8
+ s.version = "0.1.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Alex Coomans"]
12
+ s.date = %q{2009-08-16}
13
+ s.description = %q{Makes it easy to shorten URLs}
14
+ s.email = %q{alex@alexcoomans.com}
15
+ s.extra_rdoc_files = [
16
+ "README.rdoc"
17
+ ]
18
+ s.files = [
19
+ ".gitignore",
20
+ "README.rdoc",
21
+ "Rakefile",
22
+ "VERSION",
23
+ "features/bitly.feature",
24
+ "features/step_definitions/api.rb",
25
+ "features/step_definitions/common_steps.rb",
26
+ "features/support/common.rb",
27
+ "features/support/env.rb",
28
+ "features/support/matchers.rb",
29
+ "features/trim.feature",
30
+ "lib/shorty.rb",
31
+ "lib/shorty/bitly.rb",
32
+ "lib/shorty/cligs.rb",
33
+ "lib/shorty/isgd.rb",
34
+ "lib/shorty/supr.rb",
35
+ "lib/shorty/tinyurl.rb",
36
+ "lib/shorty/trim.rb",
37
+ "lib/shorty/twurl.rb",
38
+ "shorty.gemspec",
39
+ "test/bitly_test.rb",
40
+ "test/cligs_test.rb",
41
+ "test/fixtures/bitly-expand-cnn.json",
42
+ "test/fixtures/bitly-shorten-cnn.json",
43
+ "test/fixtures/bitly-stats-cnn.json",
44
+ "test/fixtures/cligs-shorten-google.txt",
45
+ "test/fixtures/isgd-shorten-google.txt",
46
+ "test/fixtures/supr-expand-cnn-error.json",
47
+ "test/fixtures/supr-expand-cnn.json",
48
+ "test/fixtures/supr-shorten-cnn.json",
49
+ "test/fixtures/tinyurl-shorten-google.txt",
50
+ "test/fixtures/trim-trim-simple.txt",
51
+ "test/fixtures/trim-trim-url.xml",
52
+ "test/fixtures/twurl-shorten-google.txt",
53
+ "test/isgd_test.rb",
54
+ "test/shory_test.rb",
55
+ "test/supr_test.rb",
56
+ "test/test_helper.rb",
57
+ "test/tinyurl_test.rb",
58
+ "test/trim_test.rb",
59
+ "test/twurl_test.rb"
60
+ ]
61
+ s.homepage = %q{http://github.com/drcapulet/shorty}
62
+ s.rdoc_options = ["--charset=UTF-8"]
63
+ s.require_paths = ["lib"]
64
+ s.rubygems_version = %q{1.3.5}
65
+ s.summary = %q{Gem that talks to APIs for shortening urls}
66
+ s.test_files = [
67
+ "test/bitly_test.rb",
68
+ "test/cligs_test.rb",
69
+ "test/isgd_test.rb",
70
+ "test/shory_test.rb",
71
+ "test/supr_test.rb",
72
+ "test/test_helper.rb",
73
+ "test/tinyurl_test.rb",
74
+ "test/trim_test.rb",
75
+ "test/twurl_test.rb"
76
+ ]
77
+
78
+ if s.respond_to? :specification_version then
79
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
80
+ s.specification_version = 3
81
+
82
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
83
+ s.add_runtime_dependency(%q<httparty>, [">= 0.4.4"])
84
+ s.add_runtime_dependency(%q<crack>, [">= 0.1.4"])
85
+ else
86
+ s.add_dependency(%q<httparty>, [">= 0.4.4"])
87
+ s.add_dependency(%q<crack>, [">= 0.1.4"])
88
+ end
89
+ else
90
+ s.add_dependency(%q<httparty>, [">= 0.4.4"])
91
+ s.add_dependency(%q<crack>, [">= 0.1.4"])
92
+ end
93
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drcapulet-shorty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Coomans
@@ -60,6 +60,7 @@ files:
60
60
  - lib/shorty/tinyurl.rb
61
61
  - lib/shorty/trim.rb
62
62
  - lib/shorty/twurl.rb
63
+ - shorty.gemspec
63
64
  - test/bitly_test.rb
64
65
  - test/cligs_test.rb
65
66
  - test/fixtures/bitly-expand-cnn.json