ruby_powerpoint 1.0.3 → 1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b4af53e4c22fe4a2b59600737efc078741f014de
4
- data.tar.gz: 1175183988e0224d6409cdbc9dc944a2885a21b2
3
+ metadata.gz: bbe73641d400cad7d34d38df587d69d9e1b9b88a
4
+ data.tar.gz: aecce478e9035955dfa28b1eb29ae2820ee3ab2f
5
5
  SHA512:
6
- metadata.gz: a896c0b5b334e38f1d68d47c5e1efadff04586840d25c5f5931c8eea3c3cced231c919d6a2e8da8ebda76a456a345a6dcd026f38493aafdb33a2a69cc78b1faf
7
- data.tar.gz: 30d71c88a38310e000fcb21d7098f729d44c36e30b71e6a9b89de1e8f19aa354412ca73be3850c4c41ba7995ffa744944c19155d9afbef64f2dacd1cd9dd2629
6
+ metadata.gz: 25226cceb297a612a2de56afbf1052496053a83e4be02a8e2c94aefc2fa9afc474c39b2dbce7764ef4f9c497d3bf5dc86fa636ac71bccacdc2b2b09911a5abfd
7
+ data.tar.gz: 2fe1972c306d877792503a21c8385ed7f79da2bf50e669ba82ecd3c825d4dd38b3c04609d8ccf6cb4f28e23b492ac873720c5fbe62ac82afea999a4bd270c0ed
data/README.rdoc CHANGED
@@ -18,9 +18,12 @@ To use it in Rails, add this line to your Gemfile:
18
18
  RubyPowerpoint can simply parse a PowerPoint file(pptx) by extractng text from each slide:
19
19
 
20
20
  require 'ruby_powerpoint'
21
+
21
22
  deck = RubyPowerpoint::Presentation.new "specs/fixtures/sample.pptx"
23
+
22
24
  deck.slides.each do |slide|
23
- puts slide.content # => ["Prsentation Header", "Presentation Notes...", "12"]
25
+ slide.content # => ["Prsentation Header", "Presentation Notes...", "12"]
26
+ slide.title # => "Prsentation Header"
24
27
  end
25
28
 
26
29
 
@@ -1,3 +1,3 @@
1
1
  module RubyPowerpoint
2
- VERSION = "1.0.3"
2
+ VERSION = "1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_powerpoint
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: '1.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - pythonicrubyist