gasoline 0.0.2 → 0.0.3

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.
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ vendor/*
@@ -1,3 +1,9 @@
1
+ ## 0.0.3 (Sep 30, 2013)
2
+
3
+ Bugfixes:
4
+
5
+ - Fix: Adopted new routes for Gists
6
+
1
7
  ## 0.0.2 (Dec 27, 2012)
2
8
 
3
9
  Features:
@@ -1,17 +1,23 @@
1
1
  ---
2
2
  :drops:
3
3
  - :name: Avatars
4
- :url: https://gist.github.com/065d1dc1906c153e4edc
4
+ :url: https://gist.github.com/pjaspers/065d1dc1906c153e4edc
5
5
  :description: Adds avatars to friendly faces
6
6
  - :name: Cloud App
7
- :url: https://gist.github.com/431f7c803ddb0d751a40
7
+ :url: https://gist.github.com/pjaspers/431f7c803ddb0d751a40
8
8
  :description: Adds support for Cloud.ly links
9
9
  - :name: Flickr
10
- :url: https://gist.github.com/6dcf1366df5203157fda
10
+ :url: https://gist.github.com/pjaspers/6dcf1366df5203157fda
11
11
  :description: Adds support for Flickr links
12
12
  - :name: Instagram
13
- :url: https://gist.github.com/3258692
13
+ :url: https://gist.github.com/pjaspers/3258692
14
14
  :description: Instagram support
15
- - :name: SpeakerDeck
16
- :url: https://gist.github.com/4377786
17
- :description: Adds support for SpeakerDeck links
15
+ - :name: Gists
16
+ :url: https://gist.github.com/pjaspers/3288317
17
+ :description: Inlines gists
18
+ - :name: speakerdeck
19
+ :url: https://gist.github.com/dlackty/4377786
20
+ :description: Embeds SpeakerDeck slide inline.
21
+ - :name: cloudup
22
+ :url: https://gist.github.com/pjaspers/6761954
23
+ :description: Supporting CloudUp
@@ -33,7 +33,7 @@ module Gasoline
33
33
 
34
34
  # Returns the raw url for the specified gist
35
35
  def raw_gist_url
36
- @url.gsub("gist.github.com/", "raw.github.com/gist/")
36
+ [@url, "raw"].join("/")
37
37
  end
38
38
 
39
39
  # Returns the javascript from the gist URL.
@@ -1,3 +1,3 @@
1
1
  module Gasoline
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -39,12 +39,12 @@ describe Gasoline::Drop do
39
39
 
40
40
  describe "getting the content" do
41
41
  before do
42
- @url = "https://gist.github.com/3258692"
42
+ @url = "https://gist.github.com/pjaspers/3258692"
43
43
  @drop = Gasoline::Drop.new("xyz", @url, "zyx")
44
44
  end
45
45
 
46
46
  it "should get the raw gist url" do
47
- assert_equal "https://raw.github.com/gist/3258692", @drop.raw_gist_url
47
+ assert_equal "https://gist.github.com/pjaspers/3258692/raw", @drop.raw_gist_url
48
48
  end
49
49
 
50
50
  it "should set header with name" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gasoline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-27 00:00:00.000000000 Z
12
+ date: 2013-09-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
@@ -73,7 +73,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
73
73
  version: '0'
74
74
  segments:
75
75
  - 0
76
- hash: -4349780859751840339
76
+ hash: 2897269382021069790
77
77
  required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  none: false
79
79
  requirements:
@@ -82,10 +82,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  version: '0'
83
83
  segments:
84
84
  - 0
85
- hash: -4349780859751840339
85
+ hash: 2897269382021069790
86
86
  requirements: []
87
87
  rubyforge_project:
88
- rubygems_version: 1.8.24
88
+ rubygems_version: 1.8.23
89
89
  signing_key:
90
90
  specification_version: 3
91
91
  summary: Gasoline aims to make managing the patch file easier.