sql_capsule 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
  SHA1:
3
- metadata.gz: 7e4724c21b2c31b68991236b530a899fbb70152f
4
- data.tar.gz: 485b598ea069ffb03c1d013a3cf80354a8dd1a27
3
+ metadata.gz: ae871386adb1e4dc36589a61740f245c0962dd3f
4
+ data.tar.gz: af6c19bb2b7a970b0d607de042f49ebab2b73b15
5
5
  SHA512:
6
- metadata.gz: c5226e6d66ef2cf79a1979581c6d60388921b90a246cd30b7aee6ac1940e6d86f1a270047f909a36518c780e06d2fa66dc12eceb207c9c4463ed6b1acbba8576
7
- data.tar.gz: c742e47a417cb9d5c5b55474c57b9708f559d0f3ab667a005d77ff1e5fce0588d152eea3444382d361d90e3037068f8c0f0030582278ad268e339e84fe9fb046
6
+ metadata.gz: 89c28d9947d4db9efe530ae514e416a2ff823422dab3ce23624be60b71951153a277bfc18230cee2054a18034584c5f47381c82ab2b2fde83d2e004936c9e111
7
+ data.tar.gz: 8a8d153255010c7986879d62bfe1319556341e8604547c56905dca0708e3e44edccd4979d4a4a1642e16365c42d45ec741c6254ea43d2acbf1486bb735f3ebce
data/README.md CHANGED
@@ -119,7 +119,10 @@ widget_database.run :join_widgets
119
119
 
120
120
  ## Development
121
121
 
122
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
122
+ After checking out the repo, run `bin/setup` to install dependencies / setup the testing database. Then, run `rake test` to run the tests.
123
+
124
+ You can also run `bin/console` for an interactive prompt that will allow you to experiment. Once in the console `@wrapper` is already setup for use and includes a registered query:
125
+ `@wrapper.run :all_widgets`
123
126
 
124
127
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
125
128
 
@@ -15,7 +15,7 @@ module SQLCapsule
15
15
  end
16
16
 
17
17
  def filter_args(given_args)
18
- given_args.select { |key, value| args.include?(key) }.values
18
+ given_args.values_at(*args)
19
19
  end
20
20
 
21
21
  def add_post_processor(block)
@@ -1,3 +1,3 @@
1
1
  module SQLCapsule
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sql_capsule
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
  - Paul Dawson