buttercms 0.2.9 → 0.3.0

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: bb18eda2631a383d48b670419c3703a79c93fafa
4
- data.tar.gz: 4d36f8fa1e79c54a44f780c51a829494d28218de
3
+ metadata.gz: d5b10147175b27beca1bc7a9c21bc7689d1e35b0
4
+ data.tar.gz: 65b4125680201c559198ba9d8ca22089c1c10c47
5
5
  SHA512:
6
- metadata.gz: aa3bcdac392c277e288d91e60b68df69387587140bd399466ba0e9505a56c5c41ba95ac41e6479a836c303f9612ff3576adbfad10b5d8d77e63859d4a69ca882
7
- data.tar.gz: aef60c4b66932df1318c42ff803e20430546c59bc3e82e14bb8225e873fdf566b25e686616fba0ff4732f1a535df965b77564f2e08c1c84acbc3356a41aeb7a2
6
+ metadata.gz: 9d73293f6a835331177585be8ade3cc5483cd511dbd38c33647de25a65c570f17125c2574adddaafe3306a202ee2c3d0f71b8e5b66e0f51fbc108f46b13178bc
7
+ data.tar.gz: a9dc4350824d9a042d9a0860ec78f07ab5f43aa6fd3592fe0469f1ab25f2313eea4f03f48896ad9b3602edb0a7209b1f85d441ed99e904abe84e65e811e623b7
@@ -1,3 +1,3 @@
1
1
  module Buttercms
2
- VERSION = "0.2.9"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -3,6 +3,21 @@ enter that post slug here: https://buttercms.com/docs/api/#!/posts/Blog_Post_re
3
3
 
4
4
  You'll get a real-time response from our API. -->
5
5
 
6
+ <!-- The Butter editor supports image alignment. When an image is left aligned, we apply a "butter-float-left" class to a div tag surrounding the image. When right aligned, we apply "butter-float-right". These are reasonable default styles you'll probably want to put into a proper .css file -->
7
+ <style type="text/css">
8
+ @media only screen and (min-width: 420px) {
9
+ .butter-float-left {
10
+ float: left;
11
+ margin: 0px 10px 10px 0px;
12
+ }
13
+
14
+ .butter-float-right {
15
+ float: right;
16
+ margin: 0px 0px 10px 10px;
17
+ }
18
+ }
19
+ </style>
20
+
6
21
 
7
22
  <!-- For maximum seo, use the 'seo_title' and 'meta_description' attributes on @post to set the <title> and <meta name="description">. Assuming you have content_for?(:head) in your main layout file you can do this: -->
8
23
  <% content_for :head do %>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buttercms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ButterCms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-29 00:00:00.000000000 Z
11
+ date: 2016-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json