widget_bundler 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTY1YjdjMWUzYjZlZTJiYjUwYTEzODFhNmU5NjZhYmExZDc4MjYxMw==
4
+ MDdjMWU3YzY3ZWY5MzE1YmMwNmNjZjdiYzU1MDE2MjMzZGQ5NzMxNw==
5
5
  data.tar.gz: !binary |-
6
- MmExOGNlMTI2N2I0NTYzZGI1ZTIyNjE1MTRmODU3YmVkMGM2M2QxNg==
6
+ N2Q0NzZjYWYwNWEwNDViNmM3NzNkN2ExYzM1YmExNTZiMzU2N2UwNQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZWUyYjA5ZTk5MTRhNTlmNzcwYmM2NmUzZjU2MjdhZDFkODAxMzk2ZTNiNGU1
10
- OWIwNTYwOTViZTU0NWEwMjRlYmFkMmE1N2YwNmI3NDJhNjRhNzI5YzdmMjM2
11
- OGVmOTQ3ZWYzMGZjNWM1ZWJiYjQwNmQ4N2FlNjBmYmUwZDczOTc=
9
+ NmNjN2I2NjE5MGZhNzYxNzk4NjNlY2I1YTE0NzZlZDg4MTM5MjgxNjliM2Zi
10
+ YjEwYmQ4MTk2YjRkNWY2MzI2MmQ0OTFmNGE5MDg0YTM4ZDJmOTc5ZGRlNWZi
11
+ Y2NiMjExMWQ1ZjE2ZTdlNDA2ZWE1NTMyZmM3MTM1ZDgwNmZhNTY=
12
12
  data.tar.gz: !binary |-
13
- NzM2YmI3NzQzMTM3MmI1Y2M4YTgxN2Y3MDU5NDIzYzUwMDU5ZGJjZDZiZWIy
14
- YWExNWNmNWEzOTJmZDE2MjgyYTFkMGMwNGI2YTE2ZTI5YjYxYmNkMTEzMGVk
15
- MGIyMzI4NmVmMjU3ZWM0Y2FjOGNkODgzNDllYTQzZTYyNjY5ODE=
13
+ NjBmMTZjMzdjNzYzMzQ1Zjg5ZWViZWEyN2E3ZTY5MDBjNThjNTM5YjM5NTA3
14
+ OWJiOTI3OThjYTk4ZmUzOGRjYTM0ZmI4ZDk5OWMxZWFhNDFhN2U1MGEzOTFj
15
+ ZmIwYjFlMTExYmViODk2ZWIyMzljMDk4ZTE5MTZlMTJiMmI5ZmY=
@@ -2,7 +2,7 @@
2
2
  # Class for packaging set of html, javascript, image and stylesheet files into a widget for an iBook
3
3
  # => accepts an array of images, stylesheets and javascripts as full paths
4
4
  # => images should be paperclip .url method path (gem assumes "#{Rails.root}/public" path for images)
5
- # => acceps main haml file as string (fullpath)
5
+ # => acceps main haml file as a string
6
6
  #
7
7
  require 'active_model'
8
8
  require 'plist'
@@ -59,8 +59,8 @@ class WidgetBundle
59
59
  File.open("#{path}/Info.plist", "w") { |file| file.write(plist_content(display_name, bundle_identifier, bundle_name)) }
60
60
 
61
61
  # create main.html
62
- compiled_haml = `haml #{haml}`
63
- File.open("#{path}/main.html", "w") { |file| file.write( compiled_haml ) }
62
+ # compiled_haml = `haml #{haml}`
63
+ File.open("#{path}/main.html", "w") { |file| file.write( haml ) }
64
64
 
65
65
  # compress the *.wdgt folder and return the full path to the zip archive
66
66
  compress(path)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: widget_bundler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Franken