rails_current 1.7.0 → 1.8.0

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
+ ZmEzNGM0MmJiYWQxZjFiOWIzMmZlMDEzMjc4NjE5ZWJjZWRiNWQ1ZA==
5
+ data.tar.gz: !binary |-
6
+ MjQ5YmUxNDk4YjlmZWRkNjQ0NmNmODFlMDQ4YWM0MzY2YzRhOTcxNw==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ OGE4MWM3MjAzM2ExMTQ4ZjEwYjczYjU3ZjkyZWNmYWYzZWI2ODYyOTUzNjcy
10
+ MjBlNTk3MThhY2Y4N2E2N2E1NmY0ZDcyNzg5MGE5ZWUyOTE4MDZiNDRmMmIw
11
+ NjU1NWRiN2U1MGU1YjAyZTg3OTkxZGUwYjlmODdiN2U5NDY4M2Y=
12
+ data.tar.gz: !binary |-
13
+ YjZkYzA5ZWI3MzljZGRmYTgxMGEzM2I2OTNkMzBhNmJmZDlmZWMyMDY2MGU0
14
+ MzM4OWI2ZmMyODljNTRjNjE4Mjk4OWRlOTljMWFlNjJhOGNmMTk3NDc5ZTYz
15
+ ZGM1MmJmNzgxNTFhYjI4ZDk3NzFjNTAyZGVlYmVkZWEwZDEyNjQ=
data/lib/rails_current.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Current
4
4
  def Current.version
5
- '1.7.0'
5
+ '1.8.0'
6
6
  end
7
7
 
8
8
  def Current.dependencies
@@ -196,6 +196,9 @@ module Current
196
196
  if Rails.application.nil?
197
197
  mock = Class.new(Rails::Application)
198
198
  Rails.application = mock.instance
199
+ if defined?(Rails.application.config.secret_key_base)
200
+ Rails.application.config.secret_key_base = '42'
201
+ end
199
202
  begin
200
203
  block.call()
201
204
  ensure
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_current
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
5
- prerelease:
4
+ version: 1.8.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Ara T. Howard
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-06-28 00:00:00.000000000 Z
11
+ date: 2013-09-08 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: map
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
@@ -36,31 +33,29 @@ files:
36
33
  - README.md
37
34
  - Rakefile
38
35
  - lib/rails_current.rb
39
- - rails_current.gemspec
40
36
  - test/rails_current_test.rb
41
37
  - test/testing.rb
42
38
  homepage: https://github.com/ahoward/rails_current
43
39
  licenses: []
40
+ metadata: {}
44
41
  post_install_message:
45
42
  rdoc_options: []
46
43
  require_paths:
47
44
  - lib
48
45
  required_ruby_version: !ruby/object:Gem::Requirement
49
- none: false
50
46
  requirements:
51
47
  - - ! '>='
52
48
  - !ruby/object:Gem::Version
53
49
  version: '0'
54
50
  required_rubygems_version: !ruby/object:Gem::Requirement
55
- none: false
56
51
  requirements:
57
52
  - - ! '>='
58
53
  - !ruby/object:Gem::Version
59
54
  version: '0'
60
55
  requirements: []
61
56
  rubyforge_project: codeforpeople
62
- rubygems_version: 1.8.23
57
+ rubygems_version: 2.0.3
63
58
  signing_key:
64
- specification_version: 3
59
+ specification_version: 4
65
60
  summary: rails_current
66
61
  test_files: []
@@ -1,37 +0,0 @@
1
- ## rails_current.gemspec
2
- #
3
-
4
- Gem::Specification::new do |spec|
5
- spec.name = "rails_current"
6
- spec.version = "1.7.0"
7
- spec.platform = Gem::Platform::RUBY
8
- spec.summary = "rails_current"
9
- spec.description = "description: rails_current kicks the ass"
10
-
11
- spec.files =
12
- ["README.md",
13
- "Rakefile",
14
- "lib",
15
- "lib/rails_current.rb",
16
- "rails_current.gemspec",
17
- "test",
18
- "test/rails_current_test.rb",
19
- "test/testing.rb"]
20
-
21
- spec.executables = []
22
-
23
- spec.require_path = "lib"
24
-
25
- spec.test_files = nil
26
-
27
-
28
- spec.add_dependency(*["map", " >= 6.0.1"])
29
-
30
-
31
- spec.extensions.push(*[])
32
-
33
- spec.rubyforge_project = "codeforpeople"
34
- spec.author = "Ara T. Howard"
35
- spec.email = "ara.t.howard@gmail.com"
36
- spec.homepage = "https://github.com/ahoward/rails_current"
37
- end