quill-rails 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  module Quill
2
2
  module Rails
3
- VERSION = '0.1.3'
4
- QUILL_VERSION = '0.13.4'
3
+ VERSION = '0.1.4'
4
+ QUILL_VERSION = '0.15.1'
5
5
  end
6
6
  end
@@ -12,8 +12,9 @@ module Quill
12
12
  mod_options = { name: 'quill-value', id: 'quill-value' }.merge options
13
13
  @input_name = (name || mod_options[:name])
14
14
  @input_id = (name || mod_options[:id])
15
+ @value = mod_options[:value].present? ? mod_options[:value] : ""
15
16
  ERB.new(File.read(File.join(source_root, 'template.html.erb'))).result(binding).html_safe
16
17
  end
17
18
  end
18
19
  end
19
- end
20
+ end
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quill-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Robert Wiegmann
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-05-21 00:00:00.000000000 Z
12
+ date: 2014-07-06 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: railties
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ! '>='
18
20
  - !ruby/object:Gem::Version
@@ -23,6 +25,7 @@ dependencies:
23
25
  type: :runtime
24
26
  prerelease: false
25
27
  version_requirements: !ruby/object:Gem::Requirement
28
+ none: false
26
29
  requirements:
27
30
  - - ! '>='
28
31
  - !ruby/object:Gem::Version
@@ -33,6 +36,7 @@ dependencies:
33
36
  - !ruby/object:Gem::Dependency
34
37
  name: rails
35
38
  requirement: !ruby/object:Gem::Requirement
39
+ none: false
36
40
  requirements:
37
41
  - - ! '>='
38
42
  - !ruby/object:Gem::Version
@@ -40,6 +44,7 @@ dependencies:
40
44
  type: :development
41
45
  prerelease: false
42
46
  version_requirements: !ruby/object:Gem::Requirement
47
+ none: false
43
48
  requirements:
44
49
  - - ! '>='
45
50
  - !ruby/object:Gem::Version
@@ -47,6 +52,7 @@ dependencies:
47
52
  - !ruby/object:Gem::Dependency
48
53
  name: jquery-rails
49
54
  requirement: !ruby/object:Gem::Requirement
55
+ none: false
50
56
  requirements:
51
57
  - - ! '>='
52
58
  - !ruby/object:Gem::Version
@@ -54,6 +60,7 @@ dependencies:
54
60
  type: :development
55
61
  prerelease: false
56
62
  version_requirements: !ruby/object:Gem::Requirement
63
+ none: false
57
64
  requirements:
58
65
  - - ! '>='
59
66
  - !ruby/object:Gem::Version
@@ -61,6 +68,7 @@ dependencies:
61
68
  - !ruby/object:Gem::Dependency
62
69
  name: coffee-rails
63
70
  requirement: !ruby/object:Gem::Requirement
71
+ none: false
64
72
  requirements:
65
73
  - - ! '>='
66
74
  - !ruby/object:Gem::Version
@@ -68,6 +76,7 @@ dependencies:
68
76
  type: :development
69
77
  prerelease: false
70
78
  version_requirements: !ruby/object:Gem::Requirement
79
+ none: false
71
80
  requirements:
72
81
  - - ! '>='
73
82
  - !ruby/object:Gem::Version
@@ -75,6 +84,7 @@ dependencies:
75
84
  - !ruby/object:Gem::Dependency
76
85
  name: sqlite3
77
86
  requirement: !ruby/object:Gem::Requirement
87
+ none: false
78
88
  requirements:
79
89
  - - ! '>='
80
90
  - !ruby/object:Gem::Version
@@ -82,6 +92,7 @@ dependencies:
82
92
  type: :development
83
93
  prerelease: false
84
94
  version_requirements: !ruby/object:Gem::Requirement
95
+ none: false
85
96
  requirements:
86
97
  - - ! '>='
87
98
  - !ruby/object:Gem::Version
@@ -94,41 +105,42 @@ executables: []
94
105
  extensions: []
95
106
  extra_rdoc_files: []
96
107
  files:
97
- - Gemfile
98
- - LICENSE
99
- - README.md
100
108
  - app/assets/javascripts/quill.js
101
109
  - app/assets/stylesheets/quill.snow.css
102
- - lib/quill-rails.rb
103
- - lib/quill/rails.rb
104
110
  - lib/quill/rails/configuration.rb
105
111
  - lib/quill/rails/engine.rb
106
112
  - lib/quill/rails/templates/template.html.erb
107
113
  - lib/quill/rails/version.rb
108
114
  - lib/quill/rails/view_helpers.rb
115
+ - lib/quill/rails.rb
116
+ - lib/quill-rails.rb
117
+ - LICENSE
118
+ - Gemfile
119
+ - README.md
109
120
  homepage: https://github.com/the-robear/quill-rails
110
121
  licenses:
111
122
  - BSD 3 Clause
112
123
  - Copyright (c) 2013, salesforce.com
113
- metadata: {}
114
124
  post_install_message:
115
125
  rdoc_options: []
116
126
  require_paths:
117
127
  - lib
118
128
  required_ruby_version: !ruby/object:Gem::Requirement
129
+ none: false
119
130
  requirements:
120
131
  - - ! '>='
121
132
  - !ruby/object:Gem::Version
122
133
  version: '0'
123
134
  required_rubygems_version: !ruby/object:Gem::Requirement
135
+ none: false
124
136
  requirements:
125
137
  - - ! '>='
126
138
  - !ruby/object:Gem::Version
127
139
  version: '0'
128
140
  requirements: []
129
141
  rubyforge_project:
130
- rubygems_version: 2.2.2
142
+ rubygems_version: 1.8.24
131
143
  signing_key:
132
- specification_version: 4
144
+ specification_version: 3
133
145
  summary: Quill.js for Rails 3.1/4.0
134
146
  test_files: []
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- OGY1NGQwZTM5ZGIyOGU2YzA4OGY2OTU1ZTIwOTFiODhlNDM4MjM4Mw==
5
- data.tar.gz: !binary |-
6
- YzlhOTZhNDk0NDNiYzQyYzc1YzMyM2QwZTUwNjAzMzBjNTYwNTAzYg==
7
- SHA512:
8
- metadata.gz: !binary |-
9
- YjBmNmViYWI4ZmQwNzllY2RmMDkwMjczYzc1MDQzNWJhOWQ4YjhiNDRhNGE1
10
- YjYyZTNkOTA1MzE3YWI0YTJkMTRlYjVkOWEyM2RjNzFkMTdhMmY2M2MyZjNi
11
- NGE1N2IzZDg0YTI3NmUyMGE3YTUwZGRjMDBiYzFiNWZiYjAxOWY=
12
- data.tar.gz: !binary |-
13
- NjM2NWQ1YWY4YjMzOWFkOTAzNThlYzRiOTA4MDY0ZDYxNzYwYmZhOTExZGY1
14
- Njc4MDUzODA0ZGE5NzRkODZjMTkwNzA4NTg1YTNhYTE3YWNlM2Q4YWI2Zjhl
15
- YzAzZjA5MjVmY2RlNWMzY2Y1YmM1Yzc1NDE5ZjE3OWEwOWU0OTA=