ruby-montage 0.4.4 → 0.4.5

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: 932b4c037b77de5056ddfd63a209b1d9e677e805
4
- data.tar.gz: 7459ab078987181659041687caddb8d385dd3881
3
+ metadata.gz: f0c5970f207cae13da55361c9f5cd4f538610a87
4
+ data.tar.gz: da68e0289ba9ca9932180baf5e92668f8036eed3
5
5
  SHA512:
6
- metadata.gz: 103ee93351db06df2cc352065e45d70ae5d1040832b25eeafa020b44c9208702aeec740b9bc6ecd42c5f45da9fd6da44c037026471b62d3ab4c96e16cea0f306
7
- data.tar.gz: 7877ed0796d430d4ba24de50aae816a6e807e1f8b285cbebc918957550497c9375acc2f4dadb14229c977b4b73dd66be9e872f2f19e64eb9bb0640bbe39f976f
6
+ metadata.gz: 3019acba1b955777927916c72e02b9a12260739204a90ad0db9ffea64d3cb583145c20e61f7b7f623309e6e1192918c95dd1671e0cf0816eea25b19119f8f1ec
7
+ data.tar.gz: e76c7aaa57013adef642b95eba37ca10e5a940c7cc12dc866d41e98549471bdd8cf18548ea7ee3cdc91841e498ff8dfc72ec65166263f36d2ce83a04bfe2a146
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # Ruby Montage
6
6
 
7
- A Ruby wrapper for the [Montage](https://www.foo.com) API
7
+ A Ruby wrapper for the [Montage](http://www.yourdatacandobetter.com) API
8
8
 
9
9
  ## Installation
10
10
 
@@ -127,7 +127,7 @@ returns an object that conforms to the above query standards will work. This is
127
127
 
128
128
  ## Contributing
129
129
 
130
- 1. Fork it ( https://github.com/[my-github-username]/ruby-montage/fork )
130
+ 1. Fork it ( https://github.com/EditLLC/ruby-montage/fork )
131
131
  2. Create your feature branch (`git checkout -b my-new-feature`)
132
132
  3. Commit your changes (`git commit -am 'Add some feature'`)
133
133
  4. Push to the branch (`git push origin my-new-feature`)
data/lib/montage/query.rb CHANGED
@@ -98,6 +98,12 @@ module Montage
98
98
  clone.tap { |r| r.query.merge!(index: field) }
99
99
  end
100
100
 
101
+ # Pluck just one column from the result set
102
+ #
103
+ def pluck(column_name)
104
+ clone.tap { |r| r.query.merge!(pluck: column_name) }
105
+ end
106
+
101
107
  # Parses the current query hash and returns a JSON string
102
108
  #
103
109
  def to_json
@@ -1,3 +1,3 @@
1
1
  module Montage
2
- VERSION = "0.4.4"
2
+ VERSION = "0.4.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-montage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - dphaener
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-05-18 00:00:00.000000000 Z
11
+ date: 2015-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler