formatted_url 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: cd6ec34081851f139976a212438fee44b0034a96
4
+ data.tar.gz: ae0bf52098c3d28d603e54f08e0b8b4be0c97403
5
+ SHA512:
6
+ metadata.gz: b654de03a509aca880f8f1a905ef2ea804fe6529e4b47b0477c57ac663665c67e56b0fe82ff58a806abc294056c0b0b77f5b2b6b178902c1311e4c299e48b486
7
+ data.tar.gz: c1b030d4e95689e0823ea3640214fdfb7919a4424b7e9f5655a8a0e87d2628018d6d432add76d49a7b76d1760ff72ad69e8928678cb65bdaf60d0ce0098095cf
data/.travis.yml CHANGED
@@ -1,2 +1,5 @@
1
1
  rvm:
2
- 1.9.3
2
+ - 1.8.7
3
+ - 1.9.2
4
+ - 1.9.3
5
+ - 2.0.0
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source :rubygems
1
+ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
data/Gemfile.lock CHANGED
@@ -1,11 +1,11 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- formatted_url (0.0.4)
5
- youtube_id
4
+ formatted_url (0.0.6)
5
+ youtube_id (~> 0.0.3)
6
6
 
7
7
  GEM
8
- remote: http://rubygems.org/
8
+ remote: https://rubygems.org/
9
9
  specs:
10
10
  rake (0.9.2.2)
11
11
  youtube_id (0.0.3)
@@ -1,13 +1,12 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "formatted_url"
3
- s.summary = "Formatted URLs."
3
+ s.summary = 'This gem formats URLs to different formats, like the Youtube formats: embed, minified and default'
4
4
  s.files = `git ls-files`.split("\n")
5
5
  s.test_files = `git ls-files -- {test}/*`.split("\n")
6
6
  s.require_path = ['lib']
7
- s.version = '0.0.5'
8
- s.add_dependency('youtube_id')
7
+ s.version = '0.0.6'
8
+ s.add_dependency 'youtube_id', '~> 0.0.3'
9
9
 
10
- s.author = "Philip Sampaio Silva"
11
- s.email = "philip.sampaio@gmail.com"
12
- s.required_ruby_version = '>= 1.9.2'
10
+ s.author = 'Philip Sampaio Silva'
11
+ s.email = 'philip.sampaio@gmail.com'
13
12
  end
@@ -1,7 +1,7 @@
1
1
  require File.expand_path('../strategies', __FILE__)
2
2
 
3
3
  module FormattedURL
4
- # Find URL source
4
+ # Finds URL source
5
5
  class URLSourceResolver
6
6
  # The URL path
7
7
  attr_accessor :path
@@ -15,7 +15,7 @@ module FormattedURL
15
15
  @format = format
16
16
  end
17
17
 
18
- # Defines url source
18
+ # Defines URL source
19
19
  def source
20
20
  STRATEGIES.each_key do |key|
21
21
  if clean_url.include? key.to_s
@@ -1,3 +1,3 @@
1
1
  module FormattedURL
2
- VERSION = "0.0.5".freeze
2
+ VERSION = "0.0.6".freeze
3
3
  end
metadata CHANGED
@@ -1,27 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formatted_url
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
5
- prerelease:
4
+ version: 0.0.6
6
5
  platform: ruby
7
6
  authors:
8
7
  - Philip Sampaio Silva
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-03-12 00:00:00.000000000Z
11
+ date: 2013-06-05 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: youtube_id
16
- requirement: &17083860 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
- - - ! '>='
17
+ - - ~>
20
18
  - !ruby/object:Gem::Version
21
- version: '0'
19
+ version: 0.0.3
22
20
  type: :runtime
23
21
  prerelease: false
24
- version_requirements: *17083860
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 0.0.3
25
27
  description:
26
28
  email: philip.sampaio@gmail.com
27
29
  executables: []
@@ -49,26 +51,26 @@ files:
49
51
  - test/youtube_url_strategy_test.rb
50
52
  homepage:
51
53
  licenses: []
54
+ metadata: {}
52
55
  post_install_message:
53
56
  rdoc_options: []
54
57
  require_paths:
55
58
  - - lib
56
59
  required_ruby_version: !ruby/object:Gem::Requirement
57
- none: false
58
60
  requirements:
59
- - - ! '>='
61
+ - - '>='
60
62
  - !ruby/object:Gem::Version
61
- version: 1.9.2
63
+ version: '0'
62
64
  required_rubygems_version: !ruby/object:Gem::Requirement
63
- none: false
64
65
  requirements:
65
- - - ! '>='
66
+ - - '>='
66
67
  - !ruby/object:Gem::Version
67
68
  version: '0'
68
69
  requirements: []
69
70
  rubyforge_project:
70
- rubygems_version: 1.8.10
71
+ rubygems_version: 2.0.0
71
72
  signing_key:
72
- specification_version: 3
73
- summary: Formatted URLs.
73
+ specification_version: 4
74
+ summary: 'This gem formats URLs to different formats, like the Youtube formats: embed,
75
+ minified and default'
74
76
  test_files: []