nexmo_markdown_renderer 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cdefdb4aeb9fcc3285946cbe7f98a230e0d0d59d22d979fd3cb96671a800b940
4
- data.tar.gz: 0b9cb71b1374181a53af2066771201f540c2acb350392a9a8021321d69ecfb12
3
+ metadata.gz: 4da578e278c9eecde5391aa32fbb81f2e35e6417c01d2b83f0316012fba3bc2c
4
+ data.tar.gz: '091ec00d65a87d97a7834162cf6d1b6aaa06c7b483eb15a98505ca2b5331eefb'
5
5
  SHA512:
6
- metadata.gz: 841558e3b4b185ffeb0360b9702367e0fdfba2c689f360ba19f913cefc2ae5f9b98b2494b11d4f057e862e380520d77904e322e89e2169486c4c6c7be94e763f
7
- data.tar.gz: b31e7270ba47a9ee772ddc47574eaa5a5a526c9deceec85c6cc0d89d794633c682bd33bd126a8372c9ce09bf432738181c0c95f75c573642f8107909866fa4a4
6
+ metadata.gz: c314657631aaf4972361ef8615d1edc935f5778b7ad8252cfd331bc1a32a8e40611fdc00eda9858e35f273d2db63962af13bc4f97a3c31115c46b3c3867e6780
7
+ data.tar.gz: fbf0460036c6b3fdaf034258c2292d2d654b8a6f6e9716064afb021a186623cafb7816dfc85090d17ac880d97c7953b922188bd8c929797459c30b4cedb712cf
@@ -6,21 +6,21 @@ require 'nokogiri'
6
6
  require 'open-uri'
7
7
  require 'active_model'
8
8
  require 'i18n'
9
- require 'nexmo_markdown_renderer/initializers/redcarpet'
10
- require 'nexmo_markdown_renderer/initializers/i18n'
11
- require 'nexmo_markdown_renderer/core_ext/string'
12
- require 'nexmo_markdown_renderer/services/code_snippet_renderer/base'
13
- require 'nexmo_markdown_renderer/services/code_snippet_renderer/android'
14
- require 'nexmo_markdown_renderer/services/code_snippet_renderer/curl'
15
- require 'nexmo_markdown_renderer/services/code_snippet_renderer/dotnet'
16
- require 'nexmo_markdown_renderer/services/code_snippet_renderer/java'
17
- require 'nexmo_markdown_renderer/services/code_snippet_renderer/javascript'
18
- require 'nexmo_markdown_renderer/services/code_snippet_renderer/kotlin'
19
- require 'nexmo_markdown_renderer/services/code_snippet_renderer/objective_c'
20
- require 'nexmo_markdown_renderer/services/code_snippet_renderer/php'
21
- require 'nexmo_markdown_renderer/services/code_snippet_renderer/python'
22
- require 'nexmo_markdown_renderer/services/code_snippet_renderer/ruby'
23
- require 'nexmo_markdown_renderer/services/code_snippet_renderer/swift'
9
+ require_relative 'nexmo_markdown_renderer/initializers/redcarpet'
10
+ require_relative 'nexmo_markdown_renderer/initializers/i18n'
11
+ require_relative 'nexmo_markdown_renderer/core_ext/string'
12
+ require_relative 'nexmo_markdown_renderer/services/code_snippet_renderer/base'
13
+ require_relative 'nexmo_markdown_renderer/services/code_snippet_renderer/android'
14
+ require_relative 'nexmo_markdown_renderer/services/code_snippet_renderer/curl'
15
+ require_relative 'nexmo_markdown_renderer/services/code_snippet_renderer/dotnet'
16
+ require_relative 'nexmo_markdown_renderer/services/code_snippet_renderer/java'
17
+ require_relative 'nexmo_markdown_renderer/services/code_snippet_renderer/javascript'
18
+ require_relative 'nexmo_markdown_renderer/services/code_snippet_renderer/kotlin'
19
+ require_relative 'nexmo_markdown_renderer/services/code_snippet_renderer/objective_c'
20
+ require_relative 'nexmo_markdown_renderer/services/code_snippet_renderer/php'
21
+ require_relative 'nexmo_markdown_renderer/services/code_snippet_renderer/python'
22
+ require_relative 'nexmo_markdown_renderer/services/code_snippet_renderer/ruby'
23
+ require_relative 'nexmo_markdown_renderer/services/code_snippet_renderer/swift'
24
24
  Dir[File.join(__dir__, 'nexmo_markdown_renderer/services', '*.rb')].each { |file| require_relative file }
25
25
  Dir[File.join(__dir__, 'nexmo_markdown_renderer/models', '*.rb')].each { |file| require_relative file }
26
26
  Dir[File.join(__dir__, 'nexmo_markdown_renderer/filters', '*.rb')].each { |file| require_relative file }
data/lib/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # :nocov:
2
2
  module Nexmo
3
3
  module Markdown
4
- VERSION = '0.0.1'
4
+ VERSION = '0.0.2'
5
5
  end
6
6
  end
7
7
  # :nocov:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexmo_markdown_renderer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nexmo
@@ -168,16 +168,16 @@ dependencies:
168
168
  name: rspec-collection_matchers
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - ">="
171
+ - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: '0'
173
+ version: 1.2.0
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - ">="
178
+ - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: '0'
180
+ version: 1.2.0
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: rspec-snapshot
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -193,19 +193,19 @@ dependencies:
193
193
  - !ruby/object:Gem::Version
194
194
  version: 0.1.2
195
195
  - !ruby/object:Gem::Dependency
196
- name: byebug
196
+ name: rake
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
- - - ">="
199
+ - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: '0'
201
+ version: '13.0'
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
- - - ">="
206
+ - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: '0'
208
+ version: '13.0'
209
209
  description: Middleware to render Markdown Documents in Nexmo Developer Platform.
210
210
  email:
211
211
  - devrel@nexmo.com
@@ -219,8 +219,6 @@ files:
219
219
  - config/dynamic_content.yml
220
220
  - config/locales/en.yml
221
221
  - lib/nexmo_markdown_renderer.rb
222
- - lib/nexmo_markdown_renderer/cli.rb
223
- - lib/nexmo_markdown_renderer/core_ext/html.rb
224
222
  - lib/nexmo_markdown_renderer/core_ext/string.rb
225
223
  - lib/nexmo_markdown_renderer/filters/anchor_filter.rb
226
224
  - lib/nexmo_markdown_renderer/filters/audio_filter.rb
@@ -1,13 +0,0 @@
1
- require "thor"
2
- require_relative "../nexmo_markdown_renderer"
3
- require_relative "./initializers/doc_finder"
4
-
5
- module Nexmo::Markdown
6
- class CLI < Thor
7
-
8
- desc "renders FILE", "passes FILE throught the pipeline and renders it as html"
9
- def render(file)
10
- puts Nexmo::Markdown::Renderer.new.call(File.read("#{ENV['DOCS_BASE_PATH']}/#{file}")).to_s
11
- end
12
- end
13
- end
@@ -1,7 +0,0 @@
1
- require 'redcarpet'
2
- require 'rouge'
3
- require 'rouge/plugins/redcarpet'
4
-
5
- class HTML < Redcarpet::Render::HTML
6
- include Rouge::Plugins::Redcarpet
7
- end