pyper_rb 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +16 -0
  3. data/Gemfile +24 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +178 -0
  6. data/Rakefile +10 -0
  7. data/lib/pyper/all.rb +4 -0
  8. data/lib/pyper/pipeline.rb +63 -0
  9. data/lib/pyper/pipes/cassandra/all_items_reader.rb +40 -0
  10. data/lib/pyper/pipes/cassandra/deleter.rb +19 -0
  11. data/lib/pyper/pipes/cassandra/mod_key.rb +32 -0
  12. data/lib/pyper/pipes/cassandra/mod_key_reader.rb +41 -0
  13. data/lib/pyper/pipes/cassandra/pagination_decoding.rb +22 -0
  14. data/lib/pyper/pipes/cassandra/pagination_encoding.rb +17 -0
  15. data/lib/pyper/pipes/cassandra/reader.rb +35 -0
  16. data/lib/pyper/pipes/cassandra/writer.rb +24 -0
  17. data/lib/pyper/pipes/cassandra.rb +8 -0
  18. data/lib/pyper/pipes/content/fetch.rb +30 -0
  19. data/lib/pyper/pipes/content/store.rb +36 -0
  20. data/lib/pyper/pipes/content.rb +2 -0
  21. data/lib/pyper/pipes/default_values.rb +15 -0
  22. data/lib/pyper/pipes/field_rename.rb +23 -0
  23. data/lib/pyper/pipes/force_enumerator.rb +13 -0
  24. data/lib/pyper/pipes/model/attribute_deserializer.rb +27 -0
  25. data/lib/pyper/pipes/model/attribute_serializer.rb +34 -0
  26. data/lib/pyper/pipes/model/attribute_validation.rb +57 -0
  27. data/lib/pyper/pipes/model/virtus_deserializer.rb +39 -0
  28. data/lib/pyper/pipes/model/virtus_parser.rb +13 -0
  29. data/lib/pyper/pipes/model.rb +5 -0
  30. data/lib/pyper/pipes/no_op.rb +15 -0
  31. data/lib/pyper/pipes/pry.rb +9 -0
  32. data/lib/pyper/pipes/remove_fields.rb +22 -0
  33. data/lib/pyper/pipes.rb +8 -0
  34. data/lib/pyper/version.rb +3 -0
  35. data/lib/pyper.rb +4 -0
  36. data/pyper_rb.gemspec +22 -0
  37. data/test/fixtures/cass_schema_config.yml +6 -0
  38. data/test/fixtures/test_datastore/schema.cql +23 -0
  39. data/test/test_helper.rb +34 -0
  40. data/test/unit/pyper/pipeline_test.rb +81 -0
  41. data/test/unit/pyper/pipes/cassandra/all_items_reader_test.rb +47 -0
  42. data/test/unit/pyper/pipes/cassandra/deleter_test.rb +37 -0
  43. data/test/unit/pyper/pipes/cassandra/mod_key_reader_test.rb +47 -0
  44. data/test/unit/pyper/pipes/cassandra/pagination_decoding_test.rb +29 -0
  45. data/test/unit/pyper/pipes/cassandra/pagination_encoding_test.rb +29 -0
  46. data/test/unit/pyper/pipes/cassandra/reader_test.rb +79 -0
  47. data/test/unit/pyper/pipes/cassandra/writer_test.rb +51 -0
  48. data/test/unit/pyper/pipes/content/fetch_test.rb +38 -0
  49. data/test/unit/pyper/pipes/content/store_test.rb +49 -0
  50. data/test/unit/pyper/pipes/field_rename_test.rb +24 -0
  51. data/test/unit/pyper/pipes/model/attribute_deserializer_test.rb +69 -0
  52. data/test/unit/pyper/pipes/model/attribute_serializer_test.rb +60 -0
  53. data/test/unit/pyper/pipes/model/attribute_validation_test.rb +96 -0
  54. data/test/unit/pyper/pipes/model/virtus_deserializer_test.rb +75 -0
  55. data/test/unit/pyper/pipes/no_op_test.rb +12 -0
  56. data/test/unit/pyper/pipes/remove_fields_test.rb +24 -0
  57. metadata +147 -0
metadata ADDED
@@ -0,0 +1,147 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pyper_rb
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Arron Norwell
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-02-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.7'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description:
42
+ email:
43
+ - anorwell@datto.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - ".gitignore"
49
+ - Gemfile
50
+ - LICENSE.txt
51
+ - README.md
52
+ - Rakefile
53
+ - lib/pyper.rb
54
+ - lib/pyper/all.rb
55
+ - lib/pyper/pipeline.rb
56
+ - lib/pyper/pipes.rb
57
+ - lib/pyper/pipes/cassandra.rb
58
+ - lib/pyper/pipes/cassandra/all_items_reader.rb
59
+ - lib/pyper/pipes/cassandra/deleter.rb
60
+ - lib/pyper/pipes/cassandra/mod_key.rb
61
+ - lib/pyper/pipes/cassandra/mod_key_reader.rb
62
+ - lib/pyper/pipes/cassandra/pagination_decoding.rb
63
+ - lib/pyper/pipes/cassandra/pagination_encoding.rb
64
+ - lib/pyper/pipes/cassandra/reader.rb
65
+ - lib/pyper/pipes/cassandra/writer.rb
66
+ - lib/pyper/pipes/content.rb
67
+ - lib/pyper/pipes/content/fetch.rb
68
+ - lib/pyper/pipes/content/store.rb
69
+ - lib/pyper/pipes/default_values.rb
70
+ - lib/pyper/pipes/field_rename.rb
71
+ - lib/pyper/pipes/force_enumerator.rb
72
+ - lib/pyper/pipes/model.rb
73
+ - lib/pyper/pipes/model/attribute_deserializer.rb
74
+ - lib/pyper/pipes/model/attribute_serializer.rb
75
+ - lib/pyper/pipes/model/attribute_validation.rb
76
+ - lib/pyper/pipes/model/virtus_deserializer.rb
77
+ - lib/pyper/pipes/model/virtus_parser.rb
78
+ - lib/pyper/pipes/no_op.rb
79
+ - lib/pyper/pipes/pry.rb
80
+ - lib/pyper/pipes/remove_fields.rb
81
+ - lib/pyper/version.rb
82
+ - pyper_rb.gemspec
83
+ - test/fixtures/cass_schema_config.yml
84
+ - test/fixtures/test_datastore/schema.cql
85
+ - test/test_helper.rb
86
+ - test/unit/pyper/pipeline_test.rb
87
+ - test/unit/pyper/pipes/cassandra/all_items_reader_test.rb
88
+ - test/unit/pyper/pipes/cassandra/deleter_test.rb
89
+ - test/unit/pyper/pipes/cassandra/mod_key_reader_test.rb
90
+ - test/unit/pyper/pipes/cassandra/pagination_decoding_test.rb
91
+ - test/unit/pyper/pipes/cassandra/pagination_encoding_test.rb
92
+ - test/unit/pyper/pipes/cassandra/reader_test.rb
93
+ - test/unit/pyper/pipes/cassandra/writer_test.rb
94
+ - test/unit/pyper/pipes/content/fetch_test.rb
95
+ - test/unit/pyper/pipes/content/store_test.rb
96
+ - test/unit/pyper/pipes/field_rename_test.rb
97
+ - test/unit/pyper/pipes/model/attribute_deserializer_test.rb
98
+ - test/unit/pyper/pipes/model/attribute_serializer_test.rb
99
+ - test/unit/pyper/pipes/model/attribute_validation_test.rb
100
+ - test/unit/pyper/pipes/model/virtus_deserializer_test.rb
101
+ - test/unit/pyper/pipes/no_op_test.rb
102
+ - test/unit/pyper/pipes/remove_fields_test.rb
103
+ homepage: ''
104
+ licenses:
105
+ - MIT
106
+ metadata: {}
107
+ post_install_message:
108
+ rdoc_options: []
109
+ require_paths:
110
+ - lib
111
+ required_ruby_version: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ version: '0'
116
+ required_rubygems_version: !ruby/object:Gem::Requirement
117
+ requirements:
118
+ - - ">="
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
121
+ requirements: []
122
+ rubyforge_project:
123
+ rubygems_version: 2.4.8
124
+ signing_key:
125
+ specification_version: 4
126
+ summary: Create pipelines for storing data.
127
+ test_files:
128
+ - test/fixtures/cass_schema_config.yml
129
+ - test/fixtures/test_datastore/schema.cql
130
+ - test/test_helper.rb
131
+ - test/unit/pyper/pipeline_test.rb
132
+ - test/unit/pyper/pipes/cassandra/all_items_reader_test.rb
133
+ - test/unit/pyper/pipes/cassandra/deleter_test.rb
134
+ - test/unit/pyper/pipes/cassandra/mod_key_reader_test.rb
135
+ - test/unit/pyper/pipes/cassandra/pagination_decoding_test.rb
136
+ - test/unit/pyper/pipes/cassandra/pagination_encoding_test.rb
137
+ - test/unit/pyper/pipes/cassandra/reader_test.rb
138
+ - test/unit/pyper/pipes/cassandra/writer_test.rb
139
+ - test/unit/pyper/pipes/content/fetch_test.rb
140
+ - test/unit/pyper/pipes/content/store_test.rb
141
+ - test/unit/pyper/pipes/field_rename_test.rb
142
+ - test/unit/pyper/pipes/model/attribute_deserializer_test.rb
143
+ - test/unit/pyper/pipes/model/attribute_serializer_test.rb
144
+ - test/unit/pyper/pipes/model/attribute_validation_test.rb
145
+ - test/unit/pyper/pipes/model/virtus_deserializer_test.rb
146
+ - test/unit/pyper/pipes/no_op_test.rb
147
+ - test/unit/pyper/pipes/remove_fields_test.rb