active_admin_datetimepicker 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +5 -0
- data/Gemfile +2 -1
- data/lib/active_admin_datetimepicker/base.rb +4 -7
- data/lib/active_admin_datetimepicker/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c72994cf304845543c3f319e23c9698a15e2b11
|
4
|
+
data.tar.gz: 0eaa09e22b51c4bf56b17a2e79b9192ca047a57d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 954507593866cc6712c01c93c4f3a54f1a43f8c8d20444dc40a6618713e4acfd0f4c25dfab257e5d282b4b14e3def696f38d2bb06e06b1fcf9109f18cc587a21
|
7
|
+
data.tar.gz: ee73901e2f85833161a6aa6690ad75d5fc49bac1f3e2c8836db03f457ac8770448e3f93e0e90d2f948fa6ab68a18856f074ccfa8946371db4ba98a1d12596288
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -3,8 +3,9 @@ source 'https://rubygems.org'
|
|
3
3
|
# Specify your gem's dependencies in active_admin_datetimepicker.gemspec
|
4
4
|
gemspec
|
5
5
|
group :test do
|
6
|
+
default_rails_version = '4.2.6'
|
6
7
|
gem 'sprockets-rails', '2.3.3'
|
7
|
-
gem 'rails',
|
8
|
+
gem 'rails', "#{ENV['RAILS'] || default_rails_version}"
|
8
9
|
gem 'rspec-rails'
|
9
10
|
gem 'activeadmin', github: 'activeadmin' , ref: 'd787029e5523be2eb2ed99816eb0cecca2b72862'
|
10
11
|
gem 'coveralls', require: false # Test coverage website. Go to https://coveralls.io
|
@@ -1,12 +1,9 @@
|
|
1
1
|
module ActiveAdminDatetimepicker
|
2
2
|
module Base
|
3
|
-
mattr_accessor :default_datetime_picker_options
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
mattr_accessor :format do
|
8
|
-
'%Y-%m-%d %H:%M'
|
9
|
-
end
|
3
|
+
mattr_accessor :default_datetime_picker_options
|
4
|
+
@@default_datetime_picker_options = {}
|
5
|
+
mattr_accessor :format
|
6
|
+
@@format = '%Y-%m-%d %H:%M'
|
10
7
|
|
11
8
|
def html_class
|
12
9
|
'date-time-picker'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_admin_datetimepicker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Fedoronchuk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xdan-datetimepicker-rails
|
@@ -95,9 +95,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
95
|
version: '0'
|
96
96
|
requirements: []
|
97
97
|
rubyforge_project:
|
98
|
-
rubygems_version: 2.
|
98
|
+
rubygems_version: 2.4.6
|
99
99
|
signing_key:
|
100
100
|
specification_version: 4
|
101
101
|
summary: datetimepicker extension for ActiveAdmin
|
102
102
|
test_files: []
|
103
|
-
has_rdoc:
|