rspec_sql_counter 0.1.0 → 0.1.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
  SHA256:
3
- metadata.gz: b3ce43e54187e988093073b88a7002067d9d5bb8f10907343c1a0a641834ba5a
4
- data.tar.gz: 66dd87f846462577bca035693de9ab5b6d9aba74a606bc96283b95b111365b80
3
+ metadata.gz: b6853bf07edf4008bb54822b317939e9e9649911d4f29f80101a9fa34c95ca65
4
+ data.tar.gz: 22205386bc3c3a0abab1c2bbfd563b64c76909156d56734f5e99caae4df48770
5
5
  SHA512:
6
- metadata.gz: 91c793479c84529b789fb8f2eed06ed72aadec35cd3f8abef569661d96572c22ee46ec2b1233b29e52a554f5425216228097a28635b1cfbe17bb711f1de995da
7
- data.tar.gz: 3bdc7359884eea6f5c78c8ce19174f18df7ce67199d9c2f70f36addfbc9f0094f9cebab4fa7bbc689d41aadeca57bc0f982454956e5848a3d0e5ea5798287afa
6
+ metadata.gz: ecb2f29518b4eb7dd8d04797a30c04e1660d47d759de89d25cafb6180da0c92ea69071330e3540e5dca82551e92cb9fe4b1954d8caaeb9a9e8eeb4328677f809
7
+ data.tar.gz: 8f4b2f17cca346e36f421e6ef9b1158c3cc7078f0094f9561ce9157a60f54a987ab082b6fff4ae332d314c2527b3c035695d21880283cd48e1cd7583ff05ad2e
data/Gemfile CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  source 'https://rubygems.org'
4
4
 
5
- # Specify your gem's dependencies in rspec_sql_matcher.gemspec
5
+ # Specify your gem's dependencies in rspec_sql_counter.gemspec
6
6
  gemspec
7
7
 
8
8
  gem 'rake', '~> 13.0'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rspec_sql_counter (0.1.0)
4
+ rspec_sql_counter (0.1.1)
5
5
  rails (>= 4.0.13)
6
6
  rspec (~> 3.0)
7
7
 
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # RSpec SQL Matcher
1
+ # RSpec SQL Counter
2
2
 
3
- Welcome to rspec_sql_matcher gem!
3
+ Welcome to rspec_sql_counter gem!
4
4
 
5
5
  It helps you to test SQL queries, that are called in code blocks.
6
6
 
@@ -9,7 +9,7 @@ It helps you to test SQL queries, that are called in code blocks.
9
9
  Add this line to your application's Gemfile:
10
10
 
11
11
  ```ruby
12
- gem 'rspec_sql_matcher'
12
+ gem 'rspec_sql_counter'
13
13
  ```
14
14
 
15
15
  And then execute:
@@ -18,7 +18,7 @@ And then execute:
18
18
 
19
19
  Or install it yourself as:
20
20
 
21
- gem install rspec_sql_matcher
21
+ gem install rspec_sql_counter
22
22
 
23
23
  ## Usage
24
24
 
@@ -54,7 +54,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
54
54
 
55
55
  ## Contributing
56
56
 
57
- Bug reports and pull requests are welcome on GitHub at https://github.com/NastyaPatutina/rspec_sql_matcher. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/NastyaPatutina/rspec_sql_matcher/blob/main/CODE_OF_CONDUCT.md).
57
+ Bug reports and pull requests are welcome on GitHub at https://github.com/NastyaPatutina/rspec_sql_counter. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/NastyaPatutina/rspec_sql_counter/blob/main/CODE_OF_CONDUCT.md).
58
58
 
59
59
  ## License
60
60
 
@@ -62,4 +62,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
62
62
 
63
63
  ## Code of Conduct
64
64
 
65
- Everyone interacting in the RspecSqlMatcher project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/NastyaPatutina/rspec_sql_matcher/blob/main/CODE_OF_CONDUCT.md).
65
+ Everyone interacting in the RspecSqlCounter project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/NastyaPatutina/rspec_sql_counter/blob/main/CODE_OF_CONDUCT.md).
@@ -2,7 +2,7 @@
2
2
 
3
3
  require_relative 'sql_fetcher'
4
4
 
5
- module RspecSqlMatcher
5
+ module RspecSqlCounter
6
6
  module Matcher
7
7
  # rubocop:disable Metrics/BlockLength
8
8
  # Matcher for SQL queries
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module RspecSqlMatcher
3
+ module RspecSqlCounter
4
4
  class SqlFetcher
5
5
  SqlQueryInfo = Struct.new(:sql, :type_casted_binds, :times) do
6
6
  # Pretty SqlHelper::SqlQueryInfo
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RspecSqlCounter
4
+ VERSION = '0.1.1'
5
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'rspec_sql_counter/version'
4
+ require_relative 'rspec_sql_counter/matcher'
5
+
6
+ module RspecSqlCounter
7
+ class Error < StandardError; end
8
+ end
Binary file
@@ -1,21 +1,21 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative 'lib/rspec_sql_matcher/version'
3
+ require_relative 'lib/rspec_sql_counter/version'
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'rspec_sql_counter'
7
- spec.version = RspecSqlMatcher::VERSION
7
+ spec.version = RspecSqlCounter::VERSION
8
8
  spec.authors = ['Nastya Patutina']
9
9
  spec.email = ['npatutina@gmail.com']
10
10
 
11
11
  spec.summary = 'RSpec matcher for SQL queries'
12
12
  spec.description = 'RSpec matcher for SQL queries'
13
- spec.homepage = 'https://github.com/NastyaPatutina/rspec_sql_matcher'
13
+ spec.homepage = 'https://github.com/NastyaPatutina/rspec_sql_counter'
14
14
  spec.required_ruby_version = '>= 2.6.0'
15
15
 
16
16
  spec.metadata['homepage_uri'] = spec.homepage
17
- spec.metadata['source_code_uri'] = 'https://github.com/NastyaPatutina/rspec_sql_matcher'
18
- spec.metadata['changelog_uri'] = 'https://github.com/NastyaPatutina/rspec_sql_matcher'
17
+ spec.metadata['source_code_uri'] = 'https://github.com/NastyaPatutina/rspec_sql_counter'
18
+ spec.metadata['changelog_uri'] = 'https://github.com/NastyaPatutina/rspec_sql_counter'
19
19
 
20
20
  # Specify which files should be added to the gem when it is released.
21
21
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -1,4 +1,4 @@
1
- module RspecSqlMatcher
1
+ module RspecSqlCounter
2
2
  VERSION: String
3
3
  # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_sql_counter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nastya Patutina
@@ -95,18 +95,19 @@ files:
95
95
  - LICENSE.txt
96
96
  - README.md
97
97
  - Rakefile
98
- - lib/rspec_sql_matcher.rb
99
- - lib/rspec_sql_matcher/matcher.rb
100
- - lib/rspec_sql_matcher/sql_fetcher.rb
101
- - lib/rspec_sql_matcher/version.rb
98
+ - lib/rspec_sql_counter.rb
99
+ - lib/rspec_sql_counter/matcher.rb
100
+ - lib/rspec_sql_counter/sql_fetcher.rb
101
+ - lib/rspec_sql_counter/version.rb
102
+ - rspec_sql_counter-0.1.0.gem
102
103
  - rspec_sql_matcher.gemspec
103
- - sig/rspec_sql_matcher.rbs
104
- homepage: https://github.com/NastyaPatutina/rspec_sql_matcher
104
+ - sig/rspec_sql_counter.rbs
105
+ homepage: https://github.com/NastyaPatutina/rspec_sql_counter
105
106
  licenses: []
106
107
  metadata:
107
- homepage_uri: https://github.com/NastyaPatutina/rspec_sql_matcher
108
- source_code_uri: https://github.com/NastyaPatutina/rspec_sql_matcher
109
- changelog_uri: https://github.com/NastyaPatutina/rspec_sql_matcher
108
+ homepage_uri: https://github.com/NastyaPatutina/rspec_sql_counter
109
+ source_code_uri: https://github.com/NastyaPatutina/rspec_sql_counter
110
+ changelog_uri: https://github.com/NastyaPatutina/rspec_sql_counter
110
111
  rubygems_mfa_required: 'true'
111
112
  post_install_message:
112
113
  rdoc_options: []
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module RspecSqlMatcher
4
- VERSION = '0.1.0'
5
- end
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative 'rspec_sql_matcher/version'
4
- require_relative 'rspec_sql_matcher/matcher'
5
-
6
- module RspecSqlMatcher
7
- class Error < StandardError; end
8
- end