File tree Expand file tree Collapse file tree 4 files changed +12
-9
lines changed
lib/active_admin_datetimepicker Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 11script : bundle exec rspec spec
2+ env :
3+ matrix :
4+ - RAILS=4.0.13
5+ - RAILS=4.1.5
6+ - RAILS=4.2.6
27rvm :
38 - 2.1.5
49 - 2.2.0
Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ source 'https://rubygems.org'
33# Specify your gem's dependencies in active_admin_datetimepicker.gemspec
44gemspec
55group :test do
6+ default_rails_version = '4.2.6'
67 gem 'sprockets-rails' , '2.3.3'
7- gem 'rails' , '4.2.0'
8+ gem 'rails' , " #{ ENV [ 'RAILS' ] || default_rails_version } "
89 gem 'rspec-rails'
910 gem 'activeadmin' , github : 'activeadmin' , ref : 'd787029e5523be2eb2ed99816eb0cecca2b72862'
1011 gem 'coveralls' , require : false # Test coverage website. Go to https://coveralls.io
Original file line number Diff line number Diff line change 11module ActiveAdminDatetimepicker
22 module Base
3- mattr_accessor :default_datetime_picker_options do
4- { }
5- end
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'
107
118 def html_class
129 'date-time-picker'
Original file line number Diff line number Diff line change 11module ActiveAdminDatetimepicker
2- VERSION = '0.2 .0'
2+ VERSION = '0.3 .0'
33end
You can’t perform that action at this time.
0 commit comments