inline_forms 1.6.35 → 1.6.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MzU3YTZkNzc1OWZkYzEwMTk4OWE0YzFlOWZlZWE1NzNlMTliZTI3Nw==
4
+ ODU0NDY3YjdhMjlmNzEyNGMxYWJkY2I1N2JlNTEwYWQ3ODM4Njk1OA==
5
5
  data.tar.gz: !binary |-
6
- NWE4ZmQ4ZGM4NWVmNjc3Njk1M2NiZjU5NzRiOTVmYmFkNzc0YTZkMQ==
7
- !binary "U0hBNTEy":
6
+ M2IwMzdlNDkwOTEwOGIyOWY0OGQyZGNmNTlhNTRhZmFkZTIxNDJhMQ==
7
+ SHA512:
8
8
  metadata.gz: !binary |-
9
- ZWI5N2ZlNTU1Y2U3Mjc5Yjc3MDkzMmIzMTNiMzNiOWM0YmZlN2ViNjg5NGQz
10
- ODQyZjk5ZmVmNWYyZDc1OTJlMDZiMzExYTU3NzkwYTU1M2EwZWFmZmY4MzA2
11
- ZDg5MGMyYmY4YWE3NTYyODEwOWU5ZGM0YWNkM2FlN2NiYmFjOWE=
9
+ NzYwMjllYzhjMTU5MGJhNDI5NTA3ZWIzZDk3ZTY0MTZjYzRjOTFjZGZjMmZj
10
+ NzhlOTU5Yjc5ZjI3Mjg1N2EzZGY2ZGY5OTIwZjdlYTM0ODA1ZDlmNWVjMzg5
11
+ OTcxZGRmNzMyYTRlMmI5ZmExYTk4ZjJjMzMyOGM2Mjc0NmU0ZTY=
12
12
  data.tar.gz: !binary |-
13
- N2ZjNjQ4ZWZjZGNjNzgxYTQxOGUwYjU4M2FiZmI0MzZlNjE3NTE4YmQ3NmNi
14
- YTA1OGQ2ZGFiZWNhMjAwZjM0NTUwMGYxOGViOWEwYzM4Y2YxNjZmNGQzOWVl
15
- YWQ4NDZlYTg3MWM3MWZjMWFiYmNiODlkNzNmZWM4YjEwOTZlYzQ=
13
+ YjA2ZmFlZmIyMmE2YTFkZGExZTY3ZjkwMzQ2ZTQzMzk0OGY3ZTE4Y2I3OTIy
14
+ OWEzYTFlNDkzZDU3OTQwNDljNDVkYTcyNTgwMzQ0OTA1N2RiYjRjOGM2ZTAy
15
+ ZWVmMGRiOTYwYmI2Y2VhZGNhNzA1MDlkODRjYmM4NzJjNDE4ZWM=
data/.gitignore CHANGED
@@ -43,5 +43,5 @@ pkg
43
43
  .project
44
44
  .ruby-version
45
45
  .ruby-gemset
46
- .gitignore~
46
+ .gitignore
47
47
  bin/LETOVER
data/Gemfile CHANGED
@@ -1,3 +1,3 @@
1
- source "http://www.rubygems.org"
1
+ source "http://rubygems.org"
2
2
 
3
3
  gemspec
data/Gemfile.lock CHANGED
@@ -1,101 +1,88 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- inline_forms (1.6.35)
5
- rails (= 3.2.12)
6
- rails-i18n (~> 3.0.0)
7
- rvm
8
- thor
9
- validation_hints
4
+ inline_forms (1.3.6)
10
5
 
11
6
  GEM
12
- remote: http://www.rubygems.org/
7
+ remote: http://rubygems.org/
13
8
  specs:
14
- actionmailer (3.2.12)
15
- actionpack (= 3.2.12)
16
- mail (~> 2.4.4)
17
- actionpack (3.2.12)
18
- activemodel (= 3.2.12)
19
- activesupport (= 3.2.12)
9
+ actionpack (3.1.1)
10
+ activemodel (= 3.1.1)
11
+ activesupport (= 3.1.1)
20
12
  builder (~> 3.0.0)
21
13
  erubis (~> 2.7.0)
22
- journey (~> 1.0.4)
23
- rack (~> 1.4.5)
24
- rack-cache (~> 1.2)
14
+ i18n (~> 0.6)
15
+ rack (~> 1.3.2)
16
+ rack-cache (~> 1.1)
17
+ rack-mount (~> 0.8.2)
25
18
  rack-test (~> 0.6.1)
26
- sprockets (~> 2.2.1)
27
- activemodel (3.2.12)
28
- activesupport (= 3.2.12)
19
+ sprockets (~> 2.0.2)
20
+ activemodel (3.1.1)
21
+ activesupport (= 3.1.1)
29
22
  builder (~> 3.0.0)
30
- activerecord (3.2.12)
31
- activemodel (= 3.2.12)
32
- activesupport (= 3.2.12)
33
- arel (~> 3.0.2)
34
- tzinfo (~> 0.3.29)
35
- activeresource (3.2.12)
36
- activemodel (= 3.2.12)
37
- activesupport (= 3.2.12)
38
- activesupport (3.2.12)
39
23
  i18n (~> 0.6)
24
+ activesupport (3.1.1)
40
25
  multi_json (~> 1.0)
41
- arel (3.0.3)
42
- builder (3.0.4)
26
+ builder (3.0.0)
27
+ diff-lcs (1.1.3)
43
28
  erubis (2.7.0)
44
- hike (1.2.3)
45
- i18n (0.6.9)
46
- journey (1.0.4)
47
- json (1.8.1)
48
- mail (2.4.4)
49
- i18n (>= 0.4.0)
50
- mime-types (~> 1.16)
51
- treetop (~> 1.4.8)
52
- mime-types (1.25.1)
53
- multi_json (1.8.2)
54
- polyglot (0.3.3)
55
- rack (1.4.5)
56
- rack-cache (1.2)
29
+ git (1.2.5)
30
+ hike (1.2.1)
31
+ i18n (0.6.0)
32
+ jeweler (1.5.2)
33
+ bundler (~> 1.0.0)
34
+ git (>= 1.2.5)
35
+ rake
36
+ json (1.6.1)
37
+ multi_json (1.0.3)
38
+ rack (1.3.4)
39
+ rack-cache (1.1)
57
40
  rack (>= 0.4)
58
- rack-ssl (1.3.3)
41
+ rack-mount (0.8.3)
42
+ rack (>= 1.0.0)
43
+ rack-ssl (1.3.2)
59
44
  rack
60
- rack-test (0.6.2)
45
+ rack-test (0.6.1)
61
46
  rack (>= 1.0)
62
- rails (3.2.12)
63
- actionmailer (= 3.2.12)
64
- actionpack (= 3.2.12)
65
- activerecord (= 3.2.12)
66
- activeresource (= 3.2.12)
67
- activesupport (= 3.2.12)
68
- bundler (~> 1.0)
69
- railties (= 3.2.12)
70
- rails-i18n (3.0.0)
71
- i18n (~> 0.5)
72
- rails (>= 3.0.0, < 4.0.0)
73
- railties (3.2.12)
74
- actionpack (= 3.2.12)
75
- activesupport (= 3.2.12)
47
+ railties (3.1.1)
48
+ actionpack (= 3.1.1)
49
+ activesupport (= 3.1.1)
76
50
  rack-ssl (~> 1.3.2)
77
51
  rake (>= 0.8.7)
78
52
  rdoc (~> 3.4)
79
- thor (>= 0.14.6, < 2.0)
80
- rake (10.1.0)
81
- rdoc (3.12.2)
53
+ thor (~> 0.14.6)
54
+ rake (0.9.2)
55
+ rcov (0.9.10)
56
+ rdoc (3.10)
82
57
  json (~> 1.4)
83
- rvm (1.11.3.8)
84
- sprockets (2.2.2)
58
+ rspec (2.6.0)
59
+ rspec-core (~> 2.6.0)
60
+ rspec-expectations (~> 2.6.0)
61
+ rspec-mocks (~> 2.6.0)
62
+ rspec-core (2.6.4)
63
+ rspec-expectations (2.6.0)
64
+ diff-lcs (~> 1.1.2)
65
+ rspec-mocks (2.6.0)
66
+ rspec-rails (2.6.1)
67
+ actionpack (~> 3.0)
68
+ activesupport (~> 3.0)
69
+ railties (~> 3.0)
70
+ rspec (~> 2.6.0)
71
+ shoulda (2.11.3)
72
+ sprockets (2.0.2)
85
73
  hike (~> 1.2)
86
- multi_json (~> 1.0)
87
74
  rack (~> 1.0)
88
75
  tilt (~> 1.1, != 1.3.0)
89
- thor (0.18.1)
90
- tilt (1.4.1)
91
- treetop (1.4.15)
92
- polyglot
93
- polyglot (>= 0.3.1)
94
- tzinfo (0.3.38)
95
- validation_hints (0.2.0)
76
+ thor (0.14.6)
77
+ tilt (1.3.3)
96
78
 
97
79
  PLATFORMS
98
80
  ruby
99
81
 
100
82
  DEPENDENCIES
83
+ bundler (~> 1.0.0)
101
84
  inline_forms!
85
+ jeweler (~> 1.5.2)
86
+ rcov
87
+ rspec-rails
88
+ shoulda
File without changes
data/inline_forms.gemspec CHANGED
@@ -26,11 +26,11 @@ Gem::Specification.new do |s|
26
26
  s.add_dependency('rails', '3.2.12')
27
27
  s.add_dependency('rails-i18n', '~> 3.0.0')
28
28
 
29
- # s.add_development_dependency(%q<rspec-rails>)
30
- # s.add_development_dependency(%q<shoulda>)
31
- # s.add_development_dependency(%q<bundler>)
32
- # s.add_development_dependency(%q<jeweler>)
33
- # s.add_development_dependency(%q<rcov>)
29
+ s.add_development_dependency(%q<rspec-rails>, [">= 0"])
30
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
31
+ s.add_development_dependency(%q<bundler>, ["~> 1.3.5"])
32
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
33
+ s.add_development_dependency(%q<rcov>, [">= 0"])
34
34
 
35
35
  end
36
36
 
@@ -5,52 +5,54 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
5
5
 
6
6
  CKEDITOR.editorConfig = function( config )
7
7
  {
8
- // Define changes to default configuration here. For example:
9
- // config.language = 'fr';
10
- // config.uiColor = '#AADC6E';
8
+ // Define changes to default configuration here. For example:
9
+ // config.language = 'fr';
10
+ // config.uiColor = '#AADC6E';
11
11
 
12
- /* Filebrowser routes */
13
- // The location of an external file browser, that should be launched when "Browse Server" button is pressed.
14
- config.filebrowserBrowseUrl = "/ckeditor/attachment_files";
12
+ /* Filebrowser routes */
13
+ // The location of an external file browser, that should be launched when "Browse Server" button is pressed.
14
+ config.filebrowserBrowseUrl = "/ckeditor/attachment_files";
15
15
 
16
- // The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Flash dialog.
17
- config.filebrowserFlashBrowseUrl = "/ckeditor/attachment_files";
16
+ // The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Flash dialog.
17
+ config.filebrowserFlashBrowseUrl = "/ckeditor/attachment_files";
18
18
 
19
- // The location of a script that handles file uploads in the Flash dialog.
20
- config.filebrowserFlashUploadUrl = "/ckeditor/attachment_files";
19
+ // The location of a script that handles file uploads in the Flash dialog.
20
+ config.filebrowserFlashUploadUrl = "/ckeditor/attachment_files";
21
21
 
22
- // The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Link tab of Image dialog.
23
- config.filebrowserImageBrowseLinkUrl = "/ckeditor/pictures";
22
+ // The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Link tab of Image dialog.
23
+ config.filebrowserImageBrowseLinkUrl = "/ckeditor/pictures";
24
24
 
25
- // The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Image dialog.
26
- config.filebrowserImageBrowseUrl = "/ckeditor/pictures";
25
+ // The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Image dialog.
26
+ config.filebrowserImageBrowseUrl = "/ckeditor/pictures";
27
27
 
28
- // The location of a script that handles file uploads in the Image dialog.
29
- config.filebrowserImageUploadUrl = "/ckeditor/pictures";
28
+ // The location of a script that handles file uploads in the Image dialog.
29
+ config.filebrowserImageUploadUrl = "/ckeditor/pictures";
30
30
 
31
- // The location of a script that handles file uploads.
32
- config.filebrowserUploadUrl = "/ckeditor/attachment_files";
31
+ // The location of a script that handles file uploads.
32
+ config.filebrowserUploadUrl = "/ckeditor/attachment_files";
33
33
 
34
- // Rails CSRF token
35
- config.filebrowserParams = function(){
36
- var csrf_token = $('meta[name=csrf-token]').attr('content'),
34
+ // Rails CSRF token
35
+ config.filebrowserParams = function(){
36
+ var csrf_token = $('meta[name=csrf-token]').attr('content'),
37
37
  csrf_param = $('meta[name=csrf-param]').attr('content'),
38
38
  params = new Object();
39
39
 
40
- if (csrf_param !== undefined && csrf_token !== undefined) {
41
- params[csrf_param] = csrf_token;
42
- }
40
+ if (csrf_param !== undefined && csrf_token !== undefined) {
41
+ params[csrf_param] = csrf_token;
42
+ }
43
43
 
44
- return params;
45
- };
44
+ return params;
45
+ };
46
46
 
47
- /* Extra plugins */
48
- // works only with en, ru, uk locales
49
- // config.extraPlugins = "embed,attachment";
47
+ /* Extra plugins */
48
+ // works only with en, ru, uk locales
49
+ // config.extraPlugins = "embed,attachment";
50
50
 
51
51
  config.height = 400;
52
52
  config.width = 600;
53
53
 
54
+
55
+
54
56
  config.language = 'nl';
55
57
 
56
58
  /* Toolbars */
@@ -28,20 +28,30 @@
28
28
  <% attributes.each do | attribute, name, form_element | -%>
29
29
  <% unless form_element.to_sym == :associated || (cancan_enabled? && cannot?(:read, @Klass.to_s.underscore.pluralize.to_sym, attribute)) -%>
30
30
  <% css_class_id = "attribute_#{attribute}_#{@object.id}" -%>
31
- <tr>
32
- <td valign="top" class="<%= 'has_validations ' if @object.has_validations_for?(attribute) -%>" validation-hint="<%= validation_hints_as_list_for(@object, attribute) -%>">
33
- <div class='<%= "attribute_name attribute_#{attribute} form_element_#{form_element}" -%>' >
34
- <%= @object.class.human_attribute_name(attribute) -%>
35
- </div>
36
- </td>
37
- <td valign="top">
38
- <div class='<%= "attribute_value attribute_#{attribute} form_element_#{form_element}" -%>' >
39
- <span id="<%= css_class_id -%>" >
40
- <%= send("#{form_element}_edit", @object, attribute) -%>
41
- </span>
42
- </div>
43
- </td>
44
- </tr>
31
+ <% if form_element == :header %>
32
+ <tr>
33
+ <td valign="top" class="header" colspan="2">
34
+ <div class='<%= "attribute_name attribute_#{attribute} form_element_#{form_element}" -%>' >
35
+ <%= @object.class.human_attribute_name(attribute) -%>
36
+ </div>
37
+ </td>
38
+ </tr>
39
+ <% else %>
40
+ <tr>
41
+ <td valign="top" class="<%= 'has_validations ' if @object.has_validations_for?(attribute) -%>" validation-hint="<%= validation_hints_as_list_for(@object, attribute) -%>">
42
+ <div class='<%= "attribute_name attribute_#{attribute} form_element_#{form_element}" -%>' >
43
+ <%= @object.class.human_attribute_name(attribute) -%>
44
+ </div>
45
+ </td>
46
+ <td valign="top">
47
+ <div class='<%= "attribute_value attribute_#{attribute} form_element_#{form_element}" -%>' >
48
+ <span id="<%= css_class_id -%>" >
49
+ <%= send("#{form_element}_edit", @object, attribute) -%>
50
+ </span>
51
+ </div>
52
+ </td>
53
+ </tr>
54
+ <% end -%>
45
55
  <% end -%>
46
56
  <% end -%>
47
57
  </table>
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module InlineForms
3
- VERSION = "1.6.35"
3
+ VERSION = "1.6.36"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inline_forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.35
4
+ version: 1.6.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ace Suares
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-18 00:00:00.000000000 Z
11
+ date: 2013-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rvm
@@ -80,6 +80,76 @@ dependencies:
80
80
  - - ~>
81
81
  - !ruby/object:Gem::Version
82
82
  version: 3.0.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec-rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ! '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ! '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: shoulda
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ! '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: bundler
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: 1.3.5
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ~>
123
+ - !ruby/object:Gem::Version
124
+ version: 1.3.5
125
+ - !ruby/object:Gem::Dependency
126
+ name: jeweler
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ~>
130
+ - !ruby/object:Gem::Version
131
+ version: 1.5.2
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ~>
137
+ - !ruby/object:Gem::Version
138
+ version: 1.5.2
139
+ - !ruby/object:Gem::Dependency
140
+ name: rcov
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ! '>='
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ! '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
83
153
  description: Inline Forms aims to ease the setup of forms that provide inline editing.
84
154
  The field list can be specified in the model.
85
155
  email:
@@ -222,7 +292,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
222
292
  version: '0'
223
293
  requirements: []
224
294
  rubyforge_project: inline_forms
225
- rubygems_version: 2.0.3
295
+ rubygems_version: 2.1.9
226
296
  signing_key:
227
297
  specification_version: 4
228
298
  summary: Inline editing of forms.