minispec-metadata 3.2.2 → 3.3.0

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: 02cc25356ebf5f117efc0b84adcad229785db15d
4
- data.tar.gz: 1f2195229546e47021352d4b6602fb7f13aee5f2
3
+ metadata.gz: ae289751adacf045d0236252550d4c0c5744c39e
4
+ data.tar.gz: 98707be12e9f7138942436f150732dfdb7949e50
5
5
  SHA512:
6
- metadata.gz: f10f766426bd095ff27c08c6485a4b226e7e4b7bf4a1cffca377eb8214ef972514fb280978ed3ae5c0fd36711be7a909534abfb6c56f7c65fde4ee88ef534396
7
- data.tar.gz: 5e44eba47f78b04360cc5fc3a0167f59d0b5e28ec5e4b69545f23d32bbc190d7658c2601719639a57c62d6a9e7ad3e0f44c750a2293dbae3a5377e58b7cc4c82
6
+ metadata.gz: eaae215121d39112ca09e2b248a2d4301faa503d9566ba296c36c0eb20f1719eb247dd33b9812f0d5597478896c64030d21294602c643f391ccabd4320d727c0
7
+ data.tar.gz: 0c9fb4bbc04a2c9f9c64961ac20de8b05bf2f3a5c9f66fb09d9d10f31adf0899d425fd6fba57df4c97bc1f442a3ff6a77f37b4af382a017592760693dde3ad44
@@ -1,11 +1,9 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.2
4
- - 1.9.3
5
3
  - 2.0.0
6
4
  - 2.1.2
7
- - 2.1.2
8
5
  - 2.2.2
6
+ - 2.4.1
9
7
 
10
8
  script: bundle exec rake
11
9
 
data/README.md CHANGED
@@ -121,8 +121,18 @@ Or install it yourself:
121
121
 
122
122
  $ gem install minispec-metadata
123
123
 
124
+ ### Rails
125
+
126
+ There are things you *MUST* do to get Minitest::Spec to work with rails that this gem cannot do for you.
127
+ There are a handful of gems that will help you including my [minispec-rails gem](https://github.com/ordinaryzelig/minispec-rails).
128
+ Whatever path you decide to take, do this AFTER you've taken those steps:
129
+
130
+ `require 'minispec-metadata/rails'`
131
+
132
+ (Thanks to @fredngo for help with testing with Rails.)
133
+
124
134
  ## Compatibility
125
135
 
126
- Tested with Minitest 4 and up.
136
+ Tested with Minitest 4 and up, Ruby version 2 and up, Rails version 5.1 and up.
127
137
  Might work with older versions but I haven't tested them.
128
- See .travis to see Ruby versions tested.
138
+ See .travis for more info.
@@ -0,0 +1,5 @@
1
+ require 'minispec-metadata'
2
+
3
+ ActiveSupport.on_load(:active_support_test_case) do
4
+ ActiveSupport::TestCase.include MinispecMetadata::It
5
+ end
@@ -1,3 +1,3 @@
1
1
  module MinispecMetadata
2
- VERSION = "3.2.2"
2
+ VERSION = "3.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minispec-metadata
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.2
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jared Ning
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-12 00:00:00.000000000 Z
11
+ date: 2017-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -72,6 +72,7 @@ files:
72
72
  - lib/minispec-metadata.rb
73
73
  - lib/minispec-metadata/describe.rb
74
74
  - lib/minispec-metadata/it.rb
75
+ - lib/minispec-metadata/rails.rb
75
76
  - lib/minispec-metadata/tags.rb
76
77
  - lib/minispec-metadata/version.rb
77
78
  - lib/minitest/minispec_metadata_plugin.rb