templus_models 1.0.0 → 1.0.1

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: 23badb12cc244b3fc149ceb4dcd12df3412658a0
4
- data.tar.gz: 864d9865414aa5084be850edc9efa547cc52394b
3
+ metadata.gz: 35c83ffacd6f178669cfb6d43114cbd6ae787305
4
+ data.tar.gz: d94154d77c68b597f8e36be9fd81336b158fc0e0
5
5
  SHA512:
6
- metadata.gz: 1545baff072e5414efea8b01402212e03f508b5c4e460cd83c5a989f0c00da4a3d7489197de59d502a15f1d0a111d9b8a58bb2de298b224278aa6f461cc3a8ca
7
- data.tar.gz: ae3af54e2b7ced0246a97b19bf189f14b225bff89d5b46a814df162047516982baf246553553b159c764b36d152563d4fa8b99377b6f3e8d5d07f98316dacefa
6
+ metadata.gz: c1a2c73e6a953712e4de0c0f78f90a4191a6f26182a999f04ab7850921c0a7bd658f31f4f86b929ace106ff3a6b7dfbfd112c443196a329c027b89fc7d2ad842
7
+ data.tar.gz: 727bca49082fd25ff280a3752a099094ee16fde38e66648cc3c32e838730d755b06170c42dba40d313aebc137e189d8ee04bd8b16e4714ceff8725adb417fd28
@@ -0,0 +1,5 @@
1
+ window.search_predicate = (select) ->
2
+ target = $($(select).data('target'))
3
+ er = /\_(eq|not\_eq|cont|not\_cont|start|end|lt|lteq|gt|gteq)/
4
+ new_name = target.attr("name").replace(er,"_" + $(select).val())
5
+ target.attr("name",new_name)
@@ -1,3 +1,3 @@
1
1
  module TemplusModels
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: templus_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Sol
@@ -121,6 +121,7 @@ files:
121
121
  - README.rdoc
122
122
  - Rakefile
123
123
  - app/assets/javascripts/raro_crud.js
124
+ - app/assets/javascripts/templus_models.js.coffee
124
125
  - app/controllers/crud_controller.rb
125
126
  - app/helpers/crud_helper.rb
126
127
  - app/helpers/search_helper.rb
@@ -142,7 +143,6 @@ files:
142
143
  - app/views/crud/show.html.erb
143
144
  - app/views/layouts/_menu_crud.html.erb
144
145
  - app/views/layouts/_template_raro_crud.html.erb
145
- - app/views/tabelas/_precos.html.erb
146
146
  - config/initializers/raro_search.rb
147
147
  - config/initializers/simple_form.rb
148
148
  - config/routes.rb
File without changes