upmin 0.0.34 → 0.0.343
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb1df31a2fc2e92b706c330f78e7afbc4dff9ab7
|
4
|
+
data.tar.gz: 33c740313835350a21a14e0caadc56196e5cce78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 190c0f7541a29e21ed637ea929f7e4c4494b53fc0c41806524dd37358963c414e36387b2d758888f368196fd5be71dfcb6a5dd689f2f844e41fdf5196146fedf
|
7
|
+
data.tar.gz: 188a8bde7c0ef306184d1e310454d5d6577811c3939c9b9ac9cca96e43622eecb9867679981861053068e2d9ef35584ec8dfa809c24b890441ed8ed21746846e
|
@@ -2,10 +2,10 @@ require_dependency "upmin/application_controller"
|
|
2
2
|
|
3
3
|
module Upmin
|
4
4
|
class ModelsController < ApplicationController
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
before_filter :set_model, only: [:show, :update, :search, :action]
|
6
|
+
before_filter :set_instance, only: [:show, :update, :action]
|
7
|
+
before_filter :set_method, only: [:action]
|
8
|
+
before_filter :set_arguments, only: [:action]
|
9
9
|
|
10
10
|
def dashboard
|
11
11
|
end
|
@@ -18,7 +18,8 @@
|
|
18
18
|
= number_field(:q, "#{u_attr}_gteq", class: "form-control")
|
19
19
|
.input-group-addon to
|
20
20
|
= number_field(:q, "#{u_attr}_lteq", class: "form-control")
|
21
|
-
- if info[:type] == :datetime
|
21
|
+
- if info[:type] == :datetime && Rails.version > "4.0.0"
|
22
|
+
-# TODO(jon): Add date fields for rails 3
|
22
23
|
.form-group
|
23
24
|
= label(:q, "#{u_attr}_cont", u_attr.to_s.capitalize.gsub("_", " "))
|
24
25
|
%br
|
data/lib/upmin/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: upmin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.343
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Calhoun
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: typhoeus
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|