yappconfig 0.3.0 → 1.0.0

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.
Files changed (71) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +52 -0
  3. data/CHANGELOG.md +6 -0
  4. data/Gemfile +4 -14
  5. data/Gemfile.lock +231 -131
  6. data/LICENSE.txt +1 -1
  7. data/README.md +21 -1
  8. data/Rakefile +10 -38
  9. data/lib/app-config/railtie.rb +7 -0
  10. data/lib/app-config/version.rb +3 -0
  11. data/lib/app-config.rb +3 -3
  12. data/yappconfig.gemspec +18 -108
  13. metadata +17 -87
  14. data/VERSION +0 -1
  15. data/spec/app-config/rails_spec.rb +0 -37
  16. data/spec/app-config_spec.rb +0 -87
  17. data/spec/config/config.yml +0 -0
  18. data/spec/config/reloader.yml +0 -1
  19. data/spec/config/single_stage.yml +0 -1
  20. data/spec/config/test.yml +0 -6
  21. data/spec/dummy/.gitignore +0 -15
  22. data/spec/dummy/Gemfile +0 -38
  23. data/spec/dummy/Gemfile.lock +0 -111
  24. data/spec/dummy/README.rdoc +0 -261
  25. data/spec/dummy/Rakefile +0 -7
  26. data/spec/dummy/app/assets/images/rails.png +0 -0
  27. data/spec/dummy/app/assets/javascripts/application.js +0 -15
  28. data/spec/dummy/app/assets/stylesheets/application.css +0 -13
  29. data/spec/dummy/app/controllers/application_controller.rb +0 -3
  30. data/spec/dummy/app/helpers/application_helper.rb +0 -2
  31. data/spec/dummy/app/mailers/.gitkeep +0 -0
  32. data/spec/dummy/app/models/.gitkeep +0 -0
  33. data/spec/dummy/app/views/layouts/application.html.erb +0 -14
  34. data/spec/dummy/config/application.rb +0 -59
  35. data/spec/dummy/config/boot.rb +0 -6
  36. data/spec/dummy/config/config.yml +0 -0
  37. data/spec/dummy/config/database.yml +0 -25
  38. data/spec/dummy/config/environment.rb +0 -5
  39. data/spec/dummy/config/environments/development.rb +0 -37
  40. data/spec/dummy/config/environments/production.rb +0 -67
  41. data/spec/dummy/config/environments/test.rb +0 -37
  42. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  43. data/spec/dummy/config/initializers/inflections.rb +0 -15
  44. data/spec/dummy/config/initializers/mime_types.rb +0 -5
  45. data/spec/dummy/config/initializers/secret_token.rb +0 -7
  46. data/spec/dummy/config/initializers/session_store.rb +0 -8
  47. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  48. data/spec/dummy/config/locales/en.yml +0 -5
  49. data/spec/dummy/config/routes.rb +0 -58
  50. data/spec/dummy/config.ru +0 -4
  51. data/spec/dummy/db/seeds.rb +0 -7
  52. data/spec/dummy/lib/assets/.gitkeep +0 -0
  53. data/spec/dummy/lib/tasks/.gitkeep +0 -0
  54. data/spec/dummy/log/.gitkeep +0 -0
  55. data/spec/dummy/public/404.html +0 -26
  56. data/spec/dummy/public/422.html +0 -26
  57. data/spec/dummy/public/500.html +0 -25
  58. data/spec/dummy/public/favicon.ico +0 -0
  59. data/spec/dummy/public/index.html +0 -241
  60. data/spec/dummy/public/robots.txt +0 -5
  61. data/spec/dummy/script/rails +0 -6
  62. data/spec/dummy/test/fixtures/.gitkeep +0 -0
  63. data/spec/dummy/test/functional/.gitkeep +0 -0
  64. data/spec/dummy/test/integration/.gitkeep +0 -0
  65. data/spec/dummy/test/performance/browsing_test.rb +0 -12
  66. data/spec/dummy/test/test_helper.rb +0 -13
  67. data/spec/dummy/test/unit/.gitkeep +0 -0
  68. data/spec/dummy/vendor/assets/javascripts/.gitkeep +0 -0
  69. data/spec/dummy/vendor/assets/stylesheets/.gitkeep +0 -0
  70. data/spec/dummy/vendor/plugins/.gitkeep +0 -0
  71. data/spec/spec_helper.rb +0 -21
data/yappconfig.gemspec CHANGED
@@ -1,127 +1,37 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
5
- # stub: yappconfig 0.3.0 ruby lib
1
+ lib = File.expand_path("../lib", __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "app-config/version"
6
4
 
7
5
  Gem::Specification.new do |s|
8
6
  s.name = "yappconfig"
9
- s.version = "0.3.0"
7
+ s.version = AppConfig::VERSION
10
8
 
11
9
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
10
  s.require_paths = ["lib"]
13
11
  s.authors = ["David Somers"]
14
- s.date = "2015-08-18"
12
+ s.date = "2025-02-05"
15
13
  s.description = "yappconfig provides your application with a global configuration based on the environment. The configuration is loaded in from YAML. It has sensible defaults for Rails applications"
16
- s.email = "jalada@gmail.com"
14
+ s.email = "david@jalada.co.uk"
17
15
  s.extra_rdoc_files = [
18
16
  "LICENSE.txt",
19
17
  "README.md"
20
18
  ]
21
- s.files = [
22
- ".document",
23
- ".rspec",
24
- "Gemfile",
25
- "Gemfile.lock",
26
- "LICENSE.txt",
27
- "README.md",
28
- "Rakefile",
29
- "VERSION",
30
- "lib/app-config.rb",
31
- "lib/app-config/railtie.rb",
32
- "lib/yappconfig.rb",
33
- "spec/app-config/rails_spec.rb",
34
- "spec/app-config_spec.rb",
35
- "spec/config/config.yml",
36
- "spec/config/reloader.yml",
37
- "spec/config/single_stage.yml",
38
- "spec/config/test.yml",
39
- "spec/dummy/.gitignore",
40
- "spec/dummy/Gemfile",
41
- "spec/dummy/Gemfile.lock",
42
- "spec/dummy/README.rdoc",
43
- "spec/dummy/Rakefile",
44
- "spec/dummy/app/assets/images/rails.png",
45
- "spec/dummy/app/assets/javascripts/application.js",
46
- "spec/dummy/app/assets/stylesheets/application.css",
47
- "spec/dummy/app/controllers/application_controller.rb",
48
- "spec/dummy/app/helpers/application_helper.rb",
49
- "spec/dummy/app/mailers/.gitkeep",
50
- "spec/dummy/app/models/.gitkeep",
51
- "spec/dummy/app/views/layouts/application.html.erb",
52
- "spec/dummy/config.ru",
53
- "spec/dummy/config/application.rb",
54
- "spec/dummy/config/boot.rb",
55
- "spec/dummy/config/config.yml",
56
- "spec/dummy/config/database.yml",
57
- "spec/dummy/config/environment.rb",
58
- "spec/dummy/config/environments/development.rb",
59
- "spec/dummy/config/environments/production.rb",
60
- "spec/dummy/config/environments/test.rb",
61
- "spec/dummy/config/initializers/backtrace_silencers.rb",
62
- "spec/dummy/config/initializers/inflections.rb",
63
- "spec/dummy/config/initializers/mime_types.rb",
64
- "spec/dummy/config/initializers/secret_token.rb",
65
- "spec/dummy/config/initializers/session_store.rb",
66
- "spec/dummy/config/initializers/wrap_parameters.rb",
67
- "spec/dummy/config/locales/en.yml",
68
- "spec/dummy/config/routes.rb",
69
- "spec/dummy/db/seeds.rb",
70
- "spec/dummy/lib/assets/.gitkeep",
71
- "spec/dummy/lib/tasks/.gitkeep",
72
- "spec/dummy/log/.gitkeep",
73
- "spec/dummy/public/404.html",
74
- "spec/dummy/public/422.html",
75
- "spec/dummy/public/500.html",
76
- "spec/dummy/public/favicon.ico",
77
- "spec/dummy/public/index.html",
78
- "spec/dummy/public/robots.txt",
79
- "spec/dummy/script/rails",
80
- "spec/dummy/test/fixtures/.gitkeep",
81
- "spec/dummy/test/functional/.gitkeep",
82
- "spec/dummy/test/integration/.gitkeep",
83
- "spec/dummy/test/performance/browsing_test.rb",
84
- "spec/dummy/test/test_helper.rb",
85
- "spec/dummy/test/unit/.gitkeep",
86
- "spec/dummy/vendor/assets/javascripts/.gitkeep",
87
- "spec/dummy/vendor/assets/stylesheets/.gitkeep",
88
- "spec/dummy/vendor/plugins/.gitkeep",
89
- "spec/spec_helper.rb",
90
- "yappconfig.gemspec"
91
- ]
19
+ # Specify which files should be added to the gem when it is released.
20
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
21
+ s.files = Dir.chdir(File.expand_path('..', __FILE__)) do
22
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
23
+ end
92
24
  s.homepage = "http://github.com/jalada/yappconfig"
93
25
  s.licenses = ["MIT"]
94
26
  s.rubygems_version = "2.4.8"
95
27
  s.summary = "An application config, best for Rails apps"
96
28
 
97
- if s.respond_to? :specification_version then
98
- s.specification_version = 4
99
-
100
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
101
- s.add_runtime_dependency(%q<hashie>, [">= 0"])
102
- s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
103
- s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
104
- s.add_development_dependency(%q<bundler>, [">= 0"])
105
- s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
106
- s.add_development_dependency(%q<simplecov>, [">= 0"])
107
- s.add_development_dependency(%q<rails>, ["~> 3.2.3"])
108
- else
109
- s.add_dependency(%q<hashie>, [">= 0"])
110
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
111
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
112
- s.add_dependency(%q<bundler>, [">= 0"])
113
- s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
114
- s.add_dependency(%q<simplecov>, [">= 0"])
115
- s.add_dependency(%q<rails>, ["~> 3.2.3"])
116
- end
117
- else
118
- s.add_dependency(%q<hashie>, [">= 0"])
119
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
120
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
121
- s.add_dependency(%q<bundler>, [">= 0"])
122
- s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
123
- s.add_dependency(%q<simplecov>, [">= 0"])
124
- s.add_dependency(%q<rails>, ["~> 3.2.3"])
125
- end
29
+ s.required_ruby_version = ">= 3.1"
30
+ s.add_runtime_dependency "hashie", ">= 0"
31
+ s.add_development_dependency "rspec", "~> 3.0"
32
+ s.add_development_dependency "rdoc", "~> 6.11"
33
+ s.add_development_dependency "bundler", ">= 0"
34
+ s.add_development_dependency "simplecov", ">= 0"
35
+ s.add_development_dependency "rails", "~> 7.0"
126
36
  end
127
37
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yappconfig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Somers
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-18 00:00:00.000000000 Z
11
+ date: 2025-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.8.0
33
+ version: '3.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 2.8.0
40
+ version: '3.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rdoc
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '3.12'
47
+ version: '6.11'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '3.12'
54
+ version: '6.11'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: jeweler
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: 1.8.3
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: 1.8.3
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: simplecov
85
71
  requirement: !ruby/object:Gem::Requirement
@@ -100,18 +86,18 @@ dependencies:
100
86
  requirements:
101
87
  - - "~>"
102
88
  - !ruby/object:Gem::Version
103
- version: 3.2.3
89
+ version: '7.0'
104
90
  type: :development
105
91
  prerelease: false
106
92
  version_requirements: !ruby/object:Gem::Requirement
107
93
  requirements:
108
94
  - - "~>"
109
95
  - !ruby/object:Gem::Version
110
- version: 3.2.3
96
+ version: '7.0'
111
97
  description: yappconfig provides your application with a global configuration based
112
98
  on the environment. The configuration is loaded in from YAML. It has sensible defaults
113
99
  for Rails applications
114
- email: jalada@gmail.com
100
+ email: david@jalada.co.uk
115
101
  executables: []
116
102
  extensions: []
117
103
  extra_rdoc_files:
@@ -119,79 +105,24 @@ extra_rdoc_files:
119
105
  - README.md
120
106
  files:
121
107
  - ".document"
108
+ - ".gitignore"
122
109
  - ".rspec"
110
+ - CHANGELOG.md
123
111
  - Gemfile
124
112
  - Gemfile.lock
125
113
  - LICENSE.txt
126
114
  - README.md
127
115
  - Rakefile
128
- - VERSION
129
116
  - lib/app-config.rb
130
117
  - lib/app-config/railtie.rb
118
+ - lib/app-config/version.rb
131
119
  - lib/yappconfig.rb
132
- - spec/app-config/rails_spec.rb
133
- - spec/app-config_spec.rb
134
- - spec/config/config.yml
135
- - spec/config/reloader.yml
136
- - spec/config/single_stage.yml
137
- - spec/config/test.yml
138
- - spec/dummy/.gitignore
139
- - spec/dummy/Gemfile
140
- - spec/dummy/Gemfile.lock
141
- - spec/dummy/README.rdoc
142
- - spec/dummy/Rakefile
143
- - spec/dummy/app/assets/images/rails.png
144
- - spec/dummy/app/assets/javascripts/application.js
145
- - spec/dummy/app/assets/stylesheets/application.css
146
- - spec/dummy/app/controllers/application_controller.rb
147
- - spec/dummy/app/helpers/application_helper.rb
148
- - spec/dummy/app/mailers/.gitkeep
149
- - spec/dummy/app/models/.gitkeep
150
- - spec/dummy/app/views/layouts/application.html.erb
151
- - spec/dummy/config.ru
152
- - spec/dummy/config/application.rb
153
- - spec/dummy/config/boot.rb
154
- - spec/dummy/config/config.yml
155
- - spec/dummy/config/database.yml
156
- - spec/dummy/config/environment.rb
157
- - spec/dummy/config/environments/development.rb
158
- - spec/dummy/config/environments/production.rb
159
- - spec/dummy/config/environments/test.rb
160
- - spec/dummy/config/initializers/backtrace_silencers.rb
161
- - spec/dummy/config/initializers/inflections.rb
162
- - spec/dummy/config/initializers/mime_types.rb
163
- - spec/dummy/config/initializers/secret_token.rb
164
- - spec/dummy/config/initializers/session_store.rb
165
- - spec/dummy/config/initializers/wrap_parameters.rb
166
- - spec/dummy/config/locales/en.yml
167
- - spec/dummy/config/routes.rb
168
- - spec/dummy/db/seeds.rb
169
- - spec/dummy/lib/assets/.gitkeep
170
- - spec/dummy/lib/tasks/.gitkeep
171
- - spec/dummy/log/.gitkeep
172
- - spec/dummy/public/404.html
173
- - spec/dummy/public/422.html
174
- - spec/dummy/public/500.html
175
- - spec/dummy/public/favicon.ico
176
- - spec/dummy/public/index.html
177
- - spec/dummy/public/robots.txt
178
- - spec/dummy/script/rails
179
- - spec/dummy/test/fixtures/.gitkeep
180
- - spec/dummy/test/functional/.gitkeep
181
- - spec/dummy/test/integration/.gitkeep
182
- - spec/dummy/test/performance/browsing_test.rb
183
- - spec/dummy/test/test_helper.rb
184
- - spec/dummy/test/unit/.gitkeep
185
- - spec/dummy/vendor/assets/javascripts/.gitkeep
186
- - spec/dummy/vendor/assets/stylesheets/.gitkeep
187
- - spec/dummy/vendor/plugins/.gitkeep
188
- - spec/spec_helper.rb
189
120
  - yappconfig.gemspec
190
121
  homepage: http://github.com/jalada/yappconfig
191
122
  licenses:
192
123
  - MIT
193
124
  metadata: {}
194
- post_install_message:
125
+ post_install_message:
195
126
  rdoc_options: []
196
127
  require_paths:
197
128
  - lib
@@ -199,16 +130,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
199
130
  requirements:
200
131
  - - ">="
201
132
  - !ruby/object:Gem::Version
202
- version: '0'
133
+ version: '3.1'
203
134
  required_rubygems_version: !ruby/object:Gem::Requirement
204
135
  requirements:
205
136
  - - ">="
206
137
  - !ruby/object:Gem::Version
207
138
  version: '0'
208
139
  requirements: []
209
- rubyforge_project:
210
- rubygems_version: 2.4.8
211
- signing_key:
140
+ rubygems_version: 3.3.27
141
+ signing_key:
212
142
  specification_version: 4
213
143
  summary: An application config, best for Rails apps
214
144
  test_files: []
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.3.0
@@ -1,37 +0,0 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
-
3
- ENV["RAILS_ENV"] ||= "test"
4
- require File.expand_path("../../dummy/config/environment.rb", __FILE__)
5
-
6
- require 'app-config/railtie'
7
-
8
- describe "AppConfig with Rails" do
9
-
10
- before do
11
- ActiveSupport.run_load_hooks(:before_configuration)
12
- end
13
-
14
- it "Should default to the Rails environment" do
15
- AppConfig.configuration.environment.should == Rails.env
16
- end
17
-
18
- it "Should default to Rails.root/config/config.yml" do
19
- AppConfig.configuration.config_file.should == Rails.root.join("config/config.yml")
20
- end
21
-
22
- it "Auto reloads if the Rails environment is development" do
23
- Rails.env = "development"
24
- AppConfig::Railtie.initializers.map{|i| i.run}
25
- AppConfig.configuration.auto_reload.should == true
26
- end
27
-
28
- it "Doesn't auto-reload if the Rails environment is production" do
29
- Rails.env = "production"
30
- ActiveSupport.run_load_hooks(:before_configuration)
31
-
32
- AppConfig::Railtie.initializers.map{|i| i.run}
33
- AppConfig.configuration.auto_reload.should_not == true
34
- end
35
-
36
-
37
- end
@@ -1,87 +0,0 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
-
3
- describe "AppConfig" do
4
-
5
-
6
- it "Should be accessible through APP_CONFIG too" do
7
- APP_CONFIG.should == AppConfig
8
- end
9
-
10
- it "Should set a config file" do
11
- AppConfig.configure do |config|
12
- config.config_file = config_file("test.yml")
13
- end
14
- AppConfig.configuration.config_file.should == config_file("test.yml")
15
- end
16
-
17
- it "Should set an environment" do
18
- AppConfig.configure do |config|
19
- config.environment = "production"
20
- end
21
- AppConfig.configuration.environment.should == "production"
22
- end
23
-
24
- it "Should raise an exception if config is accessed without setting a file" do
25
- expect { AppConfig.random_method }.to raise_error(AppConfig::Error, /Please set/)
26
- end
27
-
28
- it "Should default to autoreload" do
29
- AppConfig.configuration.auto_reload.should == true
30
- end
31
-
32
- describe "accessing the config" do
33
- describe "Single stage configuration" do
34
- before :each do
35
- AppConfig.configure do |config|
36
- config.config_file = config_file("single_stage.yml")
37
- end
38
- end
39
-
40
- it "Should work" do
41
- AppConfig.simple_config.should == "is simple"
42
- end
43
- end
44
-
45
- before :each do
46
- AppConfig.configure do |config|
47
- config.config_file = config_file("test.yml")
48
- config.environment = "development"
49
- end
50
- end
51
-
52
- it "Should support dot notation" do
53
- AppConfig.test_key.should == "value"
54
- end
55
-
56
- it "Should support square bracket notation" do
57
- AppConfig[:test_key].should == "value"
58
- end
59
-
60
- describe "With auto-reload" do
61
- before :all do
62
- @original = File.read config_file("reloader.yml")
63
- end
64
-
65
- after :each do
66
- f = File.open(config_file("reloader.yml"), "w")
67
- f.write @original
68
- f.close
69
- end
70
-
71
- before :each do
72
- AppConfig.configure do |config|
73
- config.config_file = config_file("reloader.yml")
74
- config.auto_reload = true
75
- end
76
- end
77
-
78
- it "Should auto_reload on file change" do
79
- AppConfig.test_key.should == 1
80
- f = File.open(config_file("reloader.yml"), "w")
81
- f.write(@original.gsub(/1/, "2"))
82
- f.close
83
- AppConfig.test_key.should == 2
84
- end
85
- end
86
- end
87
- end
File without changes
@@ -1 +0,0 @@
1
- :test_key: 1
@@ -1 +0,0 @@
1
- :simple_config: "is simple"
data/spec/config/test.yml DELETED
@@ -1,6 +0,0 @@
1
- defaults: &defaults
2
-
3
- :test_key: "value"
4
-
5
- development:
6
- <<: *defaults
@@ -1,15 +0,0 @@
1
- # See http://help.github.com/ignore-files/ for more about ignoring files.
2
- #
3
- # If you find yourself ignoring temporary files generated by your text editor
4
- # or operating system, you probably want to add a global ignore instead:
5
- # git config --global core.excludesfile ~/.gitignore_global
6
-
7
- # Ignore bundler config
8
- /.bundle
9
-
10
- # Ignore the default SQLite database.
11
- /db/*.sqlite3
12
-
13
- # Ignore all logfiles and tempfiles.
14
- /log/*.log
15
- /tmp
data/spec/dummy/Gemfile DELETED
@@ -1,38 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'rails', '3.2.3'
4
-
5
- # Bundle edge Rails instead:
6
- # gem 'rails', :git => 'git://github.com/rails/rails.git'
7
-
8
- gem 'sqlite3'
9
-
10
-
11
- # Gems used only for assets and not required
12
- # in production environments by default.
13
- group :assets do
14
- gem 'sass-rails', '~> 3.2.3'
15
- gem 'coffee-rails', '~> 3.2.1'
16
-
17
- # See https://github.com/sstephenson/execjs#readme for more supported runtimes
18
- # gem 'therubyracer', :platform => :ruby
19
-
20
- gem 'uglifier', '>= 1.0.3'
21
- end
22
-
23
- gem 'jquery-rails'
24
-
25
- # To use ActiveModel has_secure_password
26
- # gem 'bcrypt-ruby', '~> 3.0.0'
27
-
28
- # To use Jbuilder templates for JSON
29
- # gem 'jbuilder'
30
-
31
- # Use unicorn as the app server
32
- # gem 'unicorn'
33
-
34
- # Deploy with Capistrano
35
- # gem 'capistrano'
36
-
37
- # To use debugger
38
- # gem 'ruby-debug19', :require => 'ruby-debug'
@@ -1,111 +0,0 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
- actionmailer (3.2.3)
5
- actionpack (= 3.2.3)
6
- mail (~> 2.4.4)
7
- actionpack (3.2.3)
8
- activemodel (= 3.2.3)
9
- activesupport (= 3.2.3)
10
- builder (~> 3.0.0)
11
- erubis (~> 2.7.0)
12
- journey (~> 1.0.1)
13
- rack (~> 1.4.0)
14
- rack-cache (~> 1.2)
15
- rack-test (~> 0.6.1)
16
- sprockets (~> 2.1.2)
17
- activemodel (3.2.3)
18
- activesupport (= 3.2.3)
19
- builder (~> 3.0.0)
20
- activerecord (3.2.3)
21
- activemodel (= 3.2.3)
22
- activesupport (= 3.2.3)
23
- arel (~> 3.0.2)
24
- tzinfo (~> 0.3.29)
25
- activeresource (3.2.3)
26
- activemodel (= 3.2.3)
27
- activesupport (= 3.2.3)
28
- activesupport (3.2.3)
29
- i18n (~> 0.6)
30
- multi_json (~> 1.0)
31
- arel (3.0.2)
32
- builder (3.0.0)
33
- coffee-rails (3.2.2)
34
- coffee-script (>= 2.2.0)
35
- railties (~> 3.2.0)
36
- coffee-script (2.2.0)
37
- coffee-script-source
38
- execjs
39
- coffee-script-source (1.3.1)
40
- erubis (2.7.0)
41
- execjs (1.3.0)
42
- multi_json (~> 1.0)
43
- hike (1.2.1)
44
- i18n (0.6.0)
45
- journey (1.0.3)
46
- jquery-rails (2.0.2)
47
- railties (>= 3.2.0, < 5.0)
48
- thor (~> 0.14)
49
- json (1.6.6)
50
- mail (2.4.4)
51
- i18n (>= 0.4.0)
52
- mime-types (~> 1.16)
53
- treetop (~> 1.4.8)
54
- mime-types (1.18)
55
- multi_json (1.2.0)
56
- polyglot (0.3.3)
57
- rack (1.4.1)
58
- rack-cache (1.2)
59
- rack (>= 0.4)
60
- rack-ssl (1.3.2)
61
- rack
62
- rack-test (0.6.1)
63
- rack (>= 1.0)
64
- rails (3.2.3)
65
- actionmailer (= 3.2.3)
66
- actionpack (= 3.2.3)
67
- activerecord (= 3.2.3)
68
- activeresource (= 3.2.3)
69
- activesupport (= 3.2.3)
70
- bundler (~> 1.0)
71
- railties (= 3.2.3)
72
- railties (3.2.3)
73
- actionpack (= 3.2.3)
74
- activesupport (= 3.2.3)
75
- rack-ssl (~> 1.3.2)
76
- rake (>= 0.8.7)
77
- rdoc (~> 3.4)
78
- thor (~> 0.14.6)
79
- rake (0.9.2.2)
80
- rdoc (3.12)
81
- json (~> 1.4)
82
- sass (3.1.15)
83
- sass-rails (3.2.5)
84
- railties (~> 3.2.0)
85
- sass (>= 3.1.10)
86
- tilt (~> 1.3)
87
- sprockets (2.1.2)
88
- hike (~> 1.2)
89
- rack (~> 1.0)
90
- tilt (~> 1.1, != 1.3.0)
91
- sqlite3 (1.3.5)
92
- thor (0.14.6)
93
- tilt (1.3.3)
94
- treetop (1.4.10)
95
- polyglot
96
- polyglot (>= 0.3.1)
97
- tzinfo (0.3.33)
98
- uglifier (1.2.4)
99
- execjs (>= 0.3.0)
100
- multi_json (>= 1.0.2)
101
-
102
- PLATFORMS
103
- ruby
104
-
105
- DEPENDENCIES
106
- coffee-rails (~> 3.2.1)
107
- jquery-rails
108
- rails (= 3.2.3)
109
- sass-rails (~> 3.2.3)
110
- sqlite3
111
- uglifier (>= 1.0.3)