10000 Upgraded to Active Admin 0.3.0 and added a cron rake task · brusmax/demo.activeadmin.info@68f8893 · GitHub
[go: up one dir, main page]

Skip to content

Commit 68f8893

Browse files
committed
Upgraded to Active Admin 0.3.0 and added a cron rake task
1 parent 44818d4 commit 68f8893

File tree

4 files changed

+15
-17
lines changed

4 files changed

+15
-17
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ source 'http://rubygems.org'
33
gem 'rails', '3.0.10'
44
gem 'sqlite3-ruby', :require => 'sqlite3'
55
gem 'nifty-generators'
6-
gem "activeadmin", :git => 'git://github.com/gregbell/active_admin.git', :ref => 'bd275b1d11b611452e5f'
6+
gem "activeadmin", '0.3.0'
77
gem "faker"
88
gem 'newrelic_rpm', '3.1.1'
99
gem 'hoptoad_notifier', '2.4.11'

Gemfile.lock

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
GIT
2-
remote: git://github.com/gregbell/active_admin.git
3-
revision: bd275b1d11b611452e5fdaaea84aa94111a836b1
4-
ref: bd275b1d11b611452e5f
5-
specs:
6-
activeadmin (0.2.2)
7-
devise (>= 1.1.2)
8-
fastercsv
9-
formtastic (>= 1.1.0)
10-
inherited_resources
11-
kaminari (>= 0.12.4)
12-
meta_search (>= 0.9.2)
13-
rails (>= 3.0.0)
14-
sass (>= 3.1.0)
15-
161
GEM
172
remote: http://rubygems.org/
183
specs:
@@ -30,6 +15,15 @@ GEM
3015
rack-mount (~> 0.6.14)
3116
rack-test (~> 0.5.7)
3217
tzinfo (~> 0.3.23)
18+
activeadmin (0.3.0)
19+
devise (>= 1.1.2)
20+
fastercsv
21+
formtastic (>= 1.1.0)
22+
inherited_resources
23+
kaminari (>= 0.12.4)
24+
meta_search (>= 0.9.2)
25+
rails (>= 3.0.0)
26+
sass (>= 3.1.0)
3327
activemodel (3.0.10)
3428
activesupport (= 3.0.10)
3529
builder (~> 2.1.2)
@@ -132,7 +126,7 @@ PLATFORMS
132126
ruby
133127

134128
DEPENDENCIES
135-
activeadmin!
129+
activeadmin (= 0.3.0)
136130
faker
137131
hoptoad_notifier (= 2.4.11)
138132
mechanize

lib/tasks/cron.rake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
desc "CRON job for Heroku"
2+
task :cron => ['db:reset', 'db:setup']

public/stylesheets/active_admin.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,7 @@ form {
448448
-moz-border-radius: 3px;
449449
border-radius: 3px;
450450
font-size: 0.95em;
451+
font-family: Helvetica, Arial, sans-serif;
451452
outline: none;
452453
padding: 8px 10px 7px; }
453454
form input[type=text]:focus, form input[type=password]:focus, form input[type=email]:focus, form input[type=url]:focus, form input[type=tel]:focus, form textarea:focus {
@@ -1126,6 +1127,7 @@ a.button, input[type=submit] {
11261127
border-bottom: 1px solid #E8E8E8; }
11271128

11281129
.blank_slate_container {
1130+
clear: both;
11291131
text-align: center; }
11301132
.blank_slate_container .blank_slate {
11311133
-webkit-border-radius: 3px;

0 commit comments

Comments
 (0)
0