configvars_rails 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,9 +1,8 @@
1
1
  source "http://rubygems.org"
2
- gem "rails", ">= 3.2.0.rc2"
2
+ gem "rails", ">= 3.2.0"
3
3
 
4
4
  group :development do
5
- gem "bundler", "~> 1.0.0"
6
- gem "jeweler", "~> 1.6.0"
7
- gem "rcov", ">= 0"
5
+ gem "bundler", ">= 1.0.0"
6
+ gem "jeweler", ">= 1.8.3"
8
7
  gem "sqlite3", ">= 1.3.5"
9
8
  end
data/Gemfile.lock CHANGED
@@ -1,76 +1,76 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- actionmailer (3.2.0.rc2)
5
- actionpack (= 3.2.0.rc2)
6
- mail (~> 2.3.0)
7
- actionpack (3.2.0.rc2)
8
- activemodel (= 3.2.0.rc2)
9
- activesupport (= 3.2.0.rc2)
4
+ actionmailer (3.2.2)
5
+ actionpack (= 3.2.2)
6
+ mail (~> 2.4.0)
7
+ actionpack (3.2.2)
8
+ activemodel (= 3.2.2)
9
+ activesupport (= 3.2.2)
10
10
  builder (~> 3.0.0)
11
11
  erubis (~> 2.7.0)
12
- journey (~> 1.0.0.rc1)
12
+ journey (~> 1.0.1)
13
13
  rack (~> 1.4.0)
14
14
  rack-cache (~> 1.1)
15
15
  rack-test (~> 0.6.1)
16
16
  sprockets (~> 2.1.2)
17
- activemodel (3.2.0.rc2)
18
- activesupport (= 3.2.0.rc2)
17
+ activemodel (3.2.2)
18
+ activesupport (= 3.2.2)
19
19
  builder (~> 3.0.0)
20
- activerecord (3.2.0.rc2)
21
- activemodel (= 3.2.0.rc2)
22
- activesupport (= 3.2.0.rc2)
23
- arel (~> 3.0.0.rc1)
20
+ activerecord (3.2.2)
21
+ activemodel (= 3.2.2)
22
+ activesupport (= 3.2.2)
23
+ arel (~> 3.0.2)
24
24
  tzinfo (~> 0.3.29)
25
- activeresource (3.2.0.rc2)
26
- activemodel (= 3.2.0.rc2)
27
- activesupport (= 3.2.0.rc2)
28
- activesupport (3.2.0.rc2)
25
+ activeresource (3.2.2)
26
+ activemodel (= 3.2.2)
27
+ activesupport (= 3.2.2)
28
+ activesupport (3.2.2)
29
29
  i18n (~> 0.6)
30
30
  multi_json (~> 1.0)
31
- arel (3.0.0.rc1)
31
+ arel (3.0.2)
32
32
  builder (3.0.0)
33
33
  erubis (2.7.0)
34
34
  git (1.2.5)
35
35
  hike (1.2.1)
36
36
  i18n (0.6.0)
37
- jeweler (1.6.4)
37
+ jeweler (1.8.3)
38
38
  bundler (~> 1.0)
39
39
  git (>= 1.2.5)
40
40
  rake
41
- journey (1.0.0.rc4)
42
- json (1.6.4)
43
- mail (2.3.0)
41
+ rdoc
42
+ journey (1.0.3)
43
+ json (1.6.5)
44
+ mail (2.4.3)
44
45
  i18n (>= 0.4.0)
45
46
  mime-types (~> 1.16)
46
47
  treetop (~> 1.4.8)
47
48
  mime-types (1.17.2)
48
- multi_json (1.0.4)
49
+ multi_json (1.1.0)
49
50
  polyglot (0.3.3)
50
- rack (1.4.0)
51
- rack-cache (1.1)
51
+ rack (1.4.1)
52
+ rack-cache (1.2)
52
53
  rack (>= 0.4)
53
54
  rack-ssl (1.3.2)
54
55
  rack
55
56
  rack-test (0.6.1)
56
57
  rack (>= 1.0)
57
- rails (3.2.0.rc2)
58
- actionmailer (= 3.2.0.rc2)
59
- actionpack (= 3.2.0.rc2)
60
- activerecord (= 3.2.0.rc2)
61
- activeresource (= 3.2.0.rc2)
62
- activesupport (= 3.2.0.rc2)
58
+ rails (3.2.2)
59
+ actionmailer (= 3.2.2)
60
+ actionpack (= 3.2.2)
61
+ activerecord (= 3.2.2)
62
+ activeresource (= 3.2.2)
63
+ activesupport (= 3.2.2)
63
64
  bundler (~> 1.0)
64
- railties (= 3.2.0.rc2)
65
- railties (3.2.0.rc2)
66
- actionpack (= 3.2.0.rc2)
67
- activesupport (= 3.2.0.rc2)
65
+ railties (= 3.2.2)
66
+ railties (3.2.2)
67
+ actionpack (= 3.2.2)
68
+ activesupport (= 3.2.2)
68
69
  rack-ssl (~> 1.3.2)
69
70
  rake (>= 0.8.7)
70
71
  rdoc (~> 3.4)
71
72
  thor (~> 0.14.6)
72
73
  rake (0.9.2.2)
73
- rcov (0.9.11)
74
74
  rdoc (3.12)
75
75
  json (~> 1.4)
76
76
  sprockets (2.1.2)
@@ -83,14 +83,13 @@ GEM
83
83
  treetop (1.4.10)
84
84
  polyglot
85
85
  polyglot (>= 0.3.1)
86
- tzinfo (0.3.31)
86
+ tzinfo (0.3.32)
87
87
 
88
88
  PLATFORMS
89
89
  ruby
90
90
 
91
91
  DEPENDENCIES
92
- bundler (~> 1.0.0)
93
- jeweler (~> 1.6.0)
94
- rails (>= 3.2.0.rc2)
95
- rcov
92
+ bundler (>= 1.0.0)
93
+ jeweler (>= 1.8.3)
94
+ rails (>= 3.2.0)
96
95
  sqlite3 (>= 1.3.5)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.2
1
+ 0.5.3
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "configvars_rails"
8
- s.version = "0.5.2"
8
+ s.version = "0.5.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Victor Costan"]
12
- s.date = "2012-01-07"
12
+ s.date = "2012-03-13"
13
13
  s.description = "This gem provides a model and simple controller for\n storing global application configuration in a database. This allows the\n configuration to change without source code modifications."
14
14
  s.email = "victor@costan.us"
15
15
  s.extra_rdoc_files = [
@@ -62,30 +62,27 @@ Gem::Specification.new do |s|
62
62
  s.homepage = "http://github.com/pwnall/configvars_rails"
63
63
  s.licenses = ["MIT"]
64
64
  s.require_paths = ["lib"]
65
- s.rubygems_version = "1.8.15"
65
+ s.rubygems_version = "1.8.17"
66
66
  s.summary = "Global configuration variables for Rails 3 applications."
67
67
 
68
68
  if s.respond_to? :specification_version then
69
69
  s.specification_version = 3
70
70
 
71
71
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
72
- s.add_runtime_dependency(%q<rails>, [">= 3.2.0.rc2"])
73
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
74
- s.add_development_dependency(%q<jeweler>, ["~> 1.6.0"])
75
- s.add_development_dependency(%q<rcov>, [">= 0"])
72
+ s.add_runtime_dependency(%q<rails>, [">= 3.2.0"])
73
+ s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
74
+ s.add_development_dependency(%q<jeweler>, [">= 1.8.3"])
76
75
  s.add_development_dependency(%q<sqlite3>, [">= 1.3.5"])
77
76
  else
78
- s.add_dependency(%q<rails>, [">= 3.2.0.rc2"])
79
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
80
- s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
81
- s.add_dependency(%q<rcov>, [">= 0"])
77
+ s.add_dependency(%q<rails>, [">= 3.2.0"])
78
+ s.add_dependency(%q<bundler>, [">= 1.0.0"])
79
+ s.add_dependency(%q<jeweler>, [">= 1.8.3"])
82
80
  s.add_dependency(%q<sqlite3>, [">= 1.3.5"])
83
81
  end
84
82
  else
85
- s.add_dependency(%q<rails>, [">= 3.2.0.rc2"])
86
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
87
- s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
88
- s.add_dependency(%q<rcov>, [">= 0"])
83
+ s.add_dependency(%q<rails>, [">= 3.2.0"])
84
+ s.add_dependency(%q<bundler>, [">= 1.0.0"])
85
+ s.add_dependency(%q<jeweler>, [">= 1.8.3"])
89
86
  s.add_dependency(%q<sqlite3>, [">= 1.3.5"])
90
87
  end
91
88
  end
@@ -2,6 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <title><%= config_vars_app_name %> Vars</title>
5
+ <%= csrf_meta_tag %>
5
6
  <%= javascript_include_tag 'application' %>
6
7
  </head>
7
8
  <body>
@@ -25,6 +25,7 @@ class ConfigVarsControllerApiTest < ActionController::TestCase
25
25
  assert assigns(:default_vars).map(&:first).
26
26
  include?('config_vars.http_user'),
27
27
  "@default_vars doesn't have config_vars:http_user"
28
+ assert_select 'meta[name="csrf-token"]', nil, 'Missing CSRF token'
28
29
  end
29
30
 
30
31
  test "should get variable value" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: configvars_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,55 +9,44 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-07 00:00:00.000000000Z
12
+ date: 2012-03-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &14079700 !ruby/object:Gem::Requirement
16
+ requirement: &70107924322540 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 3.2.0.rc2
21
+ version: 3.2.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *14079700
24
+ version_requirements: *70107924322540
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
27
- requirement: &14069860 !ruby/object:Gem::Requirement
27
+ requirement: &70107924321760 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
- - - ~>
30
+ - - ! '>='
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.0.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *14069860
35
+ version_requirements: *70107924321760
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: jeweler
38
- requirement: &14068420 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ~>
42
- - !ruby/object:Gem::Version
43
- version: 1.6.0
44
- type: :development
45
- prerelease: false
46
- version_requirements: *14068420
47
- - !ruby/object:Gem::Dependency
48
- name: rcov
49
- requirement: &14066980 !ruby/object:Gem::Requirement
38
+ requirement: &70107924321120 !ruby/object:Gem::Requirement
50
39
  none: false
51
40
  requirements:
52
41
  - - ! '>='
53
42
  - !ruby/object:Gem::Version
54
- version: '0'
43
+ version: 1.8.3
55
44
  type: :development
56
45
  prerelease: false
57
- version_requirements: *14066980
46
+ version_requirements: *70107924321120
58
47
  - !ruby/object:Gem::Dependency
59
48
  name: sqlite3
60
- requirement: &14066120 !ruby/object:Gem::Requirement
49
+ requirement: &70107924320020 !ruby/object:Gem::Requirement
61
50
  none: false
62
51
  requirements:
63
52
  - - ! '>='
@@ -65,7 +54,7 @@ dependencies:
65
54
  version: 1.3.5
66
55
  type: :development
67
56
  prerelease: false
68
- version_requirements: *14066120
57
+ version_requirements: *70107924320020
69
58
  description: ! "This gem provides a model and simple controller for\n storing global
70
59
  application configuration in a database. This allows the\n configuration to change
71
60
  without source code modifications."
@@ -132,7 +121,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
132
121
  version: '0'
133
122
  segments:
134
123
  - 0
135
- hash: -2926765151334171930
124
+ hash: -1731949087483486988
136
125
  required_rubygems_version: !ruby/object:Gem::Requirement
137
126
  none: false
138
127
  requirements:
@@ -141,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
130
  version: '0'
142
131
  requirements: []
143
132
  rubyforge_project:
144
- rubygems_version: 1.8.15
133
+ rubygems_version: 1.8.17
145
134
  signing_key:
146
135
  specification_version: 3
147
136
  summary: Global configuration variables for Rails 3 applications.