kitestrings 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
YmYwMGVmYmU1ODdhODkwNzAzMWI5MzgwYTRkYzQ5ZDgzYTQxMWJiNg==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2feb23644477bd772097e96890e4c9fd5ad0b301
|
4
|
+
data.tar.gz: d65372c907be95fc13de2a342f259de99d962bf6
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
YmYyMGZlN2I5YzY0YmJhZGQxZDA1Y2Y2ZjEwMWM1MGExYTQ2YTUzZmQzMWFl
|
11
|
-
MWZiNDM1YTliMDNiNmRmNWRmMzE4ZDA2ZmVmMzE5NDI4MjY3Y2U=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ZDFmNTY5NzlhMzI4YzU1ODQ3OTc0Yzg3M2M3ZWZmYTFhNWQxNWIwOTBhNGI5
|
14
|
-
YmM4NjMwMTc5MWMwZDI5ZjE4ZTM3YTMzMzdmYmE0ZGIzZmUzYmU2YTdkOWE1
|
15
|
-
NTRiNzY2ZDFjNjFjMTZlOTg3ZGY0NjEzNDA3OGJkOWQ3YjgzNGU=
|
6
|
+
metadata.gz: 2acbbb604887c5e00f976099c1924c281469d4191d42499980533e42614030210a350a2190a8b45fbac3fbb781a3f52bb9039849383741e9f64308644656404f
|
7
|
+
data.tar.gz: b35b51d4612f5d5929d3ff1f131484d75588012072bb497825548fa6ec7e9c232723a7fdeaae77ff7e7a3128650869ef07aa43975bc3aac6fa5a53ecf0bb14a6
|
@@ -0,0 +1,79 @@
|
|
1
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
2
|
+
ENV["RAILS_ENV"] ||= 'test'
|
3
|
+
require File.expand_path("../../config/environment", __FILE__)
|
4
|
+
require 'rspec/rails'
|
5
|
+
require 'rspec/autorun'
|
6
|
+
|
7
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
8
|
+
# in spec/support/ and its subdirectories.
|
9
|
+
Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
|
10
|
+
|
11
|
+
<% if ::Rails::VERSION::STRING >= '4' -%>
|
12
|
+
# Checks for pending migrations before tests are run.
|
13
|
+
# If you are not using ActiveRecord, you can remove this line.
|
14
|
+
ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration)
|
15
|
+
|
16
|
+
<% end -%>
|
17
|
+
RSpec.configure do |config|
|
18
|
+
# clear the test log file before we start.
|
19
|
+
log_file = Rails.root.join("log/test.log")
|
20
|
+
File.truncate(log_file, 0) if File.exist?(log_file)
|
21
|
+
|
22
|
+
config.extend CommonFractures, :type => : controller
|
23
|
+
config.include Devise::TestHelpers, type: :controller
|
24
|
+
config.include FactoryGirl::Syntax::Methods
|
25
|
+
config.include AccessDenied, :type => :controller
|
26
|
+
config.include Capybara::DSL
|
27
|
+
# ## Mock Framework
|
28
|
+
#
|
29
|
+
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
|
30
|
+
#
|
31
|
+
# config.mock_with :mocha
|
32
|
+
# config.mock_with :flexmock
|
33
|
+
# config.mock_with :rr
|
34
|
+
|
35
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
36
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
37
|
+
|
38
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
39
|
+
# examples within a transaction, remove the following line or assign false
|
40
|
+
# instead of true.
|
41
|
+
config.use_transactional_fixtures = false
|
42
|
+
config.global_fixtures = :selections
|
43
|
+
|
44
|
+
# If true, the base class of anonymous controllers will be inferred
|
45
|
+
# automatically. This will be the default behavior in future versions of
|
46
|
+
# rspec-rails.
|
47
|
+
config.infer_base_class_for_anonymous_controllers = false
|
48
|
+
|
49
|
+
# Run specs in random order to surface order dependencies. If you find an
|
50
|
+
# order dependency and want to debug it, you can fix the order by providing
|
51
|
+
# the seed, which is printed after each run.
|
52
|
+
# --seed 1234
|
53
|
+
config.order = "random"
|
54
|
+
|
55
|
+
config.before(:suite) do
|
56
|
+
DatabaseCleaner.clean_with(:truncation)
|
57
|
+
end
|
58
|
+
|
59
|
+
config.before(:each) do
|
60
|
+
|
61
|
+
DatabaseCleaner.strategy = :transaction
|
62
|
+
end
|
63
|
+
|
64
|
+
config.before(:each, :js => true) do
|
65
|
+
DatabaseCleaner.strategy = :truncation
|
66
|
+
end
|
67
|
+
|
68
|
+
config.before(:each) do
|
69
|
+
DatabaseCleaner.start
|
70
|
+
end
|
71
|
+
|
72
|
+
config.after(:each) do
|
73
|
+
DatabaseCleaner.clean
|
74
|
+
end
|
75
|
+
|
76
|
+
config.after(:all) do
|
77
|
+
Fracture.clear
|
78
|
+
end
|
79
|
+
end
|
data/lib/kitestrings/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitestrings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ridget
|
@@ -9,90 +9,90 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-10-
|
12
|
+
date: 2014-10-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '3.2'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '3.2'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: bundler
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - ~>
|
32
|
+
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '1.6'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - ~>
|
39
|
+
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '1.6'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rake
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '0'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- -
|
53
|
+
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '0'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: rspec
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- - ~>
|
60
|
+
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '2.14'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - ~>
|
67
|
+
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '2.14'
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: generator_spec
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- -
|
81
|
+
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0'
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: sqlite3
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- -
|
88
|
+
- - ">="
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: '0'
|
91
91
|
type: :development
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
|
-
- -
|
95
|
+
- - ">="
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: '0'
|
98
98
|
description: ''
|
@@ -103,8 +103,8 @@ executables: []
|
|
103
103
|
extensions: []
|
104
104
|
extra_rdoc_files: []
|
105
105
|
files:
|
106
|
-
- .gitignore
|
107
|
-
- .rspec
|
106
|
+
- ".gitignore"
|
107
|
+
- ".rspec"
|
108
108
|
- CHANGELOG.md
|
109
109
|
- Gemfile
|
110
110
|
- LICENSE.txt
|
@@ -143,6 +143,7 @@ files:
|
|
143
143
|
- lib/generators/templates/rspec/model/model_spec.rb
|
144
144
|
- lib/generators/templates/rspec/scaffold/controller_spec.rb
|
145
145
|
- lib/generators/templates/rspec/scaffold/routing_spec.rb
|
146
|
+
- lib/generators/templates/spec/spec_helper.rb.tt
|
146
147
|
- lib/generators/templates/spec_ext/my_ip_spec.rb
|
147
148
|
- lib/generators/templates/spec_ext/spec_helper_ext.rb
|
148
149
|
- lib/generators/templates/views/application/_navigation.html.haml
|
@@ -182,12 +183,12 @@ require_paths:
|
|
182
183
|
- lib
|
183
184
|
required_ruby_version: !ruby/object:Gem::Requirement
|
184
185
|
requirements:
|
185
|
-
- -
|
186
|
+
- - ">="
|
186
187
|
- !ruby/object:Gem::Version
|
187
188
|
version: '0'
|
188
189
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
189
190
|
requirements:
|
190
|
-
- -
|
191
|
+
- - ">="
|
191
192
|
- !ruby/object:Gem::Version
|
192
193
|
version: '0'
|
193
194
|
requirements: []
|