keynote-client 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: 199382e0930b6b78573c3991566bd4486beef77a
4
- data.tar.gz: 8cf1d0be8b19e9725a9e4612c28e90d5dff92260
3
+ metadata.gz: cfaa12b5f307472074fcc60d5e2a330bdf6fcf13
4
+ data.tar.gz: 5ca99f47532d3e67991094d08e3af33f1199715d
5
5
  SHA512:
6
- metadata.gz: 57f4e0440b614ae1faca604b5e1b0be7ade18cdcfabaabf21cdc0f60295a96bc6ed31f6a299f7ec45bd94ab5e66389a3e7545da97fc7d8de6e2282916a199915
7
- data.tar.gz: 06552907f222c935ff961cf44eb2051826b6fe7f0ac993fe10128e3943fc44a627e4170f9aff686e7aff8c7ab681a76d2f30298b73211d6a3eb724156056d97f
6
+ metadata.gz: 15ddfbbd78cd5b0a84eab6b0345748a7b3479333731321566df2ec0ea17842a0fdad29ba7b72f75cb2a4b6ba1bad66fef63dc161a0780cbd51786feda459df06
7
+ data.tar.gz: 197ce7995e427743efe033a8843e094ec4932e87a1ad802a62981bdd86eef7df38104d7e7f5a69aa9c0f0f96a55ffe0970c2ff34ff1f9e1b48a210f127a9987e
data/README.md CHANGED
@@ -34,7 +34,7 @@ $ gem install keynote-client
34
34
 
35
35
  ```ruby
36
36
  require 'keynote-client'
37
- inlude Keynote
37
+ include Keynote
38
38
 
39
39
  # Fetch all themes
40
40
  themes = Theme.all
@@ -63,7 +63,8 @@ slide.body = "Hello, pen."
63
63
  ```
64
64
 
65
65
  ## Supported OS
66
- - OSX Mavericks
66
+ - OS X El Capitan
67
+ - OS X Mavericks
67
68
 
68
69
 
69
70
  ## License
@@ -136,6 +136,7 @@ module Keynote
136
136
  theme = arguments[:theme] || Theme.default
137
137
  width = arguments[:wide] ? WIDE_WIDTH : DEFAULT_WIDTH
138
138
  height = arguments[:wide] ? WIDE_HEIGHT : DEFAULT_HEIGHT
139
+ file_path = arguments[:file_path]
139
140
 
140
141
  result = eval_script <<-APPLE.unindent
141
142
  var Keynote = Application("Keynote")
@@ -145,7 +146,7 @@ module Keynote
145
146
  JSON.stringify(doc.properties());
146
147
  APPLE
147
148
 
148
- self.new(symbolize_keys(result).merge(theme: theme, width: width, height: height))
149
+ self.new(symbolize_keys(result).merge(theme: theme, width: width, height: height, file_path: file_path))
149
150
  end
150
151
 
151
152
  def self.all
@@ -1,5 +1,5 @@
1
1
  module Keynote
2
2
  module Client
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keynote-client
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
  - ryo katsuma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-22 00:00:00.000000000 Z
11
+ date: 2015-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler