mongomery 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 48fb0c83bdc58ffa0ccb13b6360f1473be149739
4
- data.tar.gz: 9c8d484da951e64b0b84f34427726845f6afd5b8
3
+ metadata.gz: 0182f745fe1925d9426ca6bc429ae31708c37531
4
+ data.tar.gz: f297e912e9539d62d14b11fd7c96cae0b92a5308
5
5
  SHA512:
6
- metadata.gz: 9e2165185ba76ef6e773485acefa2b2839ab5672164c492a0026c814ddc1b629493498de0c128db9f9bc8a34c7f1be8a601063b400de153003a2a1e94be9baf6
7
- data.tar.gz: 985c3a48b5672082e6e9ecdd1124fbfe4f0f420228b6e807d4d71094b2e0b8e9c6d398f695ac0ac3279b5b72d79d7fd1f71654d12986c38b8339e5cb959e3978
6
+ metadata.gz: da574cba9ec470b393087ce9962e973b7e76259d77d5b9ca18cf11e1da97b3c23d87a67d3db46cad697967d242852c6c8faca238892d348d577bd4373672716e
7
+ data.tar.gz: f97788a004077c12ba26eb8cc38d49ba63d0b972b2abc62308527192fce3a5457fc7b9243f52895fb5411c5a5ae55590da1b2a579e8b92c88c5c78224273bf55
@@ -1,3 +1,3 @@
1
1
  module Mongomery
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
data/lib/mongomery.rb CHANGED
@@ -155,7 +155,7 @@ module Mongomery
155
155
  end
156
156
 
157
157
  def build_arel
158
- table.project(table[:*]).tap do |t|
158
+ table.project("*").tap do |t|
159
159
  t.where(condition) if condition
160
160
  end
161
161
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongomery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - kazuki-yoshida