challah 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 527be711b0029bdd8bf3990acfd6f8d33b657d86
4
- data.tar.gz: 8b650f17b282fe419dfcd63d95b3070df4e35f47
3
+ metadata.gz: d5dd9f7607415478ba95197e94b636bf004fa112
4
+ data.tar.gz: 8eee2c44ece6a0791b97cb84e31150318ae13304
5
5
  SHA512:
6
- metadata.gz: 21faeb59f101d3893043e030afe95099e93a25fc10f505be3a0e678b9cdf9e824ff70b3b97c6d1e5b850ad48e24eb4a3d24313d738db88e2caedfb3b64be60a7
7
- data.tar.gz: e9aa0d0691521d85ce242460a9f393592ea458c2412afdc5bf2b692f5c9cddb37a6e0fbfd859ecc7a8a95a29afac9fe405325347a735f7ee5ed22478b96e984b
6
+ metadata.gz: 6b9275f0926d1242f954a94103e6fb1df0026c69822af518f0453fcf1012b7dd2b802645b93aefdf275d05524a083e2715f7331de095751f14a8358c1e18eebb
7
+ data.tar.gz: b215eaeb180a41a500ab9a0e690942c4a9237094fe320711f6c4354e349f3bf1fab2948489554b8c64219208b9e308af1ef2f5f21cbad3885012bdaced7240c4
@@ -1,3 +1,7 @@
1
+ ## Challah 1.2.1
2
+
3
+ * Bug fixed when loading `challah/test` in minitest.
4
+
1
5
  ## Challah 1.2.0
2
6
 
3
7
  * Convert tests to RSpec
@@ -41,9 +41,16 @@ module Challah
41
41
  end
42
42
  end
43
43
 
44
- class ActiveSupport::TestCase
45
- include Challah::Testing
46
- setup :signout
44
+ if defined?(ActionController::TestCase)
45
+ Challah.options[:storage_class] = Challah::TestSessionStore
46
+
47
+ class ActionController::TestCase
48
+ include Challah::Testing
49
+
50
+ setup do
51
+ $challah_test_session = nil
52
+ end
53
+ end
47
54
  end
48
55
 
49
56
  if defined?(RSpec)
@@ -1,3 +1,3 @@
1
1
  module Challah
2
- VERSION = "1.2.0" unless defined?(::Challah::VERSION)
2
+ VERSION = "1.2.1" unless defined?(::Challah::VERSION)
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: challah
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Tornow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-10 00:00:00.000000000 Z
11
+ date: 2014-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: highline