rubicure 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +5 -6
- data/CHANGELOG.md +6 -1
- data/Gemfile +0 -2
- data/config/girls.yml +1 -1
- data/lib/rubicure.rb +1 -1
- data/lib/rubicure/version.rb +1 -1
- data/rubicure.gemspec +6 -6
- data/spec/spec_helper.rb +85 -0
- metadata +28 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c604af4a5a200a505124a2feb769e42d880d640d
|
4
|
+
data.tar.gz: 1e60e3757ca806a1637a60a422d6b23bf837a243
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9aa531369815fd4d396995ddd81f57481d16f7603133f9ae36530447ba177f7e5a89452a6d5dcf6b5e6d35ef4d7124f82530d68d74b1e5de4649471cebff1a9
|
7
|
+
data.tar.gz: 08818c9d64a4aeeda2a9d2734ee364750ceb656b87d35cc8baefb5a10d657d1524232094e6083745a7d598d5855e5ef6ac8b340b87a96106b8d57d8c0b2530bd
|
data/.travis.yml
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
3
|
- 2.0.0
|
4
|
-
- 2.1.
|
5
|
-
|
6
|
-
|
7
|
-
# - gem install bundler -v '= 1.5.2'
|
8
|
-
script: CODECLIMATE_REPO_TOKEN=ae44e61ae42dc9114b3cd92bed8dc553d9e9f119634c8b95273d3048e6026aa5 bundle exec rspec --tag category:verbose && bundle exec rspec
|
4
|
+
- 2.1.2
|
5
|
+
bundler_args: --jobs=2
|
6
|
+
script: CODECLIMATE_REPO_TOKEN=8e9db6ee5f3818e87287a6393086c2ccb9b1b83106c5bfb972211abefd2fe162 bundle exec rspec --tag category:verbose && bundle exec rspec
|
9
7
|
branches:
|
10
8
|
only:
|
11
9
|
- master
|
12
|
-
|
10
|
+
notifications:
|
11
|
+
email: false
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
## master
|
2
|
-
[full changelog](http://github.com/sue445/rubicure/compare/v0.0.
|
2
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v0.0.6...master)
|
3
|
+
|
4
|
+
## v0.0.6
|
5
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v0.0.5...v0.0.6)
|
6
|
+
|
7
|
+
* Support activesupport >= 4.0.0
|
3
8
|
|
4
9
|
## v0.0.5
|
5
10
|
[full changelog](http://github.com/sue445/rubicure/compare/v0.0.4...v0.0.5)
|
data/Gemfile
CHANGED
data/config/girls.yml
CHANGED
data/lib/rubicure.rb
CHANGED
data/lib/rubicure/version.rb
CHANGED
data/rubicure.gemspec
CHANGED
@@ -20,15 +20,15 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
21
21
|
spec.require_paths = ["lib"]
|
22
22
|
|
23
|
-
spec.add_dependency "activesupport", "
|
24
|
-
spec.add_dependency "hashie", "
|
23
|
+
spec.add_dependency "activesupport", ">= 4.0.0"
|
24
|
+
spec.add_dependency "hashie", ">= 2.0.5"
|
25
25
|
|
26
26
|
spec.add_development_dependency "bundler", ">= 1.3.5"
|
27
27
|
spec.add_development_dependency "rake"
|
28
|
-
spec.add_development_dependency "rspec", "~> 3.0.0
|
29
|
-
spec.add_development_dependency "rspec-its", "~> 1.0.
|
30
|
-
spec.add_development_dependency "rspec-collection_matchers", "~> 0.0.
|
31
|
-
|
28
|
+
spec.add_development_dependency "rspec", "~> 3.0.0"
|
29
|
+
spec.add_development_dependency "rspec-its", "~> 1.0.1"
|
30
|
+
spec.add_development_dependency "rspec-collection_matchers", "~> 0.0.4"
|
31
|
+
spec.add_development_dependency "rspec-parameterized", "~> 0.1.1"
|
32
32
|
spec.add_development_dependency "delorean"
|
33
33
|
spec.add_development_dependency "yard"
|
34
34
|
spec.add_development_dependency "codeclimate-test-reporter"
|
data/spec/spec_helper.rb
CHANGED
@@ -1,3 +1,20 @@
|
|
1
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause this
|
4
|
+
# file to always be loaded, without a need to explicitly require it in any files.
|
5
|
+
#
|
6
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
7
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
8
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
9
|
+
# individual file that may not need all of that loaded. Instead, make a
|
10
|
+
# separate helper file that requires this one and then use it only in the specs
|
11
|
+
# that actually need it.
|
12
|
+
#
|
13
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
14
|
+
# users commonly want.
|
15
|
+
#
|
16
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
17
|
+
|
1
18
|
require "codeclimate-test-reporter"
|
2
19
|
CodeClimate::TestReporter.start
|
3
20
|
|
@@ -17,6 +34,74 @@ require 'delorean'
|
|
17
34
|
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
|
18
35
|
|
19
36
|
RSpec.configure do |config|
|
37
|
+
# The settings below are suggested to provide a good initial experience
|
38
|
+
# with RSpec, but feel free to customize to your heart's content.
|
39
|
+
=begin
|
40
|
+
# These two settings work together to allow you to limit a spec run
|
41
|
+
# to individual examples or groups you care about by tagging them with
|
42
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
43
|
+
# get run.
|
44
|
+
config.filter_run :focus
|
45
|
+
config.run_all_when_everything_filtered = true
|
46
|
+
|
47
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
48
|
+
# file, and it's useful to allow more verbose output when running an
|
49
|
+
# individual spec file.
|
50
|
+
if config.files_to_run.one?
|
51
|
+
# RSpec filters the backtrace by default so as not to be so noisy.
|
52
|
+
# This causes the full backtrace to be printed when running a single
|
53
|
+
# spec file (e.g. to troubleshoot a particular spec failure).
|
54
|
+
config.full_backtrace = true
|
55
|
+
|
56
|
+
# Use the documentation formatter for detailed output,
|
57
|
+
# unless a formatter has already been configured
|
58
|
+
# (e.g. via a command-line flag).
|
59
|
+
config.default_formatter = 'doc'
|
60
|
+
end
|
61
|
+
|
62
|
+
# Print the 10 slowest examples and example groups at the
|
63
|
+
# end of the spec run, to help surface which specs are running
|
64
|
+
# particularly slow.
|
65
|
+
config.profile_examples = 10
|
66
|
+
|
67
|
+
# Run specs in random order to surface order dependencies. If you find an
|
68
|
+
# order dependency and want to debug it, you can fix the order by providing
|
69
|
+
# the seed, which is printed after each run.
|
70
|
+
# --seed 1234
|
71
|
+
config.order = :random
|
72
|
+
|
73
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
74
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
75
|
+
# test failures related to randomization by passing the same `--seed` value
|
76
|
+
# as the one that triggered the failure.
|
77
|
+
Kernel.srand config.seed
|
78
|
+
|
79
|
+
# rspec-expectations config goes here. You can use an alternate
|
80
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
81
|
+
# assertions if you prefer.
|
82
|
+
config.expect_with :rspec do |expectations|
|
83
|
+
# Enable only the newer, non-monkey-patching expect syntax.
|
84
|
+
# For more details, see:
|
85
|
+
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
86
|
+
expectations.syntax = :expect
|
87
|
+
end
|
88
|
+
|
89
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
90
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
91
|
+
config.mock_with :rspec do |mocks|
|
92
|
+
# Enable only the newer, non-monkey-patching expect syntax.
|
93
|
+
# For more details, see:
|
94
|
+
# - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
95
|
+
mocks.syntax = :expect
|
96
|
+
|
97
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
98
|
+
# a real object. This is generally recommended.
|
99
|
+
mocks.verify_partial_doubles = true
|
100
|
+
end
|
101
|
+
=end
|
102
|
+
|
103
|
+
config.order = :random
|
104
|
+
|
20
105
|
config.include Delorean
|
21
106
|
|
22
107
|
config.after(:each) do
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubicure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.0.
|
19
|
+
version: 4.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.0.
|
26
|
+
version: 4.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: hashie
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 2.0.5
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 2.0.5
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -72,42 +72,56 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 3.0.0
|
75
|
+
version: 3.0.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 3.0.0
|
82
|
+
version: 3.0.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec-its
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.0.
|
89
|
+
version: 1.0.1
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.0.
|
96
|
+
version: 1.0.1
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rspec-collection_matchers
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.0.
|
103
|
+
version: 0.0.4
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.0.4
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rspec-parameterized
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.1.1
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
122
|
- - "~>"
|
109
123
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.
|
124
|
+
version: 0.1.1
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: delorean
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|