remi 0.2.8 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 799a82293b62f419f06ad8446996b155c3fb736a
4
- data.tar.gz: 8e7637ed08dbbd1e044b45c1d351674a6d9cf148
3
+ metadata.gz: 74284b8dbd13001a3a158fb160207fc118b23083
4
+ data.tar.gz: 7e0013ea471d6f4bcfba780398f23baea50b33ef
5
5
  SHA512:
6
- metadata.gz: 8e79dd58d157137c125943c76465a2656c31d330e0f7489ba32efcfa6a724f49a7d581bbb77f8433b96451dacde46482229ca428b26f93e73620a4a789a31bfd
7
- data.tar.gz: d284b11d7f3b0674a984e363503eb3a46e6cb89a95b7f9ac90033dd898043d5400b38daee2c130ae5d10a4059e91d4b1d370b639f3a483f0212ac43b5f105d9a
6
+ metadata.gz: 0412c7448fb204629cea090c0f3f7bfbc8c6f105ced56374133319b4df743e9f4f96e4413e15d75828cc565d96e65e773a65bb2570c7f2e37fed66525a318265
7
+ data.tar.gz: 48e412c7094cbd6b42a71a3e82663cf65628249d46fe51141b482a3b562dcde758e7e019e2532fc8633baaa0e5c5f78ef32c42dac62815b97f61046c1ff2ddab
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- remi (0.2.8)
4
+ remi (0.2.9)
5
5
  activesupport (~> 4.2)
6
6
  bond (~> 0.5)
7
7
  cucumber (~> 2.1)
File without changes
File without changes
@@ -2,7 +2,7 @@ require_relative 'all_jobs_shared'
2
2
 
3
3
  class CopySourceJob
4
4
  include AllJobsShared
5
- using AllJobsShared
5
+ using Remi::Refinements::Daru
6
6
 
7
7
  define_source :source_data, Remi::DataSource::DataFrame,
8
8
  fields: {
File without changes
data/lib/remi/cli.rb CHANGED
@@ -35,7 +35,7 @@ module Remi
35
35
  end
36
36
 
37
37
  def initialize_project
38
- template_dir = File.expand_path(File.join(File.dirname(__FILE__),'project'))
38
+ template_dir = File.expand_path(File.join(File.dirname(__FILE__),'../../'))
39
39
 
40
40
  FileUtils.mkdir_p "features"
41
41
  FileUtils.cp(File.join(template_dir, 'features/sample_job.feature'), 'features')
@@ -15,7 +15,7 @@ module Remi
15
15
 
16
16
  # Public: Saves a Dataframe to a file.
17
17
  def hash_dump(filename)
18
- File.write(filename, Marshal.dump(self.to_hash))
18
+ File.binwrite(filename, Marshal.dump(self.to_hash))
19
19
  end
20
20
 
21
21
  # Public: Allows the user to define an arbitrary aggregation function.
@@ -58,7 +58,7 @@ module Remi
58
58
  refine ::Daru::DataFrame.singleton_class do
59
59
  # Public: Creates a DataFrame by reading the dumped version from a file.
60
60
  def from_hash_dump(filename)
61
- ::Daru::DataFrame.new(Marshal.load(File.read(filename)))
61
+ ::Daru::DataFrame.new(Marshal.load(File.binread(filename)))
62
62
  end
63
63
  end
64
64
  end
data/lib/remi/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Remi
2
- VERSION = '0.2.8'
2
+ VERSION = '0.2.9'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sterling Paramore
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-27 00:00:00.000000000 Z
11
+ date: 2016-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: daru
@@ -196,6 +196,24 @@ files:
196
196
  - README.md
197
197
  - bin/remi
198
198
  - doc/install-rbenv-os_x.md
199
+ - features/aggregate.feature
200
+ - features/examples.feature
201
+ - features/formulas.feature
202
+ - features/sample_job.feature
203
+ - features/step_definitions/remi_step.rb
204
+ - features/support/env.rb
205
+ - features/support/env_app.rb
206
+ - features/transforms/date_diff.feature
207
+ - features/transforms/parse_date.feature
208
+ - features/transforms/prefix.feature
209
+ - jobs/aggregate_job.rb
210
+ - jobs/all_jobs_shared.rb
211
+ - jobs/copy_source_job.rb
212
+ - jobs/sample_job.rb
213
+ - jobs/transforms/date_diff_job.rb
214
+ - jobs/transforms/parse_date_job.rb
215
+ - jobs/transforms/prefix_job.rb
216
+ - jobs/transforms/transform_jobs.rb
199
217
  - lib/remi.rb
200
218
  - lib/remi/cli.rb
201
219
  - lib/remi/cucumber.rb
@@ -215,24 +233,6 @@ files:
215
233
  - lib/remi/field_symbolizers.rb
216
234
  - lib/remi/job.rb
217
235
  - lib/remi/lookup/regex_sieve.rb
218
- - lib/remi/project/features/aggregate.feature
219
- - lib/remi/project/features/examples.feature
220
- - lib/remi/project/features/formulas.feature
221
- - lib/remi/project/features/sample_job.feature
222
- - lib/remi/project/features/step_definitions/remi_step.rb
223
- - lib/remi/project/features/support/env.rb
224
- - lib/remi/project/features/support/env_app.rb
225
- - lib/remi/project/features/transforms/date_diff.feature
226
- - lib/remi/project/features/transforms/parse_date.feature
227
- - lib/remi/project/features/transforms/prefix.feature
228
- - lib/remi/project/jobs/aggregate_job.rb
229
- - lib/remi/project/jobs/all_jobs_shared.rb
230
- - lib/remi/project/jobs/copy_source_job.rb
231
- - lib/remi/project/jobs/sample_job.rb
232
- - lib/remi/project/jobs/transforms/date_diff_job.rb
233
- - lib/remi/project/jobs/transforms/parse_date_job.rb
234
- - lib/remi/project/jobs/transforms/prefix_job.rb
235
- - lib/remi/project/jobs/transforms/transform_jobs.rb
236
236
  - lib/remi/refinements/daru.rb
237
237
  - lib/remi/refinements/symbolizer.rb
238
238
  - lib/remi/settings.rb
@@ -267,4 +267,14 @@ rubygems_version: 2.4.5
267
267
  signing_key:
268
268
  specification_version: 4
269
269
  summary: Remi (Ruby Extract Map Integrate)
270
- test_files: []
270
+ test_files:
271
+ - features/aggregate.feature
272
+ - features/examples.feature
273
+ - features/formulas.feature
274
+ - features/sample_job.feature
275
+ - features/step_definitions/remi_step.rb
276
+ - features/support/env.rb
277
+ - features/support/env_app.rb
278
+ - features/transforms/date_diff.feature
279
+ - features/transforms/parse_date.feature
280
+ - features/transforms/prefix.feature