mournful_settings 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZmJkYzIzNWJhNmIwNDU1MzIzOGIxZmJhYWE1MGRjOGNmYjc4MTM0Ng==
5
+ data.tar.gz: !binary |-
6
+ ZDU2YmVhY2Q3MjBiYzgxNzhlM2M0ZjQ0ZTk2MzYzZmM4OGI5ZWM1ZA==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ Y2U2ZGI5NDg4ZjE0ZWMzOGFmM2ZhYTcyZjdjMGM4MjNlNWY0ZTE2ZGE5NDA1
10
+ NmE2ODRhODIxZTQwNzMxYTg3OTY5Y2Y2MWE0MWI3ZjZhMjk4Yjc0ODAzYjdi
11
+ Y2ZkZTkwNjY5NTIzNjBiNjgwYjkyNDUwYWVkNjY0MGEwZTNjYmQ=
12
+ data.tar.gz: !binary |-
13
+ NmFhM2Y4MDU2NTA0MjM2MjdhYmVmOTMxMmJhNjUzNmIwOGQ1YTViYjUwMDBi
14
+ ZDZjNTM0MzJmOWI4MDFjNzk5ZTJkNmE0ZTkxMzdiNmJiNWI2OGQ2NmNhODZm
15
+ ZjRjMzQxYmRkMjdhNjUxZThhOTQxM2Y4M2Y1YjhkNDQ0YWViNjg=
data/README.rdoc CHANGED
@@ -5,7 +5,7 @@ they can be stored encrypted. Aren't puns wonderful.
5
5
 
6
6
  == Installation
7
7
 
8
- gem mournful_settings
8
+ gem 'mournful_settings'
9
9
 
10
10
  == Usage
11
11
 
@@ -185,4 +185,4 @@ application.
185
185
  config.load_paths << MournfulSettings.active_admin_load_path
186
186
 
187
187
  Alternatively, use lib/active_admin/admin/setting.rb as a template for your
188
- own register file.
188
+ own register file.
@@ -22,6 +22,7 @@ ActiveAdmin.register Setting do
22
22
  :checked => (setting.encrypted == false ? false : true)
23
23
  }
24
24
  )
25
+ f.input :value_type, collection: MournfulSettings::SettingMethods::VALUE_TYPES
25
26
  end
26
27
  f.buttons
27
28
  end
@@ -1,10 +1,15 @@
1
1
  module MournfulSettings
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
4
4
 
5
5
  # History
6
6
  # =======
7
7
  #
8
+ # 0.1.2: Add facility to select value type via active_admin form
9
+ # --------------------------------------------------------------
10
+ # Lack of value type was preventing new settings to be created via active admin
11
+ # form.
12
+ #
8
13
  # 0.1.1: Improves query to find setting via for
9
14
  # ---------------------------------------------
10
15
  # It makes sense for settings to be identified via a symbol, as this is a label.
Binary file
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mournful_settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
5
- prerelease:
4
+ version: 0.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Rob Nichols
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-09-05 00:00:00.000000000 Z
11
+ date: 2014-01-28 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: activerecord
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ! '>='
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ! '>='
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: sqlite3
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ! '>='
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ! '>='
44
39
  - !ruby/object:Gem::Version
@@ -73,27 +68,26 @@ files:
73
68
  homepage: https://github.com/reggieb/mournful_settings
74
69
  licenses:
75
70
  - MIT-LICENSE
71
+ metadata: {}
76
72
  post_install_message:
77
73
  rdoc_options: []
78
74
  require_paths:
79
75
  - lib
80
76
  required_ruby_version: !ruby/object:Gem::Requirement
81
- none: false
82
77
  requirements:
83
78
  - - ! '>='
84
79
  - !ruby/object:Gem::Version
85
80
  version: '0'
86
81
  required_rubygems_version: !ruby/object:Gem::Requirement
87
- none: false
88
82
  requirements:
89
83
  - - ! '>='
90
84
  - !ruby/object:Gem::Version
91
85
  version: '0'
92
86
  requirements: []
93
87
  rubyforge_project:
94
- rubygems_version: 1.8.25
88
+ rubygems_version: 2.1.10
95
89
  signing_key:
96
- specification_version: 3
90
+ specification_version: 4
97
91
  summary: Tool for adding encrypted settings to an app.
98
92
  test_files:
99
93
  - test/dummy/lib/setting_actor.rb