bisque 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTE1NzRhMjI3YjBkYWJlNjg1MWRlYmViNzZjMzk4YmE0YTA2NTEwYw==
4
+ ZGFhNGQ5ZjMwY2NlNmZjYzU1MjA5YTU2ZjNhOTg5MDZjNjVjMjcyZg==
5
5
  data.tar.gz: !binary |-
6
- NzkxMDEwZmIwZDQzNzU4ZTQ5MWZjMjlkODY4M2IwYjllN2U4OWMwMA==
6
+ NjgyZTNiZmE0NjQ1YjNiOTExNzRmY2Y1NWFjNzdjNTEwMmJlYWI4ZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZmYxNjAzYjdkMDQ2ZGM0Y2M4ZjgyZDVhNjE5MTkxMWRmMmVkMzkxZTFhMzVh
10
- YzUxOGYwYzgyNjA1MzVkZmNmNTAxMWExYmZkMWE0OTg1MzJkOTdlMWI3MDJh
11
- YzQzMDdiZDRjZTExOTIzNDM5OGZlOGZkOGYyNjNjMWU4MjU3Mjg=
9
+ Y2UxYTEzODZlOTIwZDEyOGYyOTc5MmRhZmEyOTI3MzBlMTIxYjRhZWUyMWI0
10
+ NGM4OGVjNmZmMjk0NzYzMTZkNzFiZjY1NTA2NmVhN2Q3ZWIwOTc1MDBkZjVk
11
+ MGFlMDE4OThkZGU3MWEzNzM0NjIxMWVjODgyYzA4OGE3MDliMTk=
12
12
  data.tar.gz: !binary |-
13
- NjU5Njk2M2VkYWQ3NzgxMTE2N2QzOGU5NDQwNDRlY2E5YWZlZGFlY2Q2M2U3
14
- ZTg4MTI4NDk1MzEyYjhjMThhY2U4M2JmYzNiOGEzYzI0MzhmMjUxMzMxMjA5
15
- MjI3MWYyOGEzODk3MzA3ZDAwYmQ5Y2Q5ZDZhZGNjYTM0MzgxN2M=
13
+ OGY1ZmI3MTcxMzFmMmM4Nzc5MjBiZGNiNWQ5OGQ2OWM2MDI2MTIyNDUzMTdj
14
+ YWFjYWY0ZGNjYzA0ZjI1NDIwZGNlYTMxN2NjMWYwNDkyZThkNDljNjU5MDUz
15
+ OWEzYzUyZjIyOTEyYWI0Nzk0MmEwOTExMTkyYWZjYjUxNTBkNjA=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
data/bisque.gemspec CHANGED
@@ -2,15 +2,15 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: bisque 0.2.0 ruby lib
5
+ # stub: bisque 0.2.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "bisque"
9
- s.version = "0.2.0"
9
+ s.version = "0.2.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.authors = ["Jeremy Holland"]
13
- s.date = "2013-12-30"
13
+ s.date = "2014-01-02"
14
14
  s.description = "Bisque exists to ease the organizational pain of having to attach reporting and ad-hoc queries to ActiveRecord models in order to get any class-like behavior out of them by providing a new class and DSL for that express purpose."
15
15
  s.email = "jeremy@jeremypholland.com"
16
16
  s.extra_rdoc_files = [
data/lib/bisque/report.rb CHANGED
@@ -7,7 +7,7 @@ module Bisque
7
7
  def initialize(params={})
8
8
  @params = self.class.defaults.merge params
9
9
  @params.each do |k,v|
10
- @params[k] = v.call if v.is_a?(Proc)
10
+ @params[k] = instance_eval(&v) if v.is_a?(Proc)
11
11
  end
12
12
  @sql = self.class.query.dup
13
13
  self.class.params.each do |param|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bisque
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Holland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-30 00:00:00.000000000 Z
11
+ date: 2014-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord