clickhouse-activerecord 0.1.6 → 0.1.7

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: 1b58936bbd27fcd4498c25d1e1af9986d542afa0
4
- data.tar.gz: 16353c4fa6407aae8306aa9de4b672c7bf19c956
3
+ metadata.gz: 8e80f08b4bab8451df04097e2b93b4a169586f09
4
+ data.tar.gz: b9951b51f407e6ee7053a64dc357941ead020502
5
5
  SHA512:
6
- metadata.gz: 06dbf3be1a96d6aa08c0d51da3c4f01922387720bcda1d12812b763c13c2ab8887e0cec96a28e8b3d3956031ab36ae289674ac37dc6aa12b5ba022b857268782
7
- data.tar.gz: 5111a57ed82dded29f3490974f494097988021c233a9ab42dd719d91dcf1dc5725c519bc07f18180be6c5d8cbb7219d851831b926a73c395126e24a2814ea1b8
6
+ metadata.gz: 506cf869493afa718ed43f3d80e86b15e8db3113b522d7e7c7719ba6bd5979e6d439980b1b6e3bd9fc03509de61c8e8f32998079416d0a46971efc37a0e15392
7
+ data.tar.gz: ac86bdb9661ef825e725fd12831e971d97a15375da5c0bbbc3bd6ee38997cb59fcd0b4a3fcd22570a8769720a6c342d2630061d111f297ab0a87535cf414b59e
data/README.md CHANGED
@@ -80,13 +80,13 @@ ActionView.maximum(:date)
80
80
  #=> 'Wed, 29 Nov 2017'
81
81
  ```
82
82
 
83
- NOTE: Creating tables in developing.
83
+ ## Donations
84
84
 
85
- ## Development
85
+ Donations to this project are going directly to [PNixx](https://github.com/PNixx), the original author of this project:
86
86
 
87
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
88
-
89
- 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).
87
+ * BTC address: `3Dny9T9PTVYoQhnJxgZorRRNycYYiPrYMA`
88
+ * ETH address: `0x7eec67c120828334d0e802ce46fc4895f2b386c4`
89
+ * XMR address: `42gP71qLB5M43RuDnrQ3vSJFFxis9Kw9VMURhpx9NLQRRwNvaZRjm2TFojAMC8Fk1BQhZNKyWhoyJSn5Ak9kppgZPjE17Zh`
90
90
 
91
91
  ## Contributing
92
92
 
@@ -7,7 +7,7 @@ module ClickhouseActiverecord
7
7
 
8
8
  def aggregate(name, o, collector)
9
9
  # replacing function name for materialized view
10
- if o.expressions.first && o.expressions.first != '*' && o.expressions.first.relation && o.expressions.first.relation.engine && o.expressions.first.relation.engine.is_view
10
+ if o.expressions.first && o.expressions.first != '*' && !o.expressions.first.is_a?(String) && o.expressions.first.relation && o.expressions.first.relation.engine && o.expressions.first.relation.engine.is_view
11
11
  super("#{name.downcase}Merge", o, collector)
12
12
  else
13
13
  super
@@ -1,3 +1,3 @@
1
1
  module ClickhouseActiverecord
2
- VERSION = '0.1.6'
2
+ VERSION = '0.1.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clickhouse-activerecord
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Odintsov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-30 00:00:00.000000000 Z
11
+ date: 2018-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -130,4 +130,3 @@ signing_key:
130
130
  specification_version: 4
131
131
  summary: ClickHouse ActiveRecord
132
132
  test_files: []
133
- has_rdoc: