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: 42151768753dc50012890574362fad83e1f88f50
4
- data.tar.gz: 52a43f1825583fec02869d6fbf5b9e5c9eb8dde0
3
+ metadata.gz: fb1df31a2fc2e92b706c330f78e7afbc4dff9ab7
4
+ data.tar.gz: 33c740313835350a21a14e0caadc56196e5cce78
5
5
  SHA512:
6
- metadata.gz: d1df60ed7f4062152d1f33d73d4f3f6c74b2011c11b40cde33b3876d2dda9b9d0f6a982854b563d0f4cb6ece40dcebbe4c9c7866ef6ef18abce39ce6d742f8bd
7
- data.tar.gz: 95c1399670622c6a1e7e24fabe608f5edadda633d37642de93d381188c61e917d098c33f66e6ea52b8cc67620264557cfce0a414bd05fc053e651ecb34c71987
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
- before_action :set_model, only: [:show, :update, :search, :action]
6
- before_action :set_instance, only: [:show, :update, :action]
7
- before_action :set_method, only: [:action]
8
- before_action :set_arguments, only: [:action]
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
@@ -1,3 +1,3 @@
1
1
  module Upmin
2
- VERSION = "0.0.34"
2
+ VERSION = "0.0.343"
3
3
  end
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.34
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: 4.0.0
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: 4.0.0
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: typhoeus
29
29
  requirement: !ruby/object:Gem::Requirement