cachai 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/cachai.gemspec +1 -1
  3. data/lib/cachai.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7db90ab68b6c8abf9913cb424ec9a011819fefa
4
- data.tar.gz: f203daf2a4f93e0e18448f70a5caed566b7c64d2
3
+ metadata.gz: 50e4a0cf28a5023457d6ef13943c0e414fa0b260
4
+ data.tar.gz: 28f0b3c3a87ef6a572d25ad106035c9bb8410972
5
5
  SHA512:
6
- metadata.gz: c35ab7b5ce70b04006609a2f22e23cc25be5ed746f5441376705374b18c6e4f0bccc4c357e83dda7e00f5bb4d0e7f48c696f69cfc0decd62741ce05d18827544
7
- data.tar.gz: 007033a42647ee6917285e8fc2556fc6bcd26ffbc2d23f8f8839b8336662b3ddd1e59a05b42cae44c0a943ecee9d37f8211f321bce5c7c15d3791f282c053573
6
+ metadata.gz: c58272c69f77b00efe29462e5cee098039df79aa38b3f1ec4faad4ff0898dd2f2d87690dea5da78bbfa4383bc54520d9c4294666f2d2174072e3d4836c1f14ef
7
+ data.tar.gz: 4b4540d5f5c198404f5de336cf1ba94ead68e614853514370c6bacdcaf61115ccd2489b8e450e458c0e64fe74082379a9efe417578647f29e3d663220002c53a
data/cachai.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "cachai"
7
- spec.version = '0.1.1'
7
+ spec.version = '0.1.2'
8
8
  spec.authors = ["Tomás Pollak"]
9
9
  spec.email = ["tomas@forkhq.com"]
10
10
  spec.description = %q{Middleware for embedabble comments.}
data/lib/cachai.rb CHANGED
@@ -88,7 +88,7 @@ module Cachai
88
88
  post = Post.find_or_create_by_path(data['path'])
89
89
  response = Response.create!(attrs.merge(:post_id => post.id))
90
90
  Cachai.clear_cache(data['path'])
91
- notify_new_response(response, data['path'])
91
+ notify_new_response(response, data['path']) if @sendgrid
92
92
 
93
93
  json({ :status => 'ok', :comment => response })
94
94
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cachai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomás Pollak