appconfig 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010 [name of plugin creator]
1
+ Copyright (c) 2010 Joshua Krall & Tisho Georgiev
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -87,6 +87,11 @@ Found a bug?
87
87
 
88
88
  By all means, drop us a line. Or better yet, fork the project, fix the bug and send us a pull request. We'll thank you for it.
89
89
 
90
+ Credits
91
+ =======
92
+
93
+ AppConfig was extracted with little modification from the loving embrace of the [TransFS](http://transfs.com) codebase, which to this day helps businesses quickly and easily compare the best credit card processors. For more open-source love from [TFS](htp://transfs.com), please take a look at [Stylist](http://github.com/tisho/stylist) and [FunnelCake](http://github.com/jkrall/funnel_cake).
94
+
90
95
  License
91
96
  =======
92
97
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{appconfig}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tisho Georgiev", "Joshua Krall"]
12
- s.date = %q{2010-03-25}
12
+ s.date = %q{2010-10-25}
13
13
  s.description = %q{Provides an OpenStruct/Hash-like syntax for accessing your app's configuration options, loaded from a YAML file. Supports multiple configuration files, nested configuration groups and fallback options.}
14
14
  s.email = %q{tihomir.georgiev@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -39,7 +39,7 @@ Gem::Specification.new do |s|
39
39
  s.homepage = %q{http://github.com/tisho/appconfig}
40
40
  s.rdoc_options = ["--charset=UTF-8"]
41
41
  s.require_paths = ["lib"]
42
- s.rubygems_version = %q{1.3.6}
42
+ s.rubygems_version = %q{1.3.7}
43
43
  s.summary = %q{Provides an OpenStruct/Hash-like syntax for accessing your app's configuration options, loaded from a YAML file.}
44
44
  s.test_files = [
45
45
  "spec/app_config_spec.rb",
@@ -50,7 +50,7 @@ Gem::Specification.new do |s|
50
50
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
51
51
  s.specification_version = 3
52
52
 
53
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
53
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
54
54
  s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
55
55
  s.add_development_dependency(%q<rails>, [">= 2.3"])
56
56
  else
@@ -1,8 +1,7 @@
1
1
  module AppConfig
2
2
  class Railtie < Rails::Railtie
3
- railtie_name :app_config
4
-
5
3
  initializer :load_app_config, :before => :load_application_initializers do |app|
4
+ ::AppConfig.reload!
6
5
  end
7
6
 
8
7
  config.to_prepare { ::AppConfig.reload! }
@@ -2,7 +2,7 @@ module AppConfig
2
2
  module VERSION
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appconfig
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 25
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 1
8
- - 0
9
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Tisho Georgiev
@@ -15,16 +16,18 @@ autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2010-03-25 00:00:00 +02:00
19
+ date: 2010-10-25 00:00:00 +03:00
19
20
  default_executable:
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency
22
23
  name: rspec
23
24
  prerelease: false
24
25
  requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
25
27
  requirements:
26
28
  - - ">="
27
29
  - !ruby/object:Gem::Version
30
+ hash: 13
28
31
  segments:
29
32
  - 1
30
33
  - 2
@@ -36,9 +39,11 @@ dependencies:
36
39
  name: rails
37
40
  prerelease: false
38
41
  requirement: &id002 !ruby/object:Gem::Requirement
42
+ none: false
39
43
  requirements:
40
44
  - - ">="
41
45
  - !ruby/object:Gem::Version
46
+ hash: 5
42
47
  segments:
43
48
  - 2
44
49
  - 3
@@ -83,23 +88,27 @@ rdoc_options:
83
88
  require_paths:
84
89
  - lib
85
90
  required_ruby_version: !ruby/object:Gem::Requirement
91
+ none: false
86
92
  requirements:
87
93
  - - ">="
88
94
  - !ruby/object:Gem::Version
95
+ hash: 3
89
96
  segments:
90
97
  - 0
91
98
  version: "0"
92
99
  required_rubygems_version: !ruby/object:Gem::Requirement
100
+ none: false
93
101
  requirements:
94
102
  - - ">="
95
103
  - !ruby/object:Gem::Version
104
+ hash: 3
96
105
  segments:
97
106
  - 0
98
107
  version: "0"
99
108
  requirements: []
100
109
 
101
110
  rubyforge_project:
102
- rubygems_version: 1.3.6
111
+ rubygems_version: 1.3.7
103
112
  signing_key:
104
113
  specification_version: 3
105
114
  summary: Provides an OpenStruct/Hash-like syntax for accessing your app's configuration options, loaded from a YAML file.