kramdown-prismic 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: 6b30034b89cbc5bbfe5613435382d48f332000ac
4
- data.tar.gz: d546c799b441b0c7802221f668da8b573d48f9be
3
+ metadata.gz: 784c5db25b65fde0e92c1bc62bdd66449c0146b8
4
+ data.tar.gz: 37059d2067f4a37515281b650fb93b040578b0fd
5
5
  SHA512:
6
- metadata.gz: 31b0d991eb6a2dedb3b7ad156bdf0782437fe59049b4a5444ec48f4fb269504d203ed5fcfdc79e8c77eaef73462dff4e9e85ad4f5abaf03fd84848a5f2adc012
7
- data.tar.gz: 56cb4219036f891f893dc12e1ec1e98d0bb1f80bee1ae7168c8b780644e049273f894e278cb6771f76ec327fd0b5797b5a6dc2f72c46dbec776972e30d79cf2d
6
+ metadata.gz: b8e0c03b2c032fa205ccc69dca3e30bf0ee64d2d656631aceb9c10a360fbc89eddfebe6535c2b005bb08c30f58ef42eadc36e3a145e0d79ba76e09da28fe9a18
7
+ data.tar.gz: 2dc64bc2e5efa943c9c286c7b9f8bc56dae50f98ff2371b68a890fbf98d03a703305273d9e16b88f194032691f23e13f1e6133aa8acd5014b8c94f15c5e3b5ca
data/.travis.yml ADDED
@@ -0,0 +1,6 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2
4
+ - 2.3
5
+ - 2.4
6
+ script: bundle exec rake test
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kramdown-prismic (0.1.0)
4
+ kramdown-prismic (0.1.1)
5
5
  kramdown (~> 1.0)
6
6
 
7
7
  GEM
@@ -1,3 +1,3 @@
1
1
  module KramdownPrismic
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -114,7 +114,9 @@ module Kramdown
114
114
  spans: []
115
115
  },
116
116
  data: {
117
- url: element.attr["src"],
117
+ origin: {
118
+ url: element.attr["src"]
119
+ },
118
120
  alt: element.attr["alt"]
119
121
  }
120
122
  }
@@ -323,7 +323,9 @@ class KramdownPrismicTest < Minitest::Test
323
323
  spans: []
324
324
  },
325
325
  data: {
326
- url: '/img.png',
326
+ origin: {
327
+ url: '/img.png'
328
+ },
327
329
  alt: 'alt text'
328
330
  }
329
331
  }
@@ -350,7 +352,9 @@ class KramdownPrismicTest < Minitest::Test
350
352
  spans: []
351
353
  },
352
354
  data: {
353
- url: '/img.png',
355
+ origin: {
356
+ url: '/img.png'
357
+ },
354
358
  alt: ''
355
359
  }
356
360
  },
@@ -361,7 +365,9 @@ class KramdownPrismicTest < Minitest::Test
361
365
  spans: []
362
366
  },
363
367
  data: {
364
- url: '/img2.png',
368
+ origin: {
369
+ url: '/img2.png'
370
+ },
365
371
  alt: ''
366
372
  }
367
373
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kramdown-prismic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - François de Metz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-30 00:00:00.000000000 Z
11
+ date: 2017-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kramdown
@@ -59,6 +59,7 @@ extensions: []
59
59
  extra_rdoc_files: []
60
60
  files:
61
61
  - ".gitignore"
62
+ - ".travis.yml"
62
63
  - Gemfile
63
64
  - Gemfile.lock
64
65
  - LICENSE