zoid 0.1.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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6cf13da47e8a5007904c05cf145e41e00fd90e8d
4
+ data.tar.gz: 5186c65b169f9ca52739774043929ed88079de90
5
+ SHA512:
6
+ metadata.gz: 1802810ebd9546f2acfd3658c021fef51f9963726915a7f0952bbfe552ee44ce6ecbc3c967247d1e5e8909b35763f22de39173fec6823e9fd302e8d9df7bc7ef
7
+ data.tar.gz: a86930da51bb0805dca00f432f61f864f404d31db040744b928f20ee04df49cb58e3214a3c30723d3b860f4161cb5c5ffacb193f179afc3c7509e6283ade6773
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ vendor/bundle
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in zoid.gemspec
4
+ gemspec
data/README.md ADDED
@@ -0,0 +1,49 @@
1
+ # Zoid
2
+
3
+ Friendly Json API consumer.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ``` ruby
10
+ gem 'zoid'
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ Start by creating an agent for the API endpoint
16
+
17
+ ``` rb
18
+ github_agent = Zoid::Agent.new("https://api.github.com")
19
+ ```
20
+
21
+ Use the agent to communicate with the API
22
+
23
+ ``` ruby
24
+ response = github_agent.get "/repos/vmg/redcarpet/issues", {:state => "closed"}
25
+ ```
26
+
27
+ The body is already parsed, and ready for consumation
28
+
29
+ ``` ruby
30
+ closed_issues = response.body
31
+
32
+ titles = closed_issues.map { |issue| issue.title }
33
+
34
+ puts titles
35
+ ```
36
+
37
+ ## Development
38
+
39
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
40
+
41
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
42
+
43
+ ## Contributing
44
+
45
+ 1. Fork it ( https://github.com/shiroyasha/zoid/fork )
46
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
47
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
48
+ 4. Push to the branch (`git push origin my-new-feature`)
49
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "zoid"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,326 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.github.com/repos/vmg/redcarpet/issues?state=closed
6
+ body:
7
+ encoding: UTF-8
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.1
12
+ Accept:
13
+ - "*/*"
14
+ Date:
15
+ - Fri, 26 Jun 2015 14:00:24 GMT
16
+ Content-Type:
17
+ - application/json
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Server:
24
+ - GitHub.com
25
+ Date:
26
+ - Fri, 26 Jun 2015 14:00:30 GMT
27
+ Content-Type:
28
+ - application/json; charset=utf-8
29
+ Content-Length:
30
+ - '71351'
31
+ Status:
32
+ - 200 OK
33
+ X-Ratelimit-Limit:
34
+ - '60'
35
+ X-Ratelimit-Remaining:
36
+ - '59'
37
+ X-Ratelimit-Reset:
38
+ - '1435330830'
39
+ Cache-Control:
40
+ - public, max-age=60, s-maxage=60
41
+ Etag:
42
+ - '"3be4fafa6eef70b0aca408085f565976"'
43
+ Vary:
44
+ - Accept
45
+ - Accept-Encoding
46
+ X-Github-Media-Type:
47
+ - github.v3
48
+ Link:
49
+ - <https://api.github.com/repositories/1523106/issues?state=closed&page=2>;
50
+ rel="next", <https://api.github.com/repositories/1523106/issues?state=closed&page=15>;
51
+ rel="last"
52
+ X-Xss-Protection:
53
+ - 1; mode=block
54
+ X-Frame-Options:
55
+ - deny
56
+ Content-Security-Policy:
57
+ - default-src 'none'
58
+ Access-Control-Allow-Credentials:
59
+ - 'true'
60
+ Access-Control-Expose-Headers:
61
+ - ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
62
+ X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
63
+ Access-Control-Allow-Origin:
64
+ - "*"
65
+ X-Github-Request-Id:
66
+ - B2DDB0F0:67DE:F8EA78F:558D5AFE
67
+ Strict-Transport-Security:
68
+ - max-age=31536000; includeSubdomains; preload
69
+ X-Content-Type-Options:
70
+ - nosniff
71
+ X-Served-By:
72
+ - c6c65e5196703428e7641f7d1e9bc353
73
+ body:
74
+ encoding: UTF-8
75
+ string: '[{"url":"https://api.github.com/repos/vmg/redcarpet/issues/494","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/494/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/494/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/494/events","html_url":"https://github.com/vmg/redcarpet/issues/494","id":87205363,"number":494,"title":"Seg
76
+ fault when trying to render TOC","user":{"login":"sapslaj","id":1909600,"avatar_url":"https://avatars.githubusercontent.com/u/1909600?v=3","gravatar_id":"","url":"https://api.github.com/users/sapslaj","html_url":"https://github.com/sapslaj","followers_url":"https://api.github.com/users/sapslaj/followers","following_url":"https://api.github.com/users/sapslaj/following{/other_user}","gists_url":"https://api.github.com/users/sapslaj/gists{/gist_id}","starred_url":"https://api.github.com/users/sapslaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sapslaj/subscriptions","organizations_url":"https://api.github.com/users/sapslaj/orgs","repos_url":"https://api.github.com/users/sapslaj/repos","events_url":"https://api.github.com/users/sapslaj/events{/privacy}","received_events_url":"https://api.github.com/users/sapslaj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-11T04:22:06Z","updated_at":"2015-06-23T15:30:03Z","closed_at":"2015-06-23T15:27:27Z","body":"I
77
+ was doing some benchmarks and I keep getting segfaulted when doing HTML_TOC
78
+ rendering\r\n\r\nHere''s my benchmark code:\r\n```ruby \r\nrequire ''benchmark/ips''\r\nrequire
79
+ ''redcarpet.so''\r\n\r\nTESTMD = File.read(\"./markdown_test_data.md\") #
80
+ from https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet\r\n\r\n#
81
+ Warmups\r\nRedcarpet::Markdown.new(Redcarpet::Render::HTML.new).render(TESTMD)\r\nRedcarpet::Markdown.new(Redcarpet::Render::HTML_TOC.new).render(TESTMD)\r\n\r\nBenchmark.ips
82
+ do |x|\r\n x.report ''standard-redcarpet'' do\r\n Redcarpet::Markdown.new(Redcarpet::Render::HTML.new).render(TESTMD)\r\n end\r\n\r\n x.report
83
+ ''standard-redcarpet-toc'' do\r\n Redcarpet::Markdown.new(Redcarpet::Render::HTML_TOC.new).render(TESTMD)\r\n end\r\nend\r\n\r\n```\r\n\r\nOutput
84
+ on Windows\r\n```\r\nD:\\benchmarks $ ruby markdown_benchmark.rb\r\nCalculating
85
+ -------------------------------------\r\n standard-redcarpet 468.000 i/100ms\r\nstandard-redcarpet-toc\r\n 630.000 i/100ms\r\n-------------------------------------------------\r\n standard-redcarpetC:/Rubies/Ruby22/lib/ruby/gems/2.2.0/gems/benchmark-ips-2.2.0/lib/benchmark/ips.rb:90:
86
+ [BUG] Segmentation fault\r\nruby 2.2.1p85 (2015-02-26 revision 49769) [i386-mingw32]\r\n\r\n--
87
+ Control frame information -----------------------------------------------\r\nc:0009
88
+ p:---- s:0054 e:000053 CFUNC :%\r\nc:0008 p:0135 s:0050 e:000049 METHOD C:/Rubies/Ruby22/lib/ruby/gems/2.2.0/gems/benchmark-ips-2.2.0/lib/benchmark/ips.rb:90\r\nc:0007
89
+ p:0114 s:0044 e:000042 METHOD C:/Rubies/Ruby22/lib/ruby/gems/2.2.0/gems/benchmark-ips-2.2.0/lib/benchmark/ips/report.rb:81\r\nc:0006
90
+ p:0328 s:0038 e:000035 BLOCK C:/Rubies/Ruby22/lib/ruby/gems/2.2.0/gems/benchmark-ips-2.2.0/lib/benchmark/ips/job.rb:308
91
+ [FINISH]\r\nc:0005 p:---- s:0020 e:000019 CFUNC :each\r\nc:0004 p:0009 s:0017
92
+ e:000016 METHOD C:/Rubies/Ruby22/lib/ruby/gems/2.2.0/gems/benchmark-ips-2.2.0/lib/benchmark/ips/job.rb:258\r\nc:0003
93
+ p:0229 s:0014 e:000013 METHOD C:/Rubies/Ruby22/lib/ruby/gems/2.2.0/gems/benchmark-ips-2.2.0/lib/benchmark/ips.rb:53\r\nc:0002
94
+ p:0116 s:0004 E:001bbc EVAL markdown_benchmark.rb:10 [FINISH]\r\nc:0001
95
+ p:0000 s:0002 E:0020ec TOP [FINISH]\r\n\r\n-- Ruby level backtrace information
96
+ ----------------------------------------\r\nmarkdown_benchmark.rb:10:in `<main>''\r\nC:/Rubies/Ruby22/lib/ruby/gems/2.2.0/gems/benchmark-ips-2.2.0/lib/benchmark/ips.rb:53:in
97
+ `ips''\r\nC:/Rubies/Ruby22/lib/ruby/gems/2.2.0/gems/benchmark-ips-2.2.0/lib/benchmark/ips/job.rb:258:in
98
+ `run''\r\nC:/Rubies/Ruby22/lib/ruby/gems/2.2.0/gems/benchmark-ips-2.2.0/lib/benchmark/ips/job.rb:258:in
99
+ `each''\r\nC:/Rubies/Ruby22/lib/ruby/gems/2.2.0/gems/benchmark-ips-2.2.0/lib/benchmark/ips/job.rb:308:in
100
+ `block in run''\r\nC:/Rubies/Ruby22/lib/ruby/gems/2.2.0/gems/benchmark-ips-2.2.0/lib/benchmark/ips/report.rb:81:in
101
+ `body''\r\nC:/Rubies/Ruby22/lib/ruby/gems/2.2.0/gems/benchmark-ips-2.2.0/lib/benchmark/ips.rb:90:in
102
+ `scale''\r\nC:/Rubies/Ruby22/lib/ruby/gems/2.2.0/gems/benchmark-ips-2.2.0/lib/benchmark/ips.rb:90:in
103
+ `%''\r\n\r\n-- C level backtrace information -------------------------------------------\r\nC:\\WINDOWS\\SYSTEM32\\ntdll.dll(NtWaitForSingleObject+0xc)
104
+ [0x77E6512C]\r\nC:\\WINDOWS\\SYSTEM32\\KERNELBASE.dll(WaitForSingleObject+0x12)
105
+ [0x754C1802]\r\nC:\\Rubies\\Ruby22\\bin\\msvcrt-ruby220.dll(rb_vm_bugreport+0xa7)
106
+ [0x640D4307]\r\nC:\\Rubies\\Ruby22\\bin\\msvcrt-ruby220.dll(rb_bug_context+0x42)
107
+ [0x63F86A22]\r\nC:\\Rubies\\Ruby22\\bin\\msvcrt-ruby220.dll(rb_check_safe_obj+0x394)
108
+ [0x6404F4A4]\r\n [0x00401866]\r\nC:\\WINDOWS\\SYSTEM32\\ntdll.dll(WinSqmEventWrite+0x1c795)
109
+ [0x77E96805]\r\n\r\n-- Other runtime information -----------------------------------------------\r\n\r\n*
110
+ Loaded script: markdown_benchmark.rb\r\n\r\n* Loaded features:\r\n\r\n 0
111
+ enumerator.so\r\n 1 rational.so\r\n 2 complex.so\r\n 3 C:/Rubies/Ruby22/lib/ruby/2.2.0/i386-mingw32/enc/encdb.so\r\n 4
112
+ C:/Rubies/Ruby22/lib/ruby/2.2.0/i386-mingw32/enc/trans/transdb.so\r\n 5
113
+ C:/Rubies/Ruby22/lib/ruby/2.2.0/i386-mingw32/enc/iso_8859_1.so\r\n 6 C:/Rubies/Ruby22/lib/ruby/2.2.0/unicode_normalize.rb\r\n 7
114
+ C:/Rubies/Ruby22/lib/ruby/2.2.0/i386-mingw32/rbconfig.rb\r\n 8 thread.rb\r\n 9
115
+ C:/Rubies/Ruby22/lib/ruby/2.2.0/i386-mingw32/thread.so\r\n 10 C:/Rubies/Ruby22/lib/ruby/site_ruby/2.2.0/rubygems/compatibility.rb\r\n 11
116
+ C:/Rubies/Ruby22/lib/ruby/site_ruby/2.2.0/rubygems/defaults.rb\r\n 12 C:/Rubies/Ruby22/lib/ruby/site_ruby/2.2.0/rubygems/deprecate.rb\r\n 13
117
+ C:/Rubies/Ruby22/lib/ruby/site_ruby/2.2.0/rubygems/errors.rb\r\n 14 C:/Rubies/Ruby22/lib/ruby/site_ruby/2.2.0/rubygems/version.rb\r\n 15
118
+ C:/Rubies/Ruby22/lib/ruby/site_ruby/2.2.0/rubygems/requirement.rb\r\n 16
119
+ C:/Rubies/Ruby22/lib/ruby/site_ruby/2.2.0/rubygems/platform.rb\r\n 17 C:/Rubies/Ruby22/lib/ruby/site_ruby/2.2.0/rubygems/basic_specification.rb\r\n 18
120
+ C:/Rubies/Ruby22/lib/ruby/site_ruby/2.2.0/rubygems/stub_specification.rb\r\n 19
121
+ C:/Rubies/Ruby22/lib/ruby/site_ruby/2.2.0/rubygems/util/stringio.rb\r\n 20
122
+ C:/Rubies/Ruby22/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb\r\n 21
123
+ C:/Rubies/Ruby22/lib/ruby/site_ruby/2.2.0/rubygems/exceptions.rb\r\n 22
124
+ C:/Rubies/Ruby22/lib/ruby/2.2.0/rubygems/defaults/operating_system.rb\r\n 23
125
+ C:/Rubies/Ruby22/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_gem.rb\r\n 24
126
+ C:/Rubies/Ruby22/lib/ruby/2.2.0/monitor.rb\r\n 25 C:/Rubies/Ruby22/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb\r\n 26
127
+ C:/Rubies/Ruby22/lib/ruby/site_ruby/2.2.0/rubygems.rb\r\n 27 C:/Rubies/Ruby22/lib/ruby/site_ruby/2.2.0/rubygems/path_support.rb\r\n 28
128
+ C:/Rubies/Ruby22/lib/ruby/site_ruby/2.2.0/rubygems/dependency.rb\r\n 29
129
+ C:/Rubies/Ruby22/lib/ruby/gems/2.2.0/gems/benchmark-ips-2.2.0/lib/benchmark/timing.rb\r\n 30
130
+ C:/Rubies/Ruby22/lib/ruby/gems/2.2.0/gems/benchmark-ips-2.2.0/lib/benchmark/compare.rb\r\n 31
131
+ C:/Rubies/Ruby22/lib/ruby/gems/2.2.0/gems/benchmark-ips-2.2.0/lib/benchmark/ips/report.rb\r\n 32
132
+ C:/Rubies/Ruby22/lib/ruby/gems/2.2.0/gems/benchmark-ips-2.2.0/lib/benchmark/ips/job.rb\r\n 33
133
+ C:/Rubies/Ruby22/lib/ruby/gems/2.2.0/gems/benchmark-ips-2.2.0/lib/benchmark/ips.rb\r\n 34
134
+ C:/Rubies/Ruby22/lib/ruby/gems/2.2.0/gems/redcarpet-3.3.1/lib/redcarpet.so\r\n\r\n[NOTE]\r\nYou
135
+ may have encountered a bug in the Ruby interpreter or extension libraries.\r\nBug
136
+ reports are welcome.\r\nFor details: http://www.ruby-lang.org/bugreport.html\r\n\r\n\r\nThis
137
+ application has requested the Runtime to terminate it in an unusual way.\r\nPlease
138
+ contact the application''s support team for more information.\r\n\r\nD:\\benchmarks
139
+ $\r\n```\r\n\r\nOutput on Linux:\r\n```\r\n[sapslaj@boxxy benchmarks ]$ ruby
140
+ markdown_benchmark.rb\r\nCalculating -------------------------------------\r\n standard-redcarpet***
141
+ Error in `ruby'': free(): invalid pointer: 0x08d6ded8 ***\r\n[1] 3966 abort
142
+ (core dumped) ruby markdown_benchmark.rb\r\n[sapslaj@boxxy benchmarks ]$
143
+ ruby -v\r\nruby 2.1.1p76 (2014-02-24 revision 45161) [i686-linux]\r\n```\r\n"},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/493","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/493/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/493/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/493/events","html_url":"https://github.com/vmg/redcarpet/issues/493","id":85314201,"number":493,"title":"New
144
+ release?","user":{"login":"gjtorikian","id":64050,"avatar_url":"https://avatars.githubusercontent.com/u/64050?v=3","gravatar_id":"","url":"https://api.github.com/users/gjtorikian","html_url":"https://github.com/gjtorikian","followers_url":"https://api.github.com/users/gjtorikian/followers","following_url":"https://api.github.com/users/gjtorikian/following{/other_user}","gists_url":"https://api.github.com/users/gjtorikian/gists{/gist_id}","starred_url":"https://api.github.com/users/gjtorikian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjtorikian/subscriptions","organizations_url":"https://api.github.com/users/gjtorikian/orgs","repos_url":"https://api.github.com/users/gjtorikian/repos","events_url":"https://api.github.com/users/gjtorikian/events{/privacy}","received_events_url":"https://api.github.com/users/gjtorikian/received_events","type":"User","site_admin":true},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-04T22:52:52Z","updated_at":"2015-06-05T17:53:23Z","closed_at":"2015-06-05T17:28:52Z","body":"I
145
+ was wondering if there could be a new release for the `id` fixes made in https://github.com/vmg/redcarpet/issues/385.
146
+ We''re hoping to bump and deploy this to GitHub Pages: https://github.com/github/pages-gem/pull/143"},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/491","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/491/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/491/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/491/events","html_url":"https://github.com/vmg/redcarpet/pull/491","id":83148250,"number":491,"title":"Prevent
147
+ conversion to Emoji on iOS","user":{"login":"leo","id":6170607,"avatar_url":"https://avatars.githubusercontent.com/u/6170607?v=3","gravatar_id":"","url":"https://api.github.com/users/leo","html_url":"https://github.com/leo","followers_url":"https://api.github.com/users/leo/followers","following_url":"https://api.github.com/users/leo/following{/other_user}","gists_url":"https://api.github.com/users/leo/gists{/gist_id}","starred_url":"https://api.github.com/users/leo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leo/subscriptions","organizations_url":"https://api.github.com/users/leo/orgs","repos_url":"https://api.github.com/users/leo/repos","events_url":"https://api.github.com/users/leo/events{/privacy}","received_events_url":"https://api.github.com/users/leo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-31T18:00:31Z","updated_at":"2015-05-31T18:38:02Z","closed_at":"2015-05-31T18:38:02Z","pull_request":{"url":"https://api.github.com/repos/vmg/redcarpet/pulls/491","html_url":"https://github.com/vmg/redcarpet/pull/491","diff_url":"https://github.com/vmg/redcarpet/pull/491.diff","patch_url":"https://github.com/vmg/redcarpet/pull/491.patch"},"body":"Appending
148
+ `&#xfe0e;` to the Unicode-represenation of the reversed arrow will prevent
149
+ the conversion to an Emoji graphic on iOS. Take a look at this issue for better
150
+ understanding: https://github.com/jekyll/jekyll/issues/3751\r\n\r\nP.S.: I
151
+ came across this problem while looking at my personal blog on iOS (created
152
+ with Jekyll in combination with GitHub pages). Therefore I also reported it
153
+ on the other markdown engine that is used by Jekyll (kramdown): https://github.com/gettalong/kramdown/pull/260"},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/490","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/490/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/490/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/490/events","html_url":"https://github.com/vmg/redcarpet/pull/490","id":81795653,"number":490,"title":"3
154
+ 2 branch","user":{"login":"rajulakavath","id":12638383,"avatar_url":"https://avatars.githubusercontent.com/u/12638383?v=3","gravatar_id":"","url":"https://api.github.com/users/rajulakavath","html_url":"https://github.com/rajulakavath","followers_url":"https://api.github.com/users/rajulakavath/followers","following_url":"https://api.github.com/users/rajulakavath/following{/other_user}","gists_url":"https://api.github.com/users/rajulakavath/gists{/gist_id}","starred_url":"https://api.github.com/users/rajulakavath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajulakavath/subscriptions","organizations_url":"https://api.github.com/users/rajulakavath/orgs","repos_url":"https://api.github.com/users/rajulakavath/repos","events_url":"https://api.github.com/users/rajulakavath/events{/privacy}","received_events_url":"https://api.github.com/users/rajulakavath/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-28T06:59:09Z","updated_at":"2015-06-05T17:31:17Z","closed_at":"2015-06-05T17:31:17Z","pull_request":{"url":"https://api.github.com/repos/vmg/redcarpet/pulls/490","html_url":"https://github.com/vmg/redcarpet/pull/490","diff_url":"https://github.com/vmg/redcarpet/pull/490.diff","patch_url":"https://github.com/vmg/redcarpet/pull/490.patch"},"body":""},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/489","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/489/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/489/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/489/events","html_url":"https://github.com/vmg/redcarpet/issues/489","id":81605759,"number":489,"title":"What
155
+ features does the default parser support? Is there a documentation?","user":{"login":"jmuheim","id":1814983,"avatar_url":"https://avatars.githubusercontent.com/u/1814983?v=3","gravatar_id":"","url":"https://api.github.com/users/jmuheim","html_url":"https://github.com/jmuheim","followers_url":"https://api.github.com/users/jmuheim/followers","following_url":"https://api.github.com/users/jmuheim/following{/other_user}","gists_url":"https://api.github.com/users/jmuheim/gists{/gist_id}","starred_url":"https://api.github.com/users/jmuheim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmuheim/subscriptions","organizations_url":"https://api.github.com/users/jmuheim/orgs","repos_url":"https://api.github.com/users/jmuheim/repos","events_url":"https://api.github.com/users/jmuheim/events{/privacy}","received_events_url":"https://api.github.com/users/jmuheim/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-27T20:13:47Z","updated_at":"2015-06-05T17:36:53Z","closed_at":"2015-06-05T17:36:53Z","body":"I''m
156
+ using the default parser like this:\r\n\r\n Redcarpet::Markdown.new(Redcarpet::Render::HTML)\r\n\r\nAs
157
+ it seems to convert also non-standard stuff like inline code using back ticks
158
+ (which is not part of the standard http://daringfireball.net/projects/markdown/
159
+ manual), I wonder what features it supports, and whether there is some documentation
160
+ that I can send the users of my web application to so they can read about
161
+ how to write markdown?"},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/487","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/487/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/487/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/487/events","html_url":"https://github.com/vmg/redcarpet/issues/487","id":74567526,"number":487,"title":"Image
162
+ resizing","user":{"login":"polsVoice","id":941129,"avatar_url":"https://avatars.githubusercontent.com/u/941129?v=3","gravatar_id":"","url":"https://api.github.com/users/polsVoice","html_url":"https://github.com/polsVoice","followers_url":"https://api.github.com/users/polsVoice/followers","following_url":"https://api.github.com/users/polsVoice/following{/other_user}","gists_url":"https://api.github.com/users/polsVoice/gists{/gist_id}","starred_url":"https://api.github.com/users/polsVoice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polsVoice/subscriptions","organizations_url":"https://api.github.com/users/polsVoice/orgs","repos_url":"https://api.github.com/users/polsVoice/repos","events_url":"https://api.github.com/users/polsVoice/events{/privacy}","received_events_url":"https://api.github.com/users/polsVoice/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-09T03:04:01Z","updated_at":"2015-05-10T09:42:56Z","closed_at":"2015-05-10T09:42:56Z","body":"I
163
+ was wondering if Redcarpet supports image resizing, as mentioned in the top
164
+ comment in [this StackOverflow thread.](http://stackoverflow.com/questions/14675913/how-to-change-image-size-markdown)
165
+ For example, to display an image at 300px wide x 450px high:\r\n\r\n``\r\n![](http://www.example.com/myImage.png
166
+ =300x450)\r\n``\r\n\r\nWould this type of behavior be considered an extension
167
+ or a renderer?"},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/485","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/485/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/485/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/485/events","html_url":"https://github.com/vmg/redcarpet/issues/485","id":73574411,"number":485,"title":"test_no_rewind_into_previous_inline
168
+ fails with ruby 2.1","user":{"login":"lnussbaum","id":12544,"avatar_url":"https://avatars.githubusercontent.com/u/12544?v=3","gravatar_id":"","url":"https://api.github.com/users/lnussbaum","html_url":"https://github.com/lnussbaum","followers_url":"https://api.github.com/users/lnussbaum/followers","following_url":"https://api.github.com/users/lnussbaum/following{/other_user}","gists_url":"https://api.github.com/users/lnussbaum/gists{/gist_id}","starred_url":"https://api.github.com/users/lnussbaum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lnussbaum/subscriptions","organizations_url":"https://api.github.com/users/lnussbaum/orgs","repos_url":"https://api.github.com/users/lnussbaum/repos","events_url":"https://api.github.com/users/lnussbaum/events{/privacy}","received_events_url":"https://api.github.com/users/lnussbaum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-06T09:45:44Z","updated_at":"2015-05-06T10:45:10Z","closed_at":"2015-05-06T10:45:10Z","body":"Hi,\r\n\r\nI
169
+ get:\r\n```\r\n========================================================================================================================================\r\nError:
170
+ test_no_rewind_into_previous_inline(MarkdownTest)\r\n: NoMethodError: undefined
171
+ method `render'' for #<MarkdownTest:0x00000001dafc40>\r\n/home/lucas/d/debian/pkg-ruby-extras/ruby-redcarpet/test/markdown_test.rb:314:in
172
+ `test_no_rewind_into_previous_inline''\r\n 311: \r\n 312: def test_no_rewind_into_previous_inline\r\n 313: result
173
+ = \"<p><em>!dl</em><a href=\\\"mailto:1@danlec.com\\\">1@danlec.com</a></p>\\n\"\r\n =>
174
+ 314: output = render(\"_!dl_1@danlec.com\", with: [:autolink])\r\n 315:
175
+ \r\n 316: assert_equal result, output\r\n 317: \r\n======================================================================================================================\r\n```\r\n\r\nThis
176
+ patch fixes it:\r\n```\r\n--- a/test/markdown_test.rb\r\n+++ b/test/markdown_test.rb\r\n@@
177
+ -311,12 +311,12 @@ text\r\n \r\n def test_no_rewind_into_previous_inline\r\n result
178
+ = \"<p><em>!dl</em><a href=\\\"mailto:1@danlec.com\\\">1@danlec.com</a></p>\\n\"\r\n- output
179
+ = render(\"_!dl_1@danlec.com\", with: [:autolink])\r\n+ output = render_with({:autolink
180
+ => true}, \"_!dl_1@danlec.com\")\r\n \r\n assert_equal result, output\r\n
181
+ \r\n result = \"<p>abc123<em><a href=\\\"http://www.foo.com\\\">www.foo.com</a></em>@foo.com</p>\\n\"\r\n- output
182
+ = render(\"abc123_www.foo.com_@foo.com\", with: [:autolink])\r\n+ output
183
+ = render_with({:autolink => true}, \"abc123_www.foo.com_@foo.com\")\r\n \r\n assert_equal
184
+ result, output\r\n end\r\n```"},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/481","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/481/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/481/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/481/events","html_url":"https://github.com/vmg/redcarpet/issues/481","id":64208501,"number":481,"title":"Links
185
+ in Code; Local wiki link in typewritter font in Redmine","user":{"login":"ginzel","id":5886916,"avatar_url":"https://avatars.githubusercontent.com/u/5886916?v=3","gravatar_id":"","url":"https://api.github.com/users/ginzel","html_url":"https://github.com/ginzel","followers_url":"https://api.github.com/users/ginzel/followers","following_url":"https://api.github.com/users/ginzel/following{/other_user}","gists_url":"https://api.github.com/users/ginzel/gists{/gist_id}","starred_url":"https://api.github.com/users/ginzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ginzel/subscriptions","organizations_url":"https://api.github.com/users/ginzel/orgs","repos_url":"https://api.github.com/users/ginzel/repos","events_url":"https://api.github.com/users/ginzel/events{/privacy}","received_events_url":"https://api.github.com/users/ginzel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-25T08:15:22Z","updated_at":"2015-04-05T10:33:49Z","closed_at":"2015-04-05T10:33:49Z","body":"How
186
+ to format link to local wiki page in [Redmine](http://www.redmine.org/issues/15520)
187
+ to be in typewriter (code) font, please? Consider\r\n\r\n```\r\n[[`Wiki`]]
188
+ or `[[Wiki]]` vs. *[[Wiki]]* and **[[Wiki]]**\r\n```\r\nIs / Would be there
189
+ a way how to make (implicit/explicit) links in inline code or code blocks?\r\nImplicit
190
+ link example:\r\n```\r\nsub reorder {…} # see http://www.redmine.org/boards/2/topics/45051\r\n```\r\nFor
191
+ example if 4 backtics would be used?\r\nExplicit links could be started with
192
+ [deprecated](http://en.wikipedia.org/wiki/List_of_Unicode_characters#cite_note-1)
193
+ unicode character Latin Small Letter N preceded by apostrophe (U+0149) or
194
+ ZERO WIDTH SPACE (U+200B) or ZERO WIDTH NO-BREAK SPACE (BOM, U+FEFF)."},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/480","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/480/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/480/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/480/events","html_url":"https://github.com/vmg/redcarpet/issues/480","id":63987819,"number":480,"title":"Tab
195
+ in code blocks is not preserved","user":{"login":"ginzel","id":5886916,"avatar_url":"https://avatars.githubusercontent.com/u/5886916?v=3","gravatar_id":"","url":"https://api.github.com/users/ginzel","html_url":"https://github.com/ginzel","followers_url":"https://api.github.com/users/ginzel/followers","following_url":"https://api.github.com/users/ginzel/following{/other_user}","gists_url":"https://api.github.com/users/ginzel/gists{/gist_id}","starred_url":"https://api.github.com/users/ginzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ginzel/subscriptions","organizations_url":"https://api.github.com/users/ginzel/orgs","repos_url":"https://api.github.com/users/ginzel/repos","events_url":"https://api.github.com/users/ginzel/events{/privacy}","received_events_url":"https://api.github.com/users/ginzel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-24T12:50:35Z","updated_at":"2015-03-29T13:23:32Z","closed_at":"2015-03-29T13:23:32Z","body":"Please
196
+ preserve tab in code blocks.\r\n\r\n```\r\nruby --version\r\nruby 1.9.3p484
197
+ (2013-11-22) [x86_64-linux]\r\nbin/redcarpet --version\r\nRedcarpet 3.2.0\r\n\r\necho
198
+ -e ''```\\na\\tb\\n```'' |bin/redcarpet |hexdump -C\r\n00000000 3c 70 3e
199
+ 3c 63 6f 64 65 3e 0a 61 20 20 20 62 0a |<p><code>.a b.|\r\n00000010 3c
200
+ 2f 63 6f 64 65 3e 3c 2f 70 3e 0a |</code></p>.|\r\n```\r\nImho
201
+ there is no reason for Redcarpet to change tabs to spaces or vice versa.\r\n\r\nWhere
202
+ to change the default tabstops which are not 8 characters?\r\n\r\nThere are
203
+ \"holy wars\" about tab vs. space but they are irrelevant in this case.\r\nhttp://lea.verou.me/2012/01/why-tabs-are-clearly-superior/\r\nhttp://nickgravgaard.com/elastic-tabstops/\r\n"},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/479","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/479/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/479/events","html_url":"https://github.com/vmg/redcarpet/pull/479","id":63777965,"number":479,"title":"Fix
204
+ clang warnings","user":{"login":"yujinakayama","id":83656,"avatar_url":"https://avatars.githubusercontent.com/u/83656?v=3","gravatar_id":"","url":"https://api.github.com/users/yujinakayama","html_url":"https://github.com/yujinakayama","followers_url":"https://api.github.com/users/yujinakayama/followers","following_url":"https://api.github.com/users/yujinakayama/following{/other_user}","gists_url":"https://api.github.com/users/yujinakayama/gists{/gist_id}","starred_url":"https://api.github.com/users/yujinakayama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yujinakayama/subscriptions","organizations_url":"https://api.github.com/users/yujinakayama/orgs","repos_url":"https://api.github.com/users/yujinakayama/repos","events_url":"https://api.github.com/users/yujinakayama/events{/privacy}","received_events_url":"https://api.github.com/users/yujinakayama/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-23T17:10:46Z","updated_at":"2015-03-24T07:46:56Z","closed_at":"2015-03-24T07:46:56Z","pull_request":{"url":"https://api.github.com/repos/vmg/redcarpet/pulls/479","html_url":"https://github.com/vmg/redcarpet/pull/479","diff_url":"https://github.com/vmg/redcarpet/pull/479.diff","patch_url":"https://github.com/vmg/redcarpet/pull/479.patch"},"body":"Fixed
205
+ several warnings from clang."},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/478","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/478/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/478/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/478/events","html_url":"https://github.com/vmg/redcarpet/issues/478","id":63651362,"number":478,"title":"backtick
206
+ in code, escaping","user":{"login":"ginzel","id":5886916,"avatar_url":"https://avatars.githubusercontent.com/u/5886916?v=3","gravatar_id":"","url":"https://api.github.com/users/ginzel","html_url":"https://github.com/ginzel","followers_url":"https://api.github.com/users/ginzel/followers","following_url":"https://api.github.com/users/ginzel/following{/other_user}","gists_url":"https://api.github.com/users/ginzel/gists{/gist_id}","starred_url":"https://api.github.com/users/ginzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ginzel/subscriptions","organizations_url":"https://api.github.com/users/ginzel/orgs","repos_url":"https://api.github.com/users/ginzel/repos","events_url":"https://api.github.com/users/ginzel/events{/privacy}","received_events_url":"https://api.github.com/users/ginzel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-23T07:41:21Z","updated_at":"2015-03-23T07:46:19Z","closed_at":"2015-03-23T07:44:35Z","body":"Please
207
+ add a (ideally backwards compatible) way to include backtick (\\`) in code
208
+ (\\`…\\`).\r\n\r\nSolutions:\r\na) double it (\\`for i in \\`\\`command\\`\\`;
209
+ do …\\`), like apostrophe in Pascal or SQL\r\nb) backslash inside code would
210
+ escape just only a bactick and a backslash (\\`for i in \\\\\\`command\\\\\\`;
211
+ do …`) like quoting with apostrophe in Perl\r\nc) another.\r\n\r\nI wote for
212
+ a) because of backward compatibility."},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/475","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/475/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/475/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/475/events","html_url":"https://github.com/vmg/redcarpet/pull/475","id":63168739,"number":475,"title":"Add
213
+ tests for superscript","user":{"login":"yui-knk","id":5356517,"avatar_url":"https://avatars.githubusercontent.com/u/5356517?v=3","gravatar_id":"","url":"https://api.github.com/users/yui-knk","html_url":"https://github.com/yui-knk","followers_url":"https://api.github.com/users/yui-knk/followers","following_url":"https://api.github.com/users/yui-knk/following{/other_user}","gists_url":"https://api.github.com/users/yui-knk/gists{/gist_id}","starred_url":"https://api.github.com/users/yui-knk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yui-knk/subscriptions","organizations_url":"https://api.github.com/users/yui-knk/orgs","repos_url":"https://api.github.com/users/yui-knk/repos","events_url":"https://api.github.com/users/yui-knk/events{/privacy}","received_events_url":"https://api.github.com/users/yui-knk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-20T05:34:01Z","updated_at":"2015-03-29T10:10:37Z","closed_at":"2015-03-29T10:10:27Z","pull_request":{"url":"https://api.github.com/repos/vmg/redcarpet/pulls/475","html_url":"https://github.com/vmg/redcarpet/pull/475","diff_url":"https://github.com/vmg/redcarpet/pull/475.diff","patch_url":"https://github.com/vmg/redcarpet/pull/475.patch"},"body":""},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/472","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/472/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/472/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/472/events","html_url":"https://github.com/vmg/redcarpet/pull/472","id":59760045,"number":472,"title":"Avoid
214
+ passing NULL value to escape_href on rndr_image","user":{"login":"kaneshin","id":936972,"avatar_url":"https://avatars.githubusercontent.com/u/936972?v=3","gravatar_id":"","url":"https://api.github.com/users/kaneshin","html_url":"https://github.com/kaneshin","followers_url":"https://api.github.com/users/kaneshin/followers","following_url":"https://api.github.com/users/kaneshin/following{/other_user}","gists_url":"https://api.github.com/users/kaneshin/gists{/gist_id}","starred_url":"https://api.github.com/users/kaneshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaneshin/subscriptions","organizations_url":"https://api.github.com/users/kaneshin/orgs","repos_url":"https://api.github.com/users/kaneshin/repos","events_url":"https://api.github.com/users/kaneshin/events{/privacy}","received_events_url":"https://api.github.com/users/kaneshin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-04T07:25:56Z","updated_at":"2015-04-05T09:55:07Z","closed_at":"2015-04-05T09:55:04Z","pull_request":{"url":"https://api.github.com/repos/vmg/redcarpet/pulls/472","html_url":"https://github.com/vmg/redcarpet/pull/472","diff_url":"https://github.com/vmg/redcarpet/pull/472.diff","patch_url":"https://github.com/vmg/redcarpet/pull/472.patch"},"body":"Hi
215
+ there\r\n\r\nI''ve fixed a bug which has a crash.\r\n\r\n\r\nThe bug is occured
216
+ on creating image tag if passing NULL value to link on `rndr_image`.\r\n\r\nFor
217
+ example:\r\n\r\n- OK: `![](a)` \r\n- NG: `![]()`\r\n\r\nHappened the crash
218
+ because passing `link` value is not checked to use.\r\n\r\nSo, I added `if
219
+ (link && link->size)`. (See 486 Lines)\r\n\r\nAnd, I formatted brace. (See
220
+ 496 Lines)\r\n\r\nThanks.\r\n\r\n\r\n(I did noticed what there are no tests
221
+ about image. I will make them.)"},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/470","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/470/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/470/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/470/events","html_url":"https://github.com/vmg/redcarpet/pull/470","id":59015605,"number":470,"title":"Replace
222
+ two spaces with one space","user":{"login":"yui-knk","id":5356517,"avatar_url":"https://avatars.githubusercontent.com/u/5356517?v=3","gravatar_id":"","url":"https://api.github.com/users/yui-knk","html_url":"https://github.com/yui-knk","followers_url":"https://api.github.com/users/yui-knk/followers","following_url":"https://api.github.com/users/yui-knk/following{/other_user}","gists_url":"https://api.github.com/users/yui-knk/gists{/gist_id}","starred_url":"https://api.github.com/users/yui-knk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yui-knk/subscriptions","organizations_url":"https://api.github.com/users/yui-knk/orgs","repos_url":"https://api.github.com/users/yui-knk/repos","events_url":"https://api.github.com/users/yui-knk/events{/privacy}","received_events_url":"https://api.github.com/users/yui-knk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-26T04:08:05Z","updated_at":"2015-02-26T04:18:21Z","closed_at":"2015-02-26T04:18:21Z","pull_request":{"url":"https://api.github.com/repos/vmg/redcarpet/pulls/470","html_url":"https://github.com/vmg/redcarpet/pull/470","diff_url":"https://github.com/vmg/redcarpet/pull/470.diff","patch_url":"https://github.com/vmg/redcarpet/pull/470.patch"},"body":""},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/469","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/469/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/469/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/469/events","html_url":"https://github.com/vmg/redcarpet/issues/469","id":58831576,"number":469,"title":"More
223
+ unique footnote reference","user":{"login":"solarsailer","id":478621,"avatar_url":"https://avatars.githubusercontent.com/u/478621?v=3","gravatar_id":"","url":"https://api.github.com/users/solarsailer","html_url":"https://github.com/solarsailer","followers_url":"https://api.github.com/users/solarsailer/followers","following_url":"https://api.github.com/users/solarsailer/following{/other_user}","gists_url":"https://api.github.com/users/solarsailer/gists{/gist_id}","starred_url":"https://api.github.com/users/solarsailer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solarsailer/subscriptions","organizations_url":"https://api.github.com/users/solarsailer/orgs","repos_url":"https://api.github.com/users/solarsailer/repos","events_url":"https://api.github.com/users/solarsailer/events{/privacy}","received_events_url":"https://api.github.com/users/solarsailer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-25T00:38:20Z","updated_at":"2015-02-25T18:34:31Z","closed_at":"2015-02-25T18:34:31Z","body":"Hey,\r\n\r\nRedcarpet
224
+ does not differentiate a footnote reference enough:\r\n\r\n![screen_shot_2015-02-25_at_01_25_59](https://cloud.githubusercontent.com/assets/478621/6362465/a61fe678-bc8d-11e4-9757-71658f2aeb43.png)\r\n\r\n*
225
+ In the first post, the first footnote has the id \"1\".\r\n* In the second
226
+ post, the first footnote has also the id \"1\". If I click on this one, the
227
+ page scroll to the first post''s first footnote anchor. Indeed, both footnotes
228
+ have the same \"unique\" reference (which confuses the browser in my case).\r\n\r\nI
229
+ may have missed a configuration option somewhere (I''m using redcarpet with
230
+ jekyll). A MD5 of the footnote body instead of a number should prevent this
231
+ behavior and be enough for most cases I think."},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/468","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/468/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/468/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/468/events","html_url":"https://github.com/vmg/redcarpet/pull/468","id":58494593,"number":468,"title":"Append
232
+ null-terminated string to buffer for markdown render","user":{"login":"kaneshin","id":936972,"avatar_url":"https://avatars.githubusercontent.com/u/936972?v=3","gravatar_id":"","url":"https://api.github.com/users/kaneshin","html_url":"https://github.com/kaneshin","followers_url":"https://api.github.com/users/kaneshin/followers","following_url":"https://api.github.com/users/kaneshin/following{/other_user}","gists_url":"https://api.github.com/users/kaneshin/gists{/gist_id}","starred_url":"https://api.github.com/users/kaneshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaneshin/subscriptions","organizations_url":"https://api.github.com/users/kaneshin/orgs","repos_url":"https://api.github.com/users/kaneshin/repos","events_url":"https://api.github.com/users/kaneshin/events{/privacy}","received_events_url":"https://api.github.com/users/kaneshin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-22T07:56:41Z","updated_at":"2015-03-03T09:45:39Z","closed_at":"2015-03-03T09:45:34Z","pull_request":{"url":"https://api.github.com/repos/vmg/redcarpet/pulls/468","html_url":"https://github.com/vmg/redcarpet/pull/468","diff_url":"https://github.com/vmg/redcarpet/pull/468.diff","patch_url":"https://github.com/vmg/redcarpet/pull/468.patch"},"body":"Hi
233
+ there.\r\n\r\nI''d like to append Null-terminated character to parsed characters
234
+ because...\r\n\r\n\r\n> Working well on Objcetive-C.\r\n\r\n```objc\r\nNSString
235
+ *html = [[NSString alloc] initWithBytes:ob->data length:ob->size encoding:NSUTF8StringEncoding];\r\n```\r\n\r\n>
236
+ Sometimes, isn''t working well because `ob->data` doesn''t have `NULL` (`''\\0''`)
237
+ terminated character.\r\n\r\n```objc\r\nNSString *html = [[NSString alloc]
238
+ initWithUTF8String:(const char *)ob->data];\r\n```\r\n\r\n----\r\n\r\nIndeed,
239
+ `initWithUTF8String` needs to detect null-terminated character.\r\n\r\n```objc\r\n-
240
+ (instancetype)initWithUTF8String:(const char *)nullTerminatedCString;\r\n```\r\n(from
241
+ NSString Header file)\r\n\r\nThank you for your consideration in advance.\r\n"},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/467","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/467/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/467/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/467/events","html_url":"https://github.com/vmg/redcarpet/pull/467","id":58491619,"number":467,"title":"Use
242
+ BUF_OK instead of magic number to evaluate bufgrow function","user":{"login":"kaneshin","id":936972,"avatar_url":"https://avatars.githubusercontent.com/u/936972?v=3","gravatar_id":"","url":"https://api.github.com/users/kaneshin","html_url":"https://github.com/kaneshin","followers_url":"https://api.github.com/users/kaneshin/followers","following_url":"https://api.github.com/users/kaneshin/following{/other_user}","gists_url":"https://api.github.com/users/kaneshin/gists{/gist_id}","starred_url":"https://api.github.com/users/kaneshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaneshin/subscriptions","organizations_url":"https://api.github.com/users/kaneshin/orgs","repos_url":"https://api.github.com/users/kaneshin/repos","events_url":"https://api.github.com/users/kaneshin/events{/privacy}","received_events_url":"https://api.github.com/users/kaneshin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-22T05:45:09Z","updated_at":"2015-03-03T09:44:56Z","closed_at":"2015-03-03T09:44:34Z","pull_request":{"url":"https://api.github.com/repos/vmg/redcarpet/pulls/467","html_url":"https://github.com/vmg/redcarpet/pull/467","diff_url":"https://github.com/vmg/redcarpet/pull/467.diff","patch_url":"https://github.com/vmg/redcarpet/pull/467.patch"},"body":"Hi
243
+ there.\r\n\r\nI noticed magic number when I debugged `bufgrow` function.\r\nSo
244
+ I replaced them to `BUF_OK`."},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/466","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/466/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/466/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/466/events","html_url":"https://github.com/vmg/redcarpet/pull/466","id":58388269,"number":466,"title":"Test","user":{"login":"jdmanuel","id":280516,"avatar_url":"https://avatars.githubusercontent.com/u/280516?v=3","gravatar_id":"","url":"https://api.github.com/users/jdmanuel","html_url":"https://github.com/jdmanuel","followers_url":"https://api.github.com/users/jdmanuel/followers","following_url":"https://api.github.com/users/jdmanuel/following{/other_user}","gists_url":"https://api.github.com/users/jdmanuel/gists{/gist_id}","starred_url":"https://api.github.com/users/jdmanuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdmanuel/subscriptions","organizations_url":"https://api.github.com/users/jdmanuel/orgs","repos_url":"https://api.github.com/users/jdmanuel/repos","events_url":"https://api.github.com/users/jdmanuel/events{/privacy}","received_events_url":"https://api.github.com/users/jdmanuel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-20T18:01:03Z","updated_at":"2015-02-20T21:51:32Z","closed_at":"2015-02-20T21:43:19Z","pull_request":{"url":"https://api.github.com/repos/vmg/redcarpet/pulls/466","html_url":"https://github.com/vmg/redcarpet/pull/466","diff_url":"https://github.com/vmg/redcarpet/pull/466.diff","patch_url":"https://github.com/vmg/redcarpet/pull/466.patch"},"body":"this_and_that\r\n\r\n\r\n_this_"},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/462","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/462/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/462/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/462/events","html_url":"https://github.com/vmg/redcarpet/issues/462","id":56909356,"number":462,"title":"`html_escape`
245
+ into wrong escape char in Render::Safe","user":{"login":"david50407","id":841969,"avatar_url":"https://avatars.githubusercontent.com/u/841969?v=3","gravatar_id":"","url":"https://api.github.com/users/david50407","html_url":"https://github.com/david50407","followers_url":"https://api.github.com/users/david50407/followers","following_url":"https://api.github.com/users/david50407/following{/other_user}","gists_url":"https://api.github.com/users/david50407/gists{/gist_id}","starred_url":"https://api.github.com/users/david50407/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david50407/subscriptions","organizations_url":"https://api.github.com/users/david50407/orgs","repos_url":"https://api.github.com/users/david50407/repos","events_url":"https://api.github.com/users/david50407/events{/privacy}","received_events_url":"https://api.github.com/users/david50407/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/vmg/redcarpet/milestones/5","html_url":"https://github.com/vmg/redcarpet/milestones/3.2.3","labels_url":"https://api.github.com/repos/vmg/redcarpet/milestones/5/labels","id":969906,"number":5,"title":"3.2.3","description":"","creator":{"login":"robin850","id":354185,"avatar_url":"https://avatars.githubusercontent.com/u/354185?v=3","gravatar_id":"","url":"https://api.github.com/users/robin850","html_url":"https://github.com/robin850","followers_url":"https://api.github.com/users/robin850/followers","following_url":"https://api.github.com/users/robin850/following{/other_user}","gists_url":"https://api.github.com/users/robin850/gists{/gist_id}","starred_url":"https://api.github.com/users/robin850/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robin850/subscriptions","organizations_url":"https://api.github.com/users/robin850/orgs","repos_url":"https://api.github.com/users/robin850/repos","events_url":"https://api.github.com/users/robin850/events{/privacy}","received_events_url":"https://api.github.com/users/robin850/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2015-02-07T14:56:06Z","updated_at":"2015-02-07T14:56:23Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-02-07T12:15:23Z","updated_at":"2015-02-07T14:56:34Z","closed_at":"2015-02-07T14:54:04Z","body":"https://github.com/vmg/redcarpet/blob/master/lib/redcarpet.rb#L57\r\n\r\n```\r\n
246
+ \"/\" => ''&#x2F'',\r\n```\r\n\r\n`\"/\"` must be translated into `''&#x2F;''`
247
+ (with the missing `;`)"},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/461","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/461/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/461/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/461/events","html_url":"https://github.com/vmg/redcarpet/issues/461","id":56708037,"number":461,"title":"Image
248
+ title attribute is always \"# {title }\"","user":{"login":"benwalsh","id":14017,"avatar_url":"https://avatars.githubusercontent.com/u/14017?v=3","gravatar_id":"","url":"https://api.github.com/users/benwalsh","html_url":"https://github.com/benwalsh","followers_url":"https://api.github.com/users/benwalsh/followers","following_url":"https://api.github.com/users/benwalsh/following{/other_user}","gists_url":"https://api.github.com/users/benwalsh/gists{/gist_id}","starred_url":"https://api.github.com/users/benwalsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benwalsh/subscriptions","organizations_url":"https://api.github.com/users/benwalsh/orgs","repos_url":"https://api.github.com/users/benwalsh/repos","events_url":"https://api.github.com/users/benwalsh/events{/privacy}","received_events_url":"https://api.github.com/users/benwalsh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-05T18:18:40Z","updated_at":"2015-02-07T19:42:50Z","closed_at":"2015-02-07T14:41:44Z","body":"`![Some
249
+ image](/some_image.png)`\r\nand\r\n`![Some image](/some_image.png \"With a
250
+ title\")`\r\n\r\nboth yield:\r\n\r\n`<img src=\"/some_image.png\" alt=\"Some
251
+ image\" title=\"# {title }\">`"},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/458","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/458/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/458/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/458/events","html_url":"https://github.com/vmg/redcarpet/issues/458","id":55680485,"number":458,"title":"new
252
+ line issue","user":{"login":"tomkadwill","id":907365,"avatar_url":"https://avatars.githubusercontent.com/u/907365?v=3","gravatar_id":"","url":"https://api.github.com/users/tomkadwill","html_url":"https://github.com/tomkadwill","followers_url":"https://api.github.com/users/tomkadwill/followers","following_url":"https://api.github.com/users/tomkadwill/following{/other_user}","gists_url":"https://api.github.com/users/tomkadwill/gists{/gist_id}","starred_url":"https://api.github.com/users/tomkadwill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomkadwill/subscriptions","organizations_url":"https://api.github.com/users/tomkadwill/orgs","repos_url":"https://api.github.com/users/tomkadwill/repos","events_url":"https://api.github.com/users/tomkadwill/events{/privacy}","received_events_url":"https://api.github.com/users/tomkadwill/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-27T21:58:22Z","updated_at":"2015-04-19T18:35:25Z","closed_at":"2015-04-19T18:35:25Z","body":"There
253
+ seems to be an issue with adding new lines. I''ve seen a previous fix #211.
254
+ However, the issue seems to have reappeared in ruby 2.1.2"},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/456","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/456/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/456/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/456/events","html_url":"https://github.com/vmg/redcarpet/issues/456","id":55340341,"number":456,"title":"Markdown
255
+ inside of hyperlink markdown doesn''t work.","user":{"login":"VertigoRay","id":792482,"avatar_url":"https://avatars.githubusercontent.com/u/792482?v=3","gravatar_id":"","url":"https://api.github.com/users/VertigoRay","html_url":"https://github.com/VertigoRay","followers_url":"https://api.github.com/users/VertigoRay/followers","following_url":"https://api.github.com/users/VertigoRay/following{/other_user}","gists_url":"https://api.github.com/users/VertigoRay/gists{/gist_id}","starred_url":"https://api.github.com/users/VertigoRay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VertigoRay/subscriptions","organizations_url":"https://api.github.com/users/VertigoRay/orgs","repos_url":"https://api.github.com/users/VertigoRay/repos","events_url":"https://api.github.com/users/VertigoRay/events{/privacy}","received_events_url":"https://api.github.com/users/VertigoRay/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-23T22:17:39Z","updated_at":"2015-01-24T16:14:39Z","closed_at":"2015-01-24T16:14:39Z","body":"[Originally
256
+ posted here](https://github.com/gitlabhq/gitlabhq/issues/8643) and was redirected
257
+ to redcarpet.\r\n\r\n# Description\r\n\r\nWhen you use markdown inside of
258
+ the markdown''s square brackets to create bold, italics, etc ... it shows
259
+ the html instead of generating the html. Shown in Example 1.\r\n\r\nAdditionally,
260
+ when you use HTML inside of the markdown''s square brackets to create bold,
261
+ italics, etc ... it shows the no evidence of formatting changes. Shown in
262
+ Example 2.\r\n\r\n## Example 1\r\n\r\n**Markdown:**\r\n\r\n`the [fox *runs*
263
+ fast](http://example.com).`\r\n\r\n**Results:**\r\n\r\nthe [fox \\<em\\>runs\\</em\\>
264
+ fast](http://example.com).\r\n\r\n**Expected:**\r\n\r\nthe [fox *runs* fast](http://example.com).\r\n\r\n##
265
+ Example 2\r\n\r\n**Markdown:**\r\n\r\n`the [fox <em>runs</em> fast](http://example.com).`\r\n\r\n**Results:**\r\n\r\nthe
266
+ [fox runs fast](http://example.com).\r\n\r\n**Expected:**\r\n\r\nthe [fox
267
+ <em>runs</em> fast](http://example.com)."},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/455","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/455/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/455/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/455/events","html_url":"https://github.com/vmg/redcarpet/pull/455","id":55238795,"number":455,"title":"3
268
+ 2 branch","user":{"login":"ghost","id":10137,"avatar_url":"https://avatars.githubusercontent.com/u/10137?v=3","gravatar_id":"","url":"https://api.github.com/users/ghost","html_url":"https://github.com/ghost","followers_url":"https://api.github.com/users/ghost/followers","following_url":"https://api.github.com/users/ghost/following{/other_user}","gists_url":"https://api.github.com/users/ghost/gists{/gist_id}","starred_url":"https://api.github.com/users/ghost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghost/subscriptions","organizations_url":"https://api.github.com/users/ghost/orgs","repos_url":"https://api.github.com/users/ghost/repos","events_url":"https://api.github.com/users/ghost/events{/privacy}","received_events_url":"https://api.github.com/users/ghost/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-23T02:48:23Z","updated_at":"2015-01-24T16:28:31Z","closed_at":"2015-01-24T16:28:31Z","pull_request":{"url":"https://api.github.com/repos/vmg/redcarpet/pulls/455","html_url":"https://github.com/vmg/redcarpet/pull/455","diff_url":"https://github.com/vmg/redcarpet/pull/455.diff","patch_url":"https://github.com/vmg/redcarpet/pull/455.patch"},"body":""},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/454","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/454/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/454/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/454/events","html_url":"https://github.com/vmg/redcarpet/pull/454","id":54931062,"number":454,"title":"Fix
269
+ an out of bounds memory access","user":{"login":"valeriangalliat","id":3929133,"avatar_url":"https://avatars.githubusercontent.com/u/3929133?v=3","gravatar_id":"","url":"https://api.github.com/users/valeriangalliat","html_url":"https://github.com/valeriangalliat","followers_url":"https://api.github.com/users/valeriangalliat/followers","following_url":"https://api.github.com/users/valeriangalliat/following{/other_user}","gists_url":"https://api.github.com/users/valeriangalliat/gists{/gist_id}","starred_url":"https://api.github.com/users/valeriangalliat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valeriangalliat/subscriptions","organizations_url":"https://api.github.com/users/valeriangalliat/orgs","repos_url":"https://api.github.com/users/valeriangalliat/repos","events_url":"https://api.github.com/users/valeriangalliat/events{/privacy}","received_events_url":"https://api.github.com/users/valeriangalliat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-20T19:57:15Z","updated_at":"2015-03-03T15:21:11Z","closed_at":"2015-03-03T15:20:33Z","pull_request":{"url":"https://api.github.com/repos/vmg/redcarpet/pulls/454","html_url":"https://github.com/vmg/redcarpet/pull/454","diff_url":"https://github.com/vmg/redcarpet/pull/454.diff","patch_url":"https://github.com/vmg/redcarpet/pull/454.patch"},"body":"When
270
+ the last character of a title is a `STRIPPED_CHAR`, the `while` loop will
271
+ read out of bounds memory until a non-`STRIPPED_CHAR` is found.\r\n\r\nThis
272
+ commit adds bound checking to avoid this."},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/453","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/453/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/453/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/453/events","html_url":"https://github.com/vmg/redcarpet/issues/453","id":54827390,"number":453,"title":"Is
273
+ there any way to add a class to a table?","user":{"login":"tomjohnson1492","id":6385062,"avatar_url":"https://avatars.githubusercontent.com/u/6385062?v=3","gravatar_id":"","url":"https://api.github.com/users/tomjohnson1492","html_url":"https://github.com/tomjohnson1492","followers_url":"https://api.github.com/users/tomjohnson1492/followers","following_url":"https://api.github.com/users/tomjohnson1492/following{/other_user}","gists_url":"https://api.github.com/users/tomjohnson1492/gists{/gist_id}","starred_url":"https://api.github.com/users/tomjohnson1492/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomjohnson1492/subscriptions","organizations_url":"https://api.github.com/users/tomjohnson1492/orgs","repos_url":"https://api.github.com/users/tomjohnson1492/repos","events_url":"https://api.github.com/users/tomjohnson1492/events{/privacy}","received_events_url":"https://api.github.com/users/tomjohnson1492/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-19T23:59:19Z","updated_at":"2015-01-20T17:24:17Z","closed_at":"2015-01-20T13:30:13Z","body":"Is
274
+ there any way to add a class to a table?"},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/452","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/452/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/452/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/452/events","html_url":"https://github.com/vmg/redcarpet/pull/452","id":54660687,"number":452,"title":"Provide
275
+ a `Redcarpet::CLI` class to create custom binary files.","user":{"login":"robin850","id":354185,"avatar_url":"https://avatars.githubusercontent.com/u/354185?v=3","gravatar_id":"","url":"https://api.github.com/users/robin850","html_url":"https://github.com/robin850","followers_url":"https://api.github.com/users/robin850/followers","following_url":"https://api.github.com/users/robin850/following{/other_user}","gists_url":"https://api.github.com/users/robin850/gists{/gist_id}","starred_url":"https://api.github.com/users/robin850/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robin850/subscriptions","organizations_url":"https://api.github.com/users/robin850/orgs","repos_url":"https://api.github.com/users/robin850/repos","events_url":"https://api.github.com/users/robin850/events{/privacy}","received_events_url":"https://api.github.com/users/robin850/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/vmg/redcarpet/milestones/4","html_url":"https://github.com/vmg/redcarpet/milestones/3.3.0","labels_url":"https://api.github.com/repos/vmg/redcarpet/milestones/4/labels","id":725920,"number":4,"title":"3.3.0","description":"","creator":{"login":"robin850","id":354185,"avatar_url":"https://avatars.githubusercontent.com/u/354185?v=3","gravatar_id":"","url":"https://api.github.com/users/robin850","html_url":"https://github.com/robin850","followers_url":"https://api.github.com/users/robin850/followers","following_url":"https://api.github.com/users/robin850/following{/other_user}","gists_url":"https://api.github.com/users/robin850/gists{/gist_id}","starred_url":"https://api.github.com/users/robin850/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robin850/subscriptions","organizations_url":"https://api.github.com/users/robin850/orgs","repos_url":"https://api.github.com/users/robin850/repos","events_url":"https://api.github.com/users/robin850/events{/privacy}","received_events_url":"https://api.github.com/users/robin850/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":7,"state":"open","created_at":"2014-07-19T13:15:06Z","updated_at":"2015-04-05T16:05:07Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-01-17T12:41:34Z","updated_at":"2015-01-20T13:30:47Z","closed_at":"2015-01-20T13:30:47Z","pull_request":{"url":"https://api.github.com/repos/vmg/redcarpet/pulls/452","html_url":"https://github.com/vmg/redcarpet/pull/452","diff_url":"https://github.com/vmg/redcarpet/pull/452.diff","patch_url":"https://github.com/vmg/redcarpet/pull/452.patch"},"body":"Hello,\r\n\r\nThis
276
+ pull request introduces a new `Redcarpet::CLI` class that eases the creation
277
+ of custom binary files (e.g. to address issues such as #327). Also our \"binary\"
278
+ file was a bit messy, it is now much more clear.\r\n\r\nMoreover, at the
279
+ moment, we are writing the output to `STDOUT`. Even though that''s pretty
280
+ easy to rely on `>>` inside the command line to write it to a file instead,
281
+ it becomes a bit harder dealing with multiples files. For the sake of backward-compatibility,
282
+ we should keep it as is but this is now simpler to handle differently the
283
+ provided files.\r\n\r\nFixes #327.\r\n\r\nHave a nice day!"},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/451","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/451/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/451/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/451/events","html_url":"https://github.com/vmg/redcarpet/issues/451","id":54660381,"number":451,"title":"HTML_TOC
284
+ fails when encountering ''#'' as comment start flag within code blocks","user":{"login":"brxue","id":1690204,"avatar_url":"https://avatars.githubusercontent.com/u/1690204?v=3","gravatar_id":"","url":"https://api.github.com/users/brxue","html_url":"https://github.com/brxue","followers_url":"https://api.github.com/users/brxue/followers","following_url":"https://api.github.com/users/brxue/following{/other_user}","gists_url":"https://api.github.com/users/brxue/gists{/gist_id}","starred_url":"https://api.github.com/users/brxue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brxue/subscriptions","organizations_url":"https://api.github.com/users/brxue/orgs","repos_url":"https://api.github.com/users/brxue/repos","events_url":"https://api.github.com/users/brxue/events{/privacy}","received_events_url":"https://api.github.com/users/brxue/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-17T12:27:19Z","updated_at":"2015-03-28T14:42:04Z","closed_at":"2015-03-03T09:52:21Z","body":"Hi,\r\n\r\nI''m
285
+ trying to use HTML_TOC as a render to generate TOC. \r\n\r\nLooks like it
286
+ will regard the fake ''#'' as headers when it is within code blocks. for example,
287
+ \"make some nice lexed html\" in the following code pieces will be rendered
288
+ as header.\r\n\r\n``` ruby\r\n# make some nice lexed html\r\nsource = File.read(''/etc/bashrc'')\r\nformatter
289
+ = Rouge::Formatters::HTML.new(css_class: ''highlight'')\r\nlexer = Rouge::Lexers::Shell.new\r\nformatter.format(lexer.lex(source))\r\n\r\n#
290
+ Get some CSS\r\nRouge::Themes::Base16.mode(:light).render(scope: ''.highlight'')\r\n#
291
+ Or use Theme#find with string input\r\nRouge::Theme.find(''base16.light'').render(scope:
292
+ ''.highlight'')\r\n```"},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/450","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/450/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/450/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/450/events","html_url":"https://github.com/vmg/redcarpet/issues/450","id":54599377,"number":450,"title":"Linebreaks
293
+ inside html5 tags","user":{"login":"soma","id":1507,"avatar_url":"https://avatars.githubusercontent.com/u/1507?v=3","gravatar_id":"","url":"https://api.github.com/users/soma","html_url":"https://github.com/soma","followers_url":"https://api.github.com/users/soma/followers","following_url":"https://api.github.com/users/soma/following{/other_user}","gists_url":"https://api.github.com/users/soma/gists{/gist_id}","starred_url":"https://api.github.com/users/soma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soma/subscriptions","organizations_url":"https://api.github.com/users/soma/orgs","repos_url":"https://api.github.com/users/soma/repos","events_url":"https://api.github.com/users/soma/events{/privacy}","received_events_url":"https://api.github.com/users/soma/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-16T17:07:02Z","updated_at":"2015-03-03T10:27:10Z","closed_at":"2015-03-03T10:27:10Z","body":"Hello.
294
+ I am trying to port our usage of github-markdown to redcarpet and notice a
295
+ difference in the parsing. I wonder if this is a bug or intentional, and if
296
+ so if there is a workaround.\r\n\r\nThis script produces different outputs
297
+ like below:\r\n\r\n```ruby\r\nstr = \"\r\n<address>\r\nSomething address\r\nSomething
298
+ 4C\r\n2620 Blabla\r\n</address>\r\n\"\r\n\r\np Redcarpet::Markdown.new(Redcarpet::Render::HTML.new(hard_wrap:
299
+ true)).render(str).html_safe\r\np GitHub::Markdown.render_gfm(str).html_safe\r\n\r\n=>\r\n\r\n\"<address>\\nSomething
300
+ address\\nSomething 4C\\n2620 Blabla\\n</address>\\n\"\r\n\"<p><address><br>\\nSomething
301
+ address<br>\\nSomething 4C<br>\\n2620 Blabla<br>\\n</address></p>\\n\"\r\n```\r\n\r\nI
302
+ would like the linebreaks to be there.\r\n\r\n"},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/449","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/449/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/449/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/449/events","html_url":"https://github.com/vmg/redcarpet/issues/449","id":53841212,"number":449,"title":"Build
303
+ fails inside Docker container based on Ubuntu 14.04 and ruby 2.1","user":{"login":"soupdiver","id":800562,"avatar_url":"https://avatars.githubusercontent.com/u/800562?v=3","gravatar_id":"","url":"https://api.github.com/users/soupdiver","html_url":"https://github.com/soupdiver","followers_url":"https://api.github.com/users/soupdiver/followers","following_url":"https://api.github.com/users/soupdiver/following{/other_user}","gists_url":"https://api.github.com/users/soupdiver/gists{/gist_id}","starred_url":"https://api.github.com/users/soupdiver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soupdiver/subscriptions","organizations_url":"https://api.github.com/users/soupdiver/orgs","repos_url":"https://api.github.com/users/soupdiver/repos","events_url":"https://api.github.com/users/soupdiver/events{/privacy}","received_events_url":"https://api.github.com/users/soupdiver/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-09T07:30:38Z","updated_at":"2015-01-09T19:44:29Z","closed_at":"2015-01-09T19:44:29Z","body":"I''ve
304
+ git a Docker container based on phusion/baseimage and inside this container
305
+ I compiled ruby 2.1.2 myself.\r\nI try to install the gem **livingstyleguide**
306
+ and during this process **redcarpet 3.0.0** will be installed. This always
307
+ fails and I don''t know why.\r\nThis is the output:\r\n```\r\nERROR: Error
308
+ installing livingstyleguide:\r\n\tERROR: Failed to build gem native extension.\r\n\r\n /usr/local/bin/ruby
309
+ extconf.rb\r\n/usr/local/bin/ruby: invalid option -'' (-h will show valid
310
+ options) (RuntimeError)\r\n\r\nextconf failed, exit code 1\r\n\r\nGem files
311
+ will remain installed in /usr/local/lib/ruby/2.1.0/rubygems/gems/redcarpet-3.0.0
312
+ for inspection.\r\nResults logged to /usr/local/lib/ruby/2.1.0/rubygems/extensions/x86_64-linux/2.1.0-static/redcarpet-3.0.0/gem_make.out\r\n```\r\nAre
313
+ there any special requirements?"},{"url":"https://api.github.com/repos/vmg/redcarpet/issues/446","labels_url":"https://api.github.com/repos/vmg/redcarpet/issues/446/labels{/name}","comments_url":"https://api.github.com/repos/vmg/redcarpet/issues/446/comments","events_url":"https://api.github.com/repos/vmg/redcarpet/issues/446/events","html_url":"https://github.com/vmg/redcarpet/issues/446","id":52802942,"number":446,"title":"autolink
314
+ renders URL params incorrectly (ampersands converted to entities)","user":{"login":"debajit","id":18019,"avatar_url":"https://avatars.githubusercontent.com/u/18019?v=3","gravatar_id":"","url":"https://api.github.com/users/debajit","html_url":"https://github.com/debajit","followers_url":"https://api.github.com/users/debajit/followers","following_url":"https://api.github.com/users/debajit/following{/other_user}","gists_url":"https://api.github.com/users/debajit/gists{/gist_id}","starred_url":"https://api.github.com/users/debajit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/debajit/subscriptions","organizations_url":"https://api.github.com/users/debajit/orgs","repos_url":"https://api.github.com/users/debajit/repos","events_url":"https://api.github.com/users/debajit/events{/privacy}","received_events_url":"https://api.github.com/users/debajit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-12-24T07:57:34Z","updated_at":"2015-02-04T01:25:50Z","closed_at":"2014-12-24T10:51:10Z","body":"###
315
+ Steps to Repro\r\n\r\nRender a URL with parameters e.g. ''http://a.com/?k1=v1&k2=v2''\r\n\r\n**Expected
316
+ output:**\r\n\r\n \"<p><a href=\\\"http://a.com/?k1=v1&k2=v2\\\">http://a.com/?k1=v1&amp;k2=v2</a></p>\\n\"\r\n\r\n**Actual
317
+ output:**\r\n\r\n \"<p><a href=\\\"http://a.com/?k1=v1&amp;k2=v2\\\">http://a.com/?k1=v1&amp;k2=v2</a></p>\\n\"\r\n\r\nThe
318
+ link in the `<a href>` is broken.\r\n\r\n----\r\n\r\n### Details\r\n\r\n```\r\nhtml_renderer
319
+ = Redcarpet::Render::HTML.new\r\nurl = ''http://a.com/?k1=v1&k2=v2''\r\n```\r\n\r\n####
320
+ Without autolink (Correct):\r\n```\r\nmd = Redcarpet::Markdown.new(html_renderer)\r\nmd.render
321
+ url \r\n# => \"<p>http://a.com/?k1=v1&amp;k2=v2</p>\\n\"\r\n```\r\n\r\n####
322
+ With autolink (a href is incorrect):\r\n```\r\nmd = Redcarpet::Markdown.new(html_renderer,
323
+ autolink: true)\r\nmd.render url\r\n# => \"<p><a href=\\\"http://a.com/?k1=v1&amp;k2=v2\\\">http://a.com/?k1=v1&amp;k2=v2</a></p>\\n\"\r\n```"}]'
324
+ http_version:
325
+ recorded_at: Fri, 26 Jun 2015 14:00:33 GMT
326
+ recorded_with: VCR 2.9.3
data/lib/zoid.rb ADDED
@@ -0,0 +1,7 @@
1
+ require "zoid/version"
2
+
3
+ module Zoid
4
+ require "zoid/agent"
5
+ require "zoid/response"
6
+ require "zoid/resource"
7
+ end
data/lib/zoid/agent.rb ADDED
@@ -0,0 +1,34 @@
1
+ require "faraday"
2
+ require "faraday_middleware"
3
+ require "httpclient"
4
+
5
+ module Zoid
6
+ class Agent
7
+ def initialize(url, options = {})
8
+ @url = url
9
+ @options = options
10
+ end
11
+
12
+ def get(path, params = {})
13
+ response = connection.get do |request|
14
+ request.path = path
15
+ request.headers['Content-Type'] = "application/json"
16
+ request.params = params
17
+
18
+ yield if block_given?
19
+ end
20
+
21
+ Zoid::Response.new(response.status, response.body)
22
+ end
23
+
24
+ private
25
+
26
+ def connection
27
+ @connection ||= Faraday.new(@options.merge(:url => @url)) do |builder|
28
+ builder.response :json
29
+
30
+ builder.adapter :httpclient
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,19 @@
1
+ module Zoid
2
+ class Resource
3
+ def initialize(hash)
4
+ @attributes = hash
5
+ end
6
+
7
+ def respond_to_missing?(method, include_private = false)
8
+ @attributes.has_key?[method.to_s]
9
+ end
10
+
11
+ def method_missing(method, *args)
12
+ if @attributes.has_key?(method.to_s)
13
+ @attributes[method.to_s]
14
+ else
15
+ super
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,27 @@
1
+ module Zoid
2
+ class Response
3
+ attr_reader :status
4
+ attr_reader :body
5
+
6
+ def initialize(status, body)
7
+ @status = status
8
+ @body = process(body)
9
+ end
10
+
11
+ def process(value)
12
+ case value
13
+ when Array then value.map { |el| process(el) }
14
+ when Hash then process_hash(value)
15
+ else value
16
+ end
17
+ end
18
+
19
+ def process_hash(hash)
20
+ processed_hash = hash.map do |key, value|
21
+ [key.to_s, process(value)]
22
+ end.to_h
23
+
24
+ Zoid::Resource.new(processed_hash)
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,3 @@
1
+ module Zoid
2
+ VERSION = "0.1.0"
3
+ end
data/zoid.gemspec ADDED
@@ -0,0 +1,31 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'zoid/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "zoid"
8
+ spec.version = Zoid::VERSION
9
+ spec.authors = ["Igor Sarcevic"]
10
+ spec.email = ["igisar@gmail.com"]
11
+
12
+ spec.summary = %q{Friendly Json Api consumer}
13
+ spec.description = %q{Friendly Json Api consumer}
14
+ spec.homepage = "https://github.com/shiroyasha/zoid"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ spec.bindir = "exe"
18
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency "faraday"
22
+ spec.add_dependency "faraday_middleware"
23
+ spec.add_dependency "httpclient"
24
+
25
+ spec.add_development_dependency "bundler", "~> 1.9"
26
+ spec.add_development_dependency "rake", "~> 10.0"
27
+ spec.add_development_dependency "rspec"
28
+ spec.add_development_dependency "byebug"
29
+ spec.add_development_dependency "vcr"
30
+ spec.add_development_dependency "webmock"
31
+ end
metadata ADDED
@@ -0,0 +1,183 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: zoid
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Igor Sarcevic
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-06-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday_middleware
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: httpclient
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.9'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.9'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '10.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '10.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: byebug
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: vcr
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: webmock
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ description: Friendly Json Api consumer
140
+ email:
141
+ - igisar@gmail.com
142
+ executables: []
143
+ extensions: []
144
+ extra_rdoc_files: []
145
+ files:
146
+ - ".gitignore"
147
+ - ".rspec"
148
+ - Gemfile
149
+ - README.md
150
+ - Rakefile
151
+ - bin/console
152
+ - bin/setup
153
+ - fixtures/vcr_cassettes/github/public_repo.yml
154
+ - lib/zoid.rb
155
+ - lib/zoid/agent.rb
156
+ - lib/zoid/resource.rb
157
+ - lib/zoid/response.rb
158
+ - lib/zoid/version.rb
159
+ - zoid.gemspec
160
+ homepage: https://github.com/shiroyasha/zoid
161
+ licenses: []
162
+ metadata: {}
163
+ post_install_message:
164
+ rdoc_options: []
165
+ require_paths:
166
+ - lib
167
+ required_ruby_version: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - ">="
170
+ - !ruby/object:Gem::Version
171
+ version: '0'
172
+ required_rubygems_version: !ruby/object:Gem::Requirement
173
+ requirements:
174
+ - - ">="
175
+ - !ruby/object:Gem::Version
176
+ version: '0'
177
+ requirements: []
178
+ rubyforge_project:
179
+ rubygems_version: 2.2.2
180
+ signing_key:
181
+ specification_version: 4
182
+ summary: Friendly Json Api consumer
183
+ test_files: []