phrasing 3.0.3 → 3.0.4

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: baa143607492237eb3dccf3aa4f22c2df8e55c45
4
- data.tar.gz: 1b91207699a64ac6b6a9fce916a2f272a3f4a805
3
+ metadata.gz: 2698d56a19db8b81f308afa938f0a1e7cc7af4cc
4
+ data.tar.gz: c4ac5317b2d1c5e156d85c7258c581383b2a3c59
5
5
  SHA512:
6
- metadata.gz: 04080f30df8471ada47a091d74c6b0b038c9dbfd0be4bc14923818b2930426cb12492864621a473bf4d41a24d56b9b8732d1361f6579bc5847d37582c715eec8
7
- data.tar.gz: d886a8b7c7ea60cd6719e1f19bf11e01a369496586ab9e80aecade497aaab938d830a4f0175e778b6f0b64f7dc1053573b42a021f4e1f9fa78b6f3d666e08bb8
6
+ metadata.gz: 1a622c18735bf5f33097ec71d564f5b2abf03bac7b428905fb201ae169e0d573b3c39f3e424c9ac186cf0bbc3c1c8b0556fca81201d6530a656874198402c40c
7
+ data.tar.gz: 7ce4fbed341ffcf56085eea010ff3c68df673eafd56afc8f96b870e7e6b1d8f706b2bc2240410958a4cfa34c1fefa3fc23ce66b48aa5cb4feaf570360cc1f09b
data/README.md CHANGED
@@ -72,7 +72,7 @@ In the above example, <tt>@post</tt> is the record with a <tt>title</tt> attribu
72
72
 
73
73
  Since Phrasing can be used to update any attribute in any table (using the model_phrase method), special care must be taken into consideration from a security standpoint.
74
74
 
75
- By default, Phrasing doesn't allow updating of any attribute apart from <<t>PhrasingPhrase.value</tt>. To be able to work with other attributes, you need to whitelist them.
75
+ By default, Phrasing doesn't allow updating of any attribute apart from <tt>PhrasingPhrase.value</tt>. To be able to work with other attributes, you need to whitelist them.
76
76
 
77
77
  In the <tt>config/initializers/phrasing.rb</tt> file you can whitelist your model attributes like this:
78
78
 
@@ -21,6 +21,10 @@
21
21
  color:white;
22
22
  font-weight: bold;
23
23
  }
24
+
25
+ p{
26
+ margin: 0 0 10px;
27
+ }
24
28
 
25
29
  // On/Off Switch
26
30
  .onoffswitch {
data/lib/phrasing.rb CHANGED
@@ -3,6 +3,7 @@ require "phrasing/implementation"
3
3
  require "phrasing/simple"
4
4
  require 'jquery-rails'
5
5
  require 'jquery-cookie-rails'
6
+ require 'haml-rails'
6
7
 
7
8
  module Phrasing
8
9
  module Rails
@@ -1,3 +1,3 @@
1
1
  module Phrasing
2
- VERSION = "3.0.3"
2
+ VERSION = "3.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phrasing
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomislav Car
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-20 00:00:00.000000000 Z
12
+ date: 2013-11-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails