rails-ext 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.git/COMMIT_EDITMSG +1 -1
- data/.git/index +0 -0
- data/.git/logs/HEAD +1 -0
- data/.git/logs/refs/heads/master +1 -0
- data/.git/logs/refs/remotes/origin/master +1 -0
- data/.git/objects/0c/4df6bee8ffbfd79927b23a070a4c9a41991152 +2 -0
- data/.git/objects/3a/95e5465ca8d93ae2f53d1a77b0215a10f18021 +0 -0
- data/.git/objects/3c/994e760012127915c1494a073cea51ef3b43e8 +0 -0
- data/.git/objects/3e/cc8b7e1c4837559b36939612408b4d9def8fac +0 -0
- data/.git/objects/51/bc541de1a4c2a516eeefbb2ba1467d9e415de2 +0 -0
- data/.git/objects/5a/c5589c8e02ab34cd516e172250c80d4ded5ce6 +0 -0
- data/.git/objects/aa/427601610df4f8f19f464184221873b4fdbb8d +0 -0
- data/.git/objects/b2/99ac9d0ac730461d7610161b99ee4191c7c2b8 +0 -0
- data/.git/objects/e7/2c6706f1ff4a5861eebfd846209c3d9628f7ae +0 -0
- data/.git/refs/heads/master +1 -1
- data/.git/refs/remotes/origin/master +1 -1
- data/README.rdoc +2 -12
- data/Rakefile +1 -1
- data/lib/interface_builder/view_builder.rb +3 -0
- data/lib/interface_builder/view_helper.rb +1 -1
- data/lib/interface_builder.rb +13 -1
- metadata +11 -2
data/.git/COMMIT_EDITMSG
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
fix
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -49,3 +49,4 @@ e7391f37a0dbbb03b5444d43d9679cb0e2942128 d7a33fe1ff44a661941d742270c3299a862689c
|
|
49
49
|
d7a33fe1ff44a661941d742270c3299a862689ca f9cf98993bf7067d5b45b0f06dc36fdedba5ffcf alex <alex@amac.local> 1269033033 +0300 commit: upd
|
50
50
|
f9cf98993bf7067d5b45b0f06dc36fdedba5ffcf c47ead0b6604e6627e887f2f2e8909a8b409ae5a alex <alex@amac.local> 1269293032 +0300 commit: fixes & interface_builder
|
51
51
|
c47ead0b6604e6627e887f2f2e8909a8b409ae5a 3b354d07a5bb5780eeffa4c12968214b1edb8b24 alex <alex@amac.local> 1269314707 +0300 commit: add interface_builder
|
52
|
+
3b354d07a5bb5780eeffa4c12968214b1edb8b24 3a95e5465ca8d93ae2f53d1a77b0215a10f18021 alex <alex@amac.local> 1269316117 +0300 commit: fix
|
data/.git/logs/refs/heads/master
CHANGED
@@ -49,3 +49,4 @@ e7391f37a0dbbb03b5444d43d9679cb0e2942128 d7a33fe1ff44a661941d742270c3299a862689c
|
|
49
49
|
d7a33fe1ff44a661941d742270c3299a862689ca f9cf98993bf7067d5b45b0f06dc36fdedba5ffcf alex <alex@amac.local> 1269033033 +0300 commit: upd
|
50
50
|
f9cf98993bf7067d5b45b0f06dc36fdedba5ffcf c47ead0b6604e6627e887f2f2e8909a8b409ae5a alex <alex@amac.local> 1269293032 +0300 commit: fixes & interface_builder
|
51
51
|
c47ead0b6604e6627e887f2f2e8909a8b409ae5a 3b354d07a5bb5780eeffa4c12968214b1edb8b24 alex <alex@amac.local> 1269314707 +0300 commit: add interface_builder
|
52
|
+
3b354d07a5bb5780eeffa4c12968214b1edb8b24 3a95e5465ca8d93ae2f53d1a77b0215a10f18021 alex <alex@amac.local> 1269316117 +0300 commit: fix
|
@@ -38,3 +38,4 @@ d0a9b291d92a5e07655d57b9486579e56d126559 49b7ee2b8f19ff0639d351fd5f3616c1360ff70
|
|
38
38
|
f6b9bcda0a6940c634c0ac0d6ac626028927e1da d7a33fe1ff44a661941d742270c3299a862689ca alex <alex@amac.local> 1268891538 +0300 update by push
|
39
39
|
d7a33fe1ff44a661941d742270c3299a862689ca f9cf98993bf7067d5b45b0f06dc36fdedba5ffcf alex <alex@amac.local> 1269033043 +0300 update by push
|
40
40
|
f9cf98993bf7067d5b45b0f06dc36fdedba5ffcf 3b354d07a5bb5780eeffa4c12968214b1edb8b24 alex <alex@amac.local> 1269314724 +0300 update by push
|
41
|
+
3b354d07a5bb5780eeffa4c12968214b1edb8b24 3a95e5465ca8d93ae2f53d1a77b0215a10f18021 alex <alex@amac.local> 1269316121 +0300 update by push
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3a95e5465ca8d93ae2f53d1a77b0215a10f18021
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3a95e5465ca8d93ae2f53d1a77b0215a10f18021
|
data/README.rdoc
CHANGED
@@ -1,14 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
============
|
4
|
-
|
5
|
-
Introduction goes here.
|
6
|
-
|
7
|
-
|
8
|
-
Example
|
9
|
-
=======
|
10
|
-
|
11
|
-
Example goes here.
|
12
|
-
|
1
|
+
install with --no-ri --no-rdoc
|
2
|
+
RDoc can't parse view_builder.rb somehow, so just ignore it.
|
13
3
|
|
14
4
|
Copyright (c) 2009 [name of plugin creator], released under the MIT license
|
data/Rakefile
CHANGED
@@ -18,7 +18,7 @@ require 'fileutils'
|
|
18
18
|
|
19
19
|
spec = Gem::Specification.new do |s|
|
20
20
|
s.name = "rails-ext"
|
21
|
-
s.version = "0.3.
|
21
|
+
s.version = "0.3.4"
|
22
22
|
s.summary = "Set of common Ruby on Rails extensions"
|
23
23
|
s.description = "Set of common Ruby on Rails extensions"
|
24
24
|
s.author = "Alexey Petrushin"
|
@@ -1,6 +1,8 @@
|
|
1
1
|
module InterfaceBuilder
|
2
2
|
class ViewBuilder
|
3
|
+
|
3
4
|
def self.generate_helper_methods methods
|
5
|
+
|
4
6
|
methods.each do |folder, templates|
|
5
7
|
templates.each do |template|
|
6
8
|
code = <<END\
|
@@ -12,6 +14,7 @@ END
|
|
12
14
|
eval code, binding, __FILE__, __LINE__
|
13
15
|
end
|
14
16
|
end
|
17
|
+
|
15
18
|
end
|
16
19
|
|
17
20
|
|
data/lib/interface_builder.rb
CHANGED
@@ -9,4 +9,16 @@ end
|
|
9
9
|
|
10
10
|
ActionView::Base.field_error_proc = lambda do |html_tag, instance|
|
11
11
|
html_tag
|
12
|
-
end
|
12
|
+
end
|
13
|
+
|
14
|
+
module InterfaceBuilder
|
15
|
+
class << self
|
16
|
+
attr_accessor :plugin_name
|
17
|
+
|
18
|
+
def generate_helper_methods *args
|
19
|
+
InterfaceBuilder::ViewBuilder.generate_helper_methods *args
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
Rails.development{RailsExt.create_public_symlinks!} # rails_ext.css, rails_ext.js in development mode
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
8
|
+
- 4
|
9
|
+
version: 0.3.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Alexey Petrushin
|
@@ -78,6 +78,7 @@ files:
|
|
78
78
|
- .git/objects/09/20505d42c0044b31ff7b1f86cec6e282e13414
|
79
79
|
- .git/objects/0b/3b3d1048f25fdc0de3f680cdbbd867a42b5a95
|
80
80
|
- .git/objects/0b/e101a0586410212b4ee5905881ad726b7b4907
|
81
|
+
- .git/objects/0c/4df6bee8ffbfd79927b23a070a4c9a41991152
|
81
82
|
- .git/objects/0d/aa3468e187093eff222b8094a6e702dea9ba4e
|
82
83
|
- .git/objects/0d/b63ec7380f5132ca02be93c82f5295e33c10a9
|
83
84
|
- .git/objects/0f/92cb7ae358323d43d026b83f7d1a4969cf7568
|
@@ -155,12 +156,15 @@ files:
|
|
155
156
|
- .git/objects/38/fa364fa8743e78ec0fec702b9df1764b42ffc9
|
156
157
|
- .git/objects/3a/03b9d44de43472689300120ffb2a0a9a74f27f
|
157
158
|
- .git/objects/3a/797683953be7e6d0ffa0e34514f3e8e9c3ceb0
|
159
|
+
- .git/objects/3a/95e5465ca8d93ae2f53d1a77b0215a10f18021
|
158
160
|
- .git/objects/3a/9e689945632d5c0a5e2c99096a2c66d79b17dc
|
159
161
|
- .git/objects/3a/ff2a7bfdf3a677812899ede62d084369c7c5f4
|
160
162
|
- .git/objects/3b/354d07a5bb5780eeffa4c12968214b1edb8b24
|
163
|
+
- .git/objects/3c/994e760012127915c1494a073cea51ef3b43e8
|
161
164
|
- .git/objects/3d/5b84167d35cb75647f38a6d475a452ba3c6178
|
162
165
|
- .git/objects/3d/ce52a15f01f1a8f99e65d148341bea71065129
|
163
166
|
- .git/objects/3e/c0da65fe2e572ad31203f9412baa09dfdf49d3
|
167
|
+
- .git/objects/3e/cc8b7e1c4837559b36939612408b4d9def8fac
|
164
168
|
- .git/objects/3e/f23cf310c5eebac930a19d36a0561dd362d3ee
|
165
169
|
- .git/objects/3f/3db6bb5a5204ae58e303959c4c0da3a70d8b35
|
166
170
|
- .git/objects/3f/8f2086049359d8b2b2500a7145afe3040e9c37
|
@@ -191,6 +195,7 @@ files:
|
|
191
195
|
- .git/objects/4f/fa8f1c9b7e3fdbb23ab600722d1011dcb48cec
|
192
196
|
- .git/objects/50/d4fa779f4ca05493dc438987dfc8a7e7545d39
|
193
197
|
- .git/objects/51/30873e42295a8890810ec77fd65050280901b5
|
198
|
+
- .git/objects/51/bc541de1a4c2a516eeefbb2ba1467d9e415de2
|
194
199
|
- .git/objects/52/5fcb274029ec36780b264166ea3d487d968997
|
195
200
|
- .git/objects/52/ae6e30a63029fc7b67e3eba6efbe4edade7b9c
|
196
201
|
- .git/objects/53/2ff954f947901011d76dcc1e335c2d52e5706c
|
@@ -207,6 +212,7 @@ files:
|
|
207
212
|
- .git/objects/59/0ef6ba9931d75fbddc7a940044dbaaa50efc76
|
208
213
|
- .git/objects/59/7b19d2ba6f1d46f75f702cbacf8828b7b506f9
|
209
214
|
- .git/objects/5a/35fa85474278f3c817aa59d07b725428c41a28
|
215
|
+
- .git/objects/5a/c5589c8e02ab34cd516e172250c80d4ded5ce6
|
210
216
|
- .git/objects/5c/95be85f2a2a984454fed4941a5ae00062634c5
|
211
217
|
- .git/objects/5c/d7e89f2b29ed92fd51e2c6b2ee74db376d17d7
|
212
218
|
- .git/objects/5f/483b0c41645f8882f549c1c6d0274bb592140a
|
@@ -331,6 +337,7 @@ files:
|
|
331
337
|
- .git/objects/a7/6c4944dc009628cb65b4962464a8eb484d6a71
|
332
338
|
- .git/objects/a7/a902aeac4af3f10b474c23c2a3750fde007a02
|
333
339
|
- .git/objects/a9/d2b84a743094002fef87a193e681ee721d76ed
|
340
|
+
- .git/objects/aa/427601610df4f8f19f464184221873b4fdbb8d
|
334
341
|
- .git/objects/aa/b7becd23c1123ec701737ae5329314aea3124f
|
335
342
|
- .git/objects/ab/6b7d6c5c5fee246e184a58448682b73b574d6b
|
336
343
|
- .git/objects/ab/825cde00e626431c6045e6886d470327c63001
|
@@ -347,6 +354,7 @@ files:
|
|
347
354
|
- .git/objects/b0/426bd4d76304278e6af43ce2d708ad26335514
|
348
355
|
- .git/objects/b1/0d2b27582bb0d779efe6e17c45aaa671d32f3a
|
349
356
|
- .git/objects/b1/2623653bc803aeab5b77efdc72f79fb8f9c80e
|
357
|
+
- .git/objects/b2/99ac9d0ac730461d7610161b99ee4191c7c2b8
|
350
358
|
- .git/objects/b2/cd852090540d0b2450b901397edd924d8c0ba9
|
351
359
|
- .git/objects/b3/c029798d5af50b4ab725aee6cf66ee11c4ff7a
|
352
360
|
- .git/objects/b4/0345153922bfcdbbc4785cc3146e9e7c60dbbd
|
@@ -436,6 +444,7 @@ files:
|
|
436
444
|
- .git/objects/e5/7fa5fd7f10f6f532742b0cc2dc3edaed6c0763
|
437
445
|
- .git/objects/e6/4d9b4d86a001e4f882a9842a8dd4368001c470
|
438
446
|
- .git/objects/e6/ed7d272f8c48a28904007d653837bfe761be36
|
447
|
+
- .git/objects/e7/2c6706f1ff4a5861eebfd846209c3d9628f7ae
|
439
448
|
- .git/objects/e7/391f37a0dbbb03b5444d43d9679cb0e2942128
|
440
449
|
- .git/objects/e7/e790ff7c580a636d0de69956834c9b47ad771b
|
441
450
|
- .git/objects/e7/f4b26a3258b7788ffe2665773387e19c01095a
|