configurable_engine 0.2.9 → 0.2.10

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
+ OTdiNjU1NDU1YzhkOTMyNDY5YzdhN2IwMmUyMDJiNGNhOGQ1Nzc3ZQ==
5
+ data.tar.gz: !binary |-
6
+ YmQ3ZGEyNzc4NjNiOGM3ZTQyMTc2ZDhjYWE2ZTMyYTY5YzRlZjNiYw==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ ZDk4Y2NiNWRhYWUyNmUyMjQ4ZmZlMTkxOTg1MjIyZjNlYzZlMjIyYTQzNDIx
10
+ MzdiOWQ3OGIyY2ZiOGMwZTU4ZDI4MWMxYWFiZjhlNThiOWQ4MTVjMDYyZjEw
11
+ NWYxYjQwNDc2OGFjNmFhNjdjZWM0NzRiMDhhZDI0ZTVlNGIyNTg=
12
+ data.tar.gz: !binary |-
13
+ MTkwZWQ2NzQ3ZDg0MmM3MjhkZWExMjhmMWU3YTIxYjhmY2VjNjljMjY5YTlk
14
+ ZmVhOWMyMTU2Nzk3OTA1YTkwZjMyMjA2OTcxZWZkNWUyNGQzYmVjYTc4MmNl
15
+ NjkzNjU4MjMyYjdjZTExYjQ1NGU2NDk1YzE2ZGRiODMxODA3YjI=
data/Gemfile.lock CHANGED
@@ -1,36 +1,66 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- builder (3.0.0)
5
- cucumber (0.10.0)
4
+ addressable (2.3.5)
5
+ builder (3.2.2)
6
+ cucumber (1.3.8)
6
7
  builder (>= 2.1.2)
7
- diff-lcs (~> 1.1.2)
8
- gherkin (~> 2.3.2)
9
- json (~> 1.4.6)
10
- term-ansicolor (~> 1.0.5)
11
- diff-lcs (1.1.2)
12
- gemcutter (0.6.1)
13
- gherkin (2.3.3)
14
- json (~> 1.4.6)
15
- git (1.2.5)
16
- jeweler (1.4.0)
17
- gemcutter (>= 0.1.0)
8
+ diff-lcs (>= 1.1.3)
9
+ gherkin (~> 2.12.1)
10
+ multi_json (>= 1.7.5, < 2.0)
11
+ multi_test (>= 0.0.2)
12
+ diff-lcs (1.2.4)
13
+ faraday (0.8.8)
14
+ multipart-post (~> 1.2.0)
15
+ gherkin (2.12.1)
16
+ multi_json (~> 1.3)
17
+ git (1.2.6)
18
+ github_api (0.10.1)
19
+ addressable
20
+ faraday (~> 0.8.1)
21
+ hashie (>= 1.2)
22
+ multi_json (~> 1.4)
23
+ nokogiri (~> 1.5.2)
24
+ oauth2
25
+ hashie (2.0.5)
26
+ highline (1.6.19)
27
+ httpauth (0.2.0)
28
+ jeweler (1.8.7)
29
+ builder
30
+ bundler (~> 1.0)
18
31
  git (>= 1.2.5)
19
- rubyforge (>= 2.0.0)
20
- json (1.4.6)
21
- json_pure (1.5.3)
22
- rake (0.8.7)
23
- rspec (2.4.0)
24
- rspec-core (~> 2.4.0)
25
- rspec-expectations (~> 2.4.0)
26
- rspec-mocks (~> 2.4.0)
27
- rspec-core (2.4.0)
28
- rspec-expectations (2.4.0)
29
- diff-lcs (~> 1.1.2)
30
- rspec-mocks (2.4.0)
31
- rubyforge (2.0.4)
32
- json_pure (>= 1.1.7)
33
- term-ansicolor (1.0.5)
32
+ github_api (= 0.10.1)
33
+ highline (>= 1.6.15)
34
+ nokogiri (= 1.5.10)
35
+ rake
36
+ rdoc
37
+ json (1.8.0)
38
+ jwt (0.1.8)
39
+ multi_json (>= 1.5)
40
+ multi_json (1.8.0)
41
+ multi_test (0.0.2)
42
+ multi_xml (0.5.5)
43
+ multipart-post (1.2.0)
44
+ nokogiri (1.5.10)
45
+ oauth2 (0.9.2)
46
+ faraday (~> 0.8)
47
+ httpauth (~> 0.2)
48
+ jwt (~> 0.1.4)
49
+ multi_json (~> 1.0)
50
+ multi_xml (~> 0.5)
51
+ rack (~> 1.2)
52
+ rack (1.5.2)
53
+ rake (10.1.0)
54
+ rdoc (4.0.1)
55
+ json (~> 1.4)
56
+ rspec (2.14.1)
57
+ rspec-core (~> 2.14.0)
58
+ rspec-expectations (~> 2.14.0)
59
+ rspec-mocks (~> 2.14.0)
60
+ rspec-core (2.14.5)
61
+ rspec-expectations (2.14.3)
62
+ diff-lcs (>= 1.1.3, < 2.0)
63
+ rspec-mocks (2.14.3)
34
64
 
35
65
  PLATFORMS
36
66
  ruby
data/README.md CHANGED
@@ -20,7 +20,7 @@ Then run the `configurable_engine:install` generator:
20
20
 
21
21
  ## Usage ##
22
22
 
23
- There are two parts to how behavior works. First of all there is a config file, config/configurable.yml. This file controls the variables that are allowed to be set in the app.
23
+ There are two parts to how configurable_engine works. First of all there is a config file, config/configurable.yml. This file controls the variables that are allowed to be set in the app.
24
24
 
25
25
  For example, if you wanted to have access to a config variable "site_title", put this in configurable.yml:
26
26
 
@@ -53,7 +53,7 @@ and include `ConfigurableEngine::ConfigurablesController`, eg.
53
53
  layout 'admin'
54
54
  end
55
55
 
56
- If you want to control how the fields in the admin interface appear, you can add additional params in your behavior.yml file:
56
+ If you want to control how the fields in the admin interface appear, you can add additional params in your configurable.yml file:
57
57
 
58
58
  site_title:
59
59
  name: Name of Your Site # sets the edit label
data/Rakefile CHANGED
@@ -43,12 +43,3 @@ Cucumber::Rake::Task.new(:features)
43
43
 
44
44
  task :default => :spec
45
45
 
46
- require 'rake/rdoctask'
47
- Rake::RDocTask.new do |rdoc|
48
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
49
-
50
- rdoc.rdoc_dir = 'rdoc'
51
- rdoc.title = "configurable #{version}"
52
- rdoc.rdoc_files.include('README*')
53
- rdoc.rdoc_files.include('lib/**/*.rb')
54
- end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.9
1
+ 0.2.10
@@ -1,59 +1,70 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{configurable_engine}
7
+ s.name = "configurable_engine"
8
8
  s.version = "0.2.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = [%q{Paul Campbell}]
12
- s.date = %q{2011-08-29}
13
- s.description = %q{Configurable is a Rails 3 engine that allows you to set up config variables in a config file, specifying default values for all environments. These variables can then be set on a per-app basis using a user facing configuration screen. }
14
- s.email = %q{paul@rslw.com}
11
+ s.authors = ["Paul Campbell"]
12
+ s.date = "2013-09-29"
13
+ s.description = "Configurable is a Rails 3 engine that allows you to set up config variables in a config file, specifying default values for all environments. These variables can then be set on a per-app basis using a user facing configuration screen. "
14
+ s.email = "paul@rslw.com"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
- "README.md"
17
+ "README.md"
18
18
  ]
19
19
  s.files = [
20
20
  "CHANGELOG",
21
- "Gemfile",
22
- "Gemfile.lock",
23
- "LICENSE.txt",
24
- "README.md",
25
- "Rakefile",
26
- "VERSION",
27
- "app/controllers/admin/configurables_controller.rb",
28
- "app/models/configurable.rb",
29
- "app/views/admin/configurables/show.html.erb",
30
- "config/routes.rb",
31
- "configurable_engine.gemspec",
32
- "lib/configurable_engine.rb",
33
- "lib/configurable_engine/configurables_controller.rb",
34
- "lib/configurable_engine/engine.rb",
35
- "lib/generators/configurable_engine/install_generator.rb",
36
- "lib/generators/configurable_engine/templates/configurable.yml",
37
- "lib/generators/configurable_engine/templates/migration.rb"
21
+ "Gemfile",
22
+ "Gemfile.lock",
23
+ "LICENSE.txt",
24
+ "README.md",
25
+ "Rakefile",
26
+ "VERSION",
27
+ "app/controllers/admin/configurables_controller.rb",
28
+ "app/models/configurable.rb",
29
+ "app/views/admin/configurables/show.html.erb",
30
+ "config/routes.rb",
31
+ "configurable_engine.gemspec",
32
+ "lib/configurable_engine.rb",
33
+ "lib/configurable_engine/configurables_controller.rb",
34
+ "lib/configurable_engine/engine.rb",
35
+ "lib/generators/configurable_engine/install_generator.rb",
36
+ "lib/generators/configurable_engine/templates/configurable.yml",
37
+ "lib/generators/configurable_engine/templates/migration.rb"
38
38
  ]
39
- s.homepage = %q{http://github.com/paulca/configurable_engine}
40
- s.licenses = [%q{MIT}]
41
- s.rdoc_options = [%q{--charset=UTF-8}]
42
- s.require_paths = [%q{lib}]
43
- s.rubygems_version = %q{1.8.6}
44
- s.summary = %q{Database-backed configuration for Rails 3, with defaults from config file.}
39
+ s.homepage = "http://github.com/paulca/configurable_engine"
40
+ s.licenses = ["MIT"]
41
+ s.require_paths = ["lib"]
42
+ s.rubygems_version = "2.0.3"
43
+ s.summary = "Database-backed configuration for Rails 3, with defaults from config file."
45
44
 
46
45
  if s.respond_to? :specification_version then
47
- s.specification_version = 3
46
+ s.specification_version = 4
48
47
 
49
48
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
49
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
50
+ s.add_development_dependency(%q<rake>, [">= 0"])
51
+ s.add_development_dependency(%q<rspec>, [">= 0"])
52
+ s.add_development_dependency(%q<cucumber>, [">= 0"])
50
53
  s.add_runtime_dependency(%q<rails>, ["~> 3"])
51
54
  s.add_runtime_dependency(%q<activerecord>, ["~> 3"])
52
55
  else
56
+ s.add_dependency(%q<jeweler>, [">= 0"])
57
+ s.add_dependency(%q<rake>, [">= 0"])
58
+ s.add_dependency(%q<rspec>, [">= 0"])
59
+ s.add_dependency(%q<cucumber>, [">= 0"])
53
60
  s.add_dependency(%q<rails>, ["~> 3"])
54
61
  s.add_dependency(%q<activerecord>, ["~> 3"])
55
62
  end
56
63
  else
64
+ s.add_dependency(%q<jeweler>, [">= 0"])
65
+ s.add_dependency(%q<rake>, [">= 0"])
66
+ s.add_dependency(%q<rspec>, [">= 0"])
67
+ s.add_dependency(%q<cucumber>, [">= 0"])
57
68
  s.add_dependency(%q<rails>, ["~> 3"])
58
69
  s.add_dependency(%q<activerecord>, ["~> 3"])
59
70
  end
metadata CHANGED
@@ -1,38 +1,99 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: configurable_engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
5
- prerelease:
4
+ version: 0.2.10
6
5
  platform: ruby
7
6
  authors:
8
7
  - Paul Campbell
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2011-08-29 00:00:00.000000000Z
11
+ date: 2013-09-29 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
14
+ prerelease: false
15
+ version_requirements: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ! '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ name: jeweler
21
+ requirement: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - ! '>='
24
+ - !ruby/object:Gem::Version
25
+ version: '0'
26
+ type: :development
27
+ - !ruby/object:Gem::Dependency
28
+ prerelease: false
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ name: rake
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ! '>='
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ type: :development
41
+ - !ruby/object:Gem::Dependency
42
+ prerelease: false
43
+ version_requirements: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ name: rspec
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ - !ruby/object:Gem::Dependency
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ name: cucumber
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ! '>='
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ type: :development
69
+ - !ruby/object:Gem::Dependency
70
+ prerelease: false
71
+ version_requirements: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: '3'
15
76
  name: rails
16
- requirement: &70297958263040 !ruby/object:Gem::Requirement
17
- none: false
77
+ requirement: !ruby/object:Gem::Requirement
18
78
  requirements:
19
79
  - - ~>
20
80
  - !ruby/object:Gem::Version
21
81
  version: '3'
22
82
  type: :runtime
23
- prerelease: false
24
- version_requirements: *70297958263040
25
83
  - !ruby/object:Gem::Dependency
84
+ prerelease: false
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: '3'
26
90
  name: activerecord
27
- requirement: &70297958251220 !ruby/object:Gem::Requirement
28
- none: false
91
+ requirement: !ruby/object:Gem::Requirement
29
92
  requirements:
30
93
  - - ~>
31
94
  - !ruby/object:Gem::Version
32
95
  version: '3'
33
96
  type: :runtime
34
- prerelease: false
35
- version_requirements: *70297958251220
36
97
  description: ! 'Configurable is a Rails 3 engine that allows you to set up config
37
98
  variables in a config file, specifying default values for all environments. These
38
99
  variables can then be set on a per-app basis using a user facing configuration screen. '
@@ -64,30 +125,25 @@ files:
64
125
  homepage: http://github.com/paulca/configurable_engine
65
126
  licenses:
66
127
  - MIT
128
+ metadata: {}
67
129
  post_install_message:
68
- rdoc_options:
69
- - --charset=UTF-8
130
+ rdoc_options: []
70
131
  require_paths:
71
132
  - lib
72
133
  required_ruby_version: !ruby/object:Gem::Requirement
73
- none: false
74
134
  requirements:
75
135
  - - ! '>='
76
136
  - !ruby/object:Gem::Version
77
137
  version: '0'
78
- segments:
79
- - 0
80
- hash: 4438324471680151781
81
138
  required_rubygems_version: !ruby/object:Gem::Requirement
82
- none: false
83
139
  requirements:
84
140
  - - ! '>='
85
141
  - !ruby/object:Gem::Version
86
142
  version: '0'
87
143
  requirements: []
88
144
  rubyforge_project:
89
- rubygems_version: 1.8.6
145
+ rubygems_version: 2.0.3
90
146
  signing_key:
91
- specification_version: 3
147
+ specification_version: 4
92
148
  summary: Database-backed configuration for Rails 3, with defaults from config file.
93
149
  test_files: []