embulk-input-mixpanel 0.4.7 → 0.5.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: 8dd90cee458d5d530256723966f6cb61dceff1a0
4
- data.tar.gz: 4ece79001e62af4c065423161a2aadbb2c0b6f1a
3
+ metadata.gz: 05a4fbeb8d6a9f2c31a3721fedb71a1e3630b147
4
+ data.tar.gz: 53c46ebaca9999c660e2a35c60fcc64c318508e4
5
5
  SHA512:
6
- metadata.gz: 76d1b685cb7d7d66f8a8eeea81d010ecc3bec1e9a49ce2c3328f4b2f9f4086eb0a46fb61e83f5d45084ba33c664c94e70fc1cdf5201153cff6df48cbedd40ac9
7
- data.tar.gz: 24ae64c8d5cfe45081fa3f8d5647a7d365cad2b349d8f6039e66b4f35ce1a7b6be9af4ec211c7c6b9f046ab0d466e934cdabb87e0ca876641cd8d25efe117d27
6
+ metadata.gz: c4b459a108322671aea4907a9f34c67fafd0936e635001eeacdd9b4d9c06d197c2740e419efe198c4cb76192cc85868d6957e7353acc63fa9d80dc1ae0662528
7
+ data.tar.gz: ad17a906bb7027fe11c5033e834203e1afe55290e8ea4b7046c564b11485ab52509b790a0da4585933f20bcf424b216dbd9eb4a20b86c523c3fe15c91ba867e2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.5.0 - 2016-11-18
2
+ This version contains compatibility breaking for the default config, but you can use old config `fetch_unknown_columns` in this version.
3
+
4
+ * [enhancement] Change default value to fetch_unknown_columns: false [#46](https://github.com/treasure-data/embulk-input-mixpanel/pull/46)
5
+
1
6
  ## 0.4.7 - 2016-09-08
2
7
  * [fixed] Retry was only enabled on preview and run. [#45](https://github.com/treasure-data/embulk-input-mixpanel/pull/45)
3
8
 
data/README.md CHANGED
@@ -38,9 +38,9 @@ To get it, you should log in mixpanel website, and click gear icon at the lower
38
38
  - NOTE: Mixpanel API supports to export data from at least 2 days before to at most the previous day.
39
39
  - **fetch_days**: Count of days range for exporting (integer, optional, default: from_date - (today - 1))
40
40
  - NOTE: Mixpanel doesn't support to from_date > today - 2
41
- - **fetch_unknown_columns**(deprecated): If you want this plugin fetches unknown (unconfigured in config) columns (boolean, optional, default: true)
41
+ - **fetch_unknown_columns**(deprecated): If you want this plugin fetches unknown (unconfigured in config) columns (boolean, optional, default: false)
42
42
  - NOTE: If true, `unknown_columns` column is created and added unknown columns' data.
43
- - **fetch_custom_properties**: All custom properties into `custom_properties` key. "custom properties" are not desribed Mixpanel document [1](https://mixpanel.com/help/questions/articles/special-or-reserved-properties), [2](https://mixpanel.com/help/questions/articles/what-properties-do-mixpanels-libraries-store-by-default). (boolean, optional, default: false)
43
+ - **fetch_custom_properties**: All custom properties into `custom_properties` key. "custom properties" are not desribed Mixpanel document [1](https://mixpanel.com/help/questions/articles/special-or-reserved-properties), [2](https://mixpanel.com/help/questions/articles/what-properties-do-mixpanels-libraries-store-by-default). (boolean, optional, default: true)
44
44
  - NOTE: Cannot set both `fetch_unknown_columns` and `fetch_custom_properties` to `true`.
45
45
  - **event**: The event or events to filter data (array, optional, default: nil)
46
46
  - **where**: Expression to filter data (c.f. https://mixpanel.com/docs/api-documentation/data-export-api#segmentation-expressions) (string, optional, default: nil)
@@ -1,7 +1,7 @@
1
1
 
2
2
  Gem::Specification.new do |spec|
3
3
  spec.name = "embulk-input-mixpanel"
4
- spec.version = "0.4.7"
4
+ spec.version = "0.5.0"
5
5
  spec.authors = ["yoshihara", "uu59"]
6
6
  spec.summary = "Mixpanel input plugin for Embulk"
7
7
  spec.description = "Loads records from Mixpanel."
@@ -22,6 +22,6 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency 'pry'
23
23
  spec.add_development_dependency 'test-unit'
24
24
  spec.add_development_dependency 'test-unit-rr'
25
- spec.add_development_dependency 'codeclimate-test-reporter'
25
+ spec.add_development_dependency 'codeclimate-test-reporter', "~> 0.5"
26
26
  spec.add_development_dependency 'everyleaf-embulk_helper'
27
27
  end
@@ -38,7 +38,7 @@ module Embulk
38
38
  range = RangeGenerator.new(from_date, fetch_days).generate_range
39
39
  Embulk.logger.info "Try to fetch data from #{range.first} to #{range.last}"
40
40
 
41
- fetch_unknown_columns = config.param(:fetch_unknown_columns, :bool, default: true)
41
+ fetch_unknown_columns = config.param(:fetch_unknown_columns, :bool, default: false)
42
42
 
43
43
  task = {
44
44
  params: export_params(config),
@@ -48,7 +48,7 @@ module Embulk
48
48
  api_secret: config.param(:api_secret, :string),
49
49
  schema: config.param(:columns, :array),
50
50
  fetch_unknown_columns: fetch_unknown_columns,
51
- fetch_custom_properties: config.param(:fetch_custom_properties, :bool, default: false),
51
+ fetch_custom_properties: config.param(:fetch_custom_properties, :bool, default: true),
52
52
  retry_initial_wait_sec: config.param(:retry_initial_wait_sec, :integer, default: 1),
53
53
  retry_limit: config.param(:retry_limit, :integer, default: 5),
54
54
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-input-mixpanel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoshihara
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-09-08 00:00:00.000000000 Z
12
+ date: 2016-11-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  requirement: !ruby/object:Gem::Requirement
@@ -146,17 +146,17 @@ dependencies:
146
146
  - !ruby/object:Gem::Dependency
147
147
  requirement: !ruby/object:Gem::Requirement
148
148
  requirements:
149
- - - ">="
149
+ - - "~>"
150
150
  - !ruby/object:Gem::Version
151
- version: '0'
151
+ version: '0.5'
152
152
  name: codeclimate-test-reporter
153
153
  prerelease: false
154
154
  type: :development
155
155
  version_requirements: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ">="
157
+ - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '0'
159
+ version: '0.5'
160
160
  - !ruby/object:Gem::Dependency
161
161
  requirement: !ruby/object:Gem::Requirement
162
162
  requirements: