shoulda-change_matchers 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e0ad544a8346b131485edc33fba334d448b3bb1a
4
+ data.tar.gz: 56d0811d2e6b5bc7ab9e1d6cecbfcc34398fce8d
5
+ SHA512:
6
+ metadata.gz: 6ce6350e5866aae461344a25204f682120034556e40a5248bb0975f1bba515d708149d4a7d42509c14420a99af3a5f0cc2db3c8e3199652791f1316299d36000
7
+ data.tar.gz: 20aee90b59a05322ed6d1dea686344ef7bf019d62cc8c684f77f9a3df7c2ff2ebdcf08c63a03b637f2d37ce9a639d537dda6c2cefdb0ed0c62e05188d29a4a55
data/Gemfile CHANGED
@@ -1,7 +1,8 @@
1
- source :rubygems
1
+ source 'https://rubygems.org'
2
2
  gemspec
3
3
 
4
4
  gem "appraisal"
5
5
  gem "rake"
6
6
  gem "test-unit", ">=2.5.1"
7
7
  gem "shoulda"
8
+ gem "bump"
data/Gemfile.lock CHANGED
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shoulda-change_matchers (0.0.1)
4
+ shoulda-change_matchers (0.0.2)
5
5
 
6
6
  GEM
7
- remote: http://rubygems.org/
7
+ remote: https://rubygems.org/
8
8
  specs:
9
9
  activesupport (3.2.8)
10
10
  i18n (~> 0.6)
@@ -12,6 +12,7 @@ GEM
12
12
  appraisal (0.4.1)
13
13
  bundler
14
14
  rake
15
+ bump (0.5.0)
15
16
  i18n (0.6.0)
16
17
  multi_json (1.3.6)
17
18
  rake (0.9.2)
@@ -28,6 +29,7 @@ PLATFORMS
28
29
 
29
30
  DEPENDENCIES
30
31
  appraisal
32
+ bump
31
33
  rake
32
34
  shoulda
33
35
  shoulda-change_matchers!
data/Rakefile CHANGED
@@ -1,5 +1,7 @@
1
+ require 'bundler/setup'
1
2
  require 'appraisal'
2
3
  require 'bundler/gem_tasks'
4
+ require 'bump/tasks'
3
5
 
4
6
  task :test do
5
7
  sh "ruby test/shoulda_change_matchers_test.rb"
data/Readme.md CHANGED
@@ -4,7 +4,7 @@ so you can upgrade to shoulda 3 without rewriting major parts of your test-base.
4
4
  gem install shoulda-change_matchers
5
5
 
6
6
  # Gemfile
7
- gem "shoulda-let", :require => "shoulda/change_matchers"
7
+ gem "shoulda-change_matchers", :require => "shoulda/change_matchers"
8
8
 
9
9
  Usage
10
10
  =====
@@ -1,6 +1,6 @@
1
1
  # This file was generated by Appraisal
2
2
 
3
- source :rubygems
3
+ source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal"
6
6
  gem "rake"
@@ -1,10 +1,10 @@
1
1
  PATH
2
- remote: /Users/mgrosser/code/tools/shoulda-change_matchers
2
+ remote: ../
3
3
  specs:
4
4
  shoulda-change_matchers (0.0.1)
5
5
 
6
6
  GEM
7
- remote: http://rubygems.org/
7
+ remote: https://rubygems.org/
8
8
  specs:
9
9
  appraisal (0.4.1)
10
10
  bundler
@@ -1,6 +1,6 @@
1
1
  # This file was generated by Appraisal
2
2
 
3
- source :rubygems
3
+ source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal"
6
6
  gem "rake"
@@ -1,10 +1,10 @@
1
1
  PATH
2
- remote: /Users/mgrosser/code/tools/shoulda-change_matchers
2
+ remote: ../
3
3
  specs:
4
4
  shoulda-change_matchers (0.0.1)
5
5
 
6
6
  GEM
7
- remote: http://rubygems.org/
7
+ remote: https://rubygems.org/
8
8
  specs:
9
9
  activesupport (3.2.8)
10
10
  i18n (~> 0.6)
@@ -1,6 +1,3 @@
1
- require "shoulda"
2
- require "shoulda/context"
3
-
4
1
  module Shoulda
5
2
  module ChangeMatchers
6
3
  # Macro that creates a test asserting a change between the return value
@@ -1,6 +1,6 @@
1
1
  name = "shoulda-change_matchers"
2
2
 
3
- Gem::Specification.new name, "0.0.1" do |s|
3
+ Gem::Specification.new name, "0.0.2" do |s|
4
4
  s.summary = "should_change / should_create / should_destroy matchers for shoulda 3 backported from shoulda 2"
5
5
  s.authors = ["Michael Grosser"]
6
6
  s.email = "michael@grosser.it"
@@ -1,7 +1,7 @@
1
1
  require "test/unit"
2
2
  require "shoulda"
3
3
  $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
4
- #require "shoulda/change_matchers"
4
+ require "shoulda/change_matchers"
5
5
 
6
6
  # simulate active_support being here ...
7
7
  class String
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shoulda-change_matchers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
5
- prerelease:
4
+ version: 0.0.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Michael Grosser
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-08-31 00:00:00.000000000 Z
11
+ date: 2014-09-13 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description:
15
14
  email: michael@grosser.it
@@ -17,7 +16,7 @@ executables: []
17
16
  extensions: []
18
17
  extra_rdoc_files: []
19
18
  files:
20
- - .travis.yml
19
+ - ".travis.yml"
21
20
  - Appraisals
22
21
  - Gemfile
23
22
  - Gemfile.lock
@@ -33,33 +32,26 @@ files:
33
32
  homepage: http://github.com/grosser/shoulda-change_matchers
34
33
  licenses:
35
34
  - MIT
35
+ metadata: {}
36
36
  post_install_message:
37
37
  rdoc_options: []
38
38
  require_paths:
39
39
  - lib
40
40
  required_ruby_version: !ruby/object:Gem::Requirement
41
- none: false
42
41
  requirements:
43
- - - ! '>='
42
+ - - ">="
44
43
  - !ruby/object:Gem::Version
45
44
  version: '0'
46
- segments:
47
- - 0
48
- hash: 3014986726780787426
49
45
  required_rubygems_version: !ruby/object:Gem::Requirement
50
- none: false
51
46
  requirements:
52
- - - ! '>='
47
+ - - ">="
53
48
  - !ruby/object:Gem::Version
54
49
  version: '0'
55
- segments:
56
- - 0
57
- hash: 3014986726780787426
58
50
  requirements: []
59
51
  rubyforge_project:
60
- rubygems_version: 1.8.24
52
+ rubygems_version: 2.2.2
61
53
  signing_key:
62
- specification_version: 3
54
+ specification_version: 4
63
55
  summary: should_change / should_create / should_destroy matchers for shoulda 3 backported
64
56
  from shoulda 2
65
57
  test_files: []