rails_admin_settings 0.7.0 → 0.7.1

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: 2706c7ab6b92fd874b54a1ca1c905d7c045170d6
4
- data.tar.gz: 16f77c93bb7ee6ff47b510f9e0eccb4d72d8502b
3
+ metadata.gz: d94cd75358deb08a2795cd8c9c3f79a1ff6aa134
4
+ data.tar.gz: d6ad13b2c9cd4b439d89495778ddf1f668a15013
5
5
  SHA512:
6
- metadata.gz: dbc51040c4ab7243f58cf79078c3fd098e1cf5931f7c1b829dc4c64fce0a6553245e12987e11d8b94ed308a2d281ac2591b2a4d12d33025494fa71ad1d52a907
7
- data.tar.gz: 18abefda74697ac17b27995f065f7f8266af434316c69e49fc85632a99b1eddf2d91c24362e563a72203a1ddbcc5ae36fca10e59b06d56f72a1d00e1e609e256
6
+ metadata.gz: b0cf16166fdf9f2849d6f701c18e3aa4b086e314fa6ad6fc18b73c8335532d3e3d61ec9c6fbc1968a42f86fc89f99130d04cf0c9766c6e9bbdbf10570c37e50c
7
+ data.tar.gz: bc4d295edd2528db927d8c73bac56c288ce1a8c594a777dea3d527dee333fa7d8a083d4a31ed06a3f70819bfffa94c170dadff06baaf392090fdc66cb668b064
@@ -13,7 +13,7 @@ namespace :settings do
13
13
 
14
14
  desc "Dump settings to config/settings.yml; use rake settings:dump[production] to create env-specific template"
15
15
  task :dump, [:as_env] => ['settings:require'] do |t, args|
16
- if args.empty?
16
+ if args.empty? || args[:as_env].blank?
17
17
  path = Settings.root_file_path.join('config/settings.yml')
18
18
  else
19
19
  path = Settings.root_file_path.join("config/settings.#{args[:as_env]}.yml")
@@ -1,3 +1,3 @@
1
1
  module RailsAdminSettings
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Tv
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-11 00:00:00.000000000 Z
11
+ date: 2014-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mongoid