shutterbug 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![Build Status](https://travis-ci.org/concord-consortium/shutterbug.png?branch=master)](https://travis-ci.org/concord-consortium/shutterbug)
4
4
  [![Code Climate](https://codeclimate.com/github/concord-consortium/shutterbug.png)](https://codeclimate.com/github/concord-consortium/shutterbug)
5
5
 
6
- A rack utility that will create and save images (pngs) from parts of your html's documents current dom. These images become available as public png resources in the rack application. Currently shutterbug supports HTML, SVG and Canvas elements. Here is a sampel config.ru file:
6
+ A rack utility using phantomjs that will create and save images (pngs) from parts of your html's documents current dom. These images become available as public png resources in the rack application. Currently shutterbug supports HTML, SVG and Canvas elements. Here is a sampel config.ru file:
7
7
 
8
8
 
9
9
  use Shutterbug::Rackapp do |config|
@@ -107,4 +107,4 @@ And a Procfile which looks like this:
107
107
  4. Push to the branch (`git push origin my-new-feature`)
108
108
  5. Create new Pull Request
109
109
 
110
- © 2013 The concord Consortium.
110
+ © 2013 The concord Consortium.
data/lib/shutterbug.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Shutterbug
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  autoload :Service, "shutterbug/service"
4
4
  autoload :Rackapp, "shutterbug/rackapp"
5
5
  autoload :Configuration, "shutterbug/configuration"
@@ -138,8 +138,11 @@
138
138
  }
139
139
  }
140
140
  };
141
- window.addEventListener('message', htmlFragRequestListen, false);
142
- window.addEventListener('message', htmlFragResponseListen, false);
141
+
142
+ $(document).ready(function () {
143
+ window.addEventListener('message', htmlFragRequestListen, false);
144
+ window.addEventListener('message', htmlFragResponseListen, false);
145
+ });
143
146
  return shutterbugInstance;
144
147
  };
145
148
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shutterbug
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-11 00:00:00.000000000 Z
12
+ date: 2013-07-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -162,7 +162,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
162
162
  version: '0'
163
163
  segments:
164
164
  - 0
165
- hash: 3398938628645740701
165
+ hash: 2070433213852297661
166
166
  required_rubygems_version: !ruby/object:Gem::Requirement
167
167
  none: false
168
168
  requirements:
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
171
  version: '0'
172
172
  segments:
173
173
  - 0
174
- hash: 3398938628645740701
174
+ hash: 2070433213852297661
175
175
  requirements: []
176
176
  rubyforge_project:
177
177
  rubygems_version: 1.8.23