netshade-oembed_links 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'rubygems'
2
2
  require 'hoe'
3
3
 
4
- Hoe.new('oembed_links', "0.1.6") do |p|
4
+ Hoe.new('oembed_links', "0.1.7") do |p|
5
5
  p.summary = ""
6
6
  p.url = 'http://indystar.com/'
7
7
  p.description = "Easy OEmbed integration for Ruby (and Rails)."
@@ -84,7 +84,7 @@ class OEmbed
84
84
  :render_for_file,
85
85
  path,
86
86
  200,
87
- true,
87
+ nil,
88
88
  { :data => data,
89
89
  :url => url,
90
90
  :response => response }).body
data/oembed_links.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{oembed_links}
3
- s.version = "0.1.6"
3
+ s.version = "0.1.7"
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
6
6
  s.authors = ["Indianapolis Star MD&D"]
@@ -248,7 +248,6 @@ describe OEmbed, "Rails template resolving functions" do
248
248
  @current_path = File.dirname(__FILE__)
249
249
  @template_path = File.join(@current_path, "templates")
250
250
 
251
- gem "actionpack", "< 2.2"
252
251
  require 'actionpack'
253
252
  require 'action_controller'
254
253
  require 'action_controller/test_process'
@@ -263,7 +262,7 @@ describe OEmbed, "Rails template resolving functions" do
263
262
  it "should support Rails-like template paths for template selection" do
264
263
 
265
264
  OEmbed.transform("http://test1.net/foo") do |r, url|
266
- r.any?(:template => "templates/test")
265
+ r.any?(:template => ("templates/test"))
267
266
  end.should == "rails erb"
268
267
  end
269
268
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netshade-oembed_links
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Indianapolis Star MD&D
@@ -14,6 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json
17
+ type: :development
17
18
  version_requirement:
18
19
  version_requirements: !ruby/object:Gem::Requirement
19
20
  requirements:
@@ -23,6 +24,7 @@ dependencies:
23
24
  version:
24
25
  - !ruby/object:Gem::Dependency
25
26
  name: hoe
27
+ type: :development
26
28
  version_requirement:
27
29
  version_requirements: !ruby/object:Gem::Requirement
28
30
  requirements: