deploy_couch 0.0.1

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.
Files changed (37) hide show
  1. data/.gitignore +2 -0
  2. data/Gemfile +4 -0
  3. data/Gemfile.lock +14 -0
  4. data/README +0 -0
  5. data/Rakefile +1 -0
  6. data/bin/deploy_couch +16 -0
  7. data/deploy_couch.gemspec +20 -0
  8. data/deploy_couch.rake +0 -0
  9. data/lib/deploy_couch/config.rb +44 -0
  10. data/lib/deploy_couch/couch_db_schema.rb +58 -0
  11. data/lib/deploy_couch/delta.rb +36 -0
  12. data/lib/deploy_couch/delta_loader.rb +37 -0
  13. data/lib/deploy_couch/delta_processor.rb +60 -0
  14. data/lib/deploy_couch/deploy.rb +70 -0
  15. data/lib/deploy_couch/http_client.rb +48 -0
  16. data/lib/deploy_couch/repository.rb +71 -0
  17. data/lib/deploy_couch/version.rb +3 -0
  18. data/lib/deploy_couch.rb +13 -0
  19. data/spec/couchdb.yml +6 -0
  20. data/spec/integration/config_spec.rb +41 -0
  21. data/spec/integration/database_populator.rb +37 -0
  22. data/spec/integration/delta_loader_spec.rb +54 -0
  23. data/spec/integration/delta_processor_spec.rb +52 -0
  24. data/spec/integration/deltas/11_update_phone_with_std_codes.yml +13 -0
  25. data/spec/integration/deltas/12_delete_customer_name_1.yml +19 -0
  26. data/spec/integration/deltas/13_copy_and_create_new_customer.yml +20 -0
  27. data/spec/integration/deltas/1_add_address_to_customer.yml +14 -0
  28. data/spec/integration/deltas/2_add_phone_to_customer.yml +13 -0
  29. data/spec/integration/deltas/5_not_a_yaml_file.rb +0 -0
  30. data/spec/integration/deploy_spec.rb +56 -0
  31. data/spec/integration/repository_spec.rb +40 -0
  32. data/spec/spec_helper.rb +17 -0
  33. data/spec/unit/db_schema_spec.rb +66 -0
  34. data/spec/unit/delta_processor_spec.rb +61 -0
  35. data/spec/unit/deploy_spec.rb +94 -0
  36. data/spec/unit/repository_spec.rb +128 -0
  37. metadata +102 -0
metadata ADDED
@@ -0,0 +1,102 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: deploy_couch
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - venky/mln
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-07-23 00:00:00.000000000 +05:30
13
+ default_executable:
14
+ dependencies: []
15
+ description: dbDeploy for couchdb
16
+ email:
17
+ - venkatesh.swdev@gmail.com
18
+ executables:
19
+ - deploy_couch
20
+ extensions: []
21
+ extra_rdoc_files: []
22
+ files:
23
+ - .gitignore
24
+ - Gemfile
25
+ - Gemfile.lock
26
+ - README
27
+ - Rakefile
28
+ - bin/deploy_couch
29
+ - deploy_couch.gemspec
30
+ - deploy_couch.rake
31
+ - lib/deploy_couch.rb
32
+ - lib/deploy_couch/config.rb
33
+ - lib/deploy_couch/couch_db_schema.rb
34
+ - lib/deploy_couch/delta.rb
35
+ - lib/deploy_couch/delta_loader.rb
36
+ - lib/deploy_couch/delta_processor.rb
37
+ - lib/deploy_couch/deploy.rb
38
+ - lib/deploy_couch/http_client.rb
39
+ - lib/deploy_couch/repository.rb
40
+ - lib/deploy_couch/version.rb
41
+ - spec/couchdb.yml
42
+ - spec/integration/config_spec.rb
43
+ - spec/integration/database_populator.rb
44
+ - spec/integration/delta_loader_spec.rb
45
+ - spec/integration/delta_processor_spec.rb
46
+ - spec/integration/deltas/11_update_phone_with_std_codes.yml
47
+ - spec/integration/deltas/12_delete_customer_name_1.yml
48
+ - spec/integration/deltas/13_copy_and_create_new_customer.yml
49
+ - spec/integration/deltas/1_add_address_to_customer.yml
50
+ - spec/integration/deltas/2_add_phone_to_customer.yml
51
+ - spec/integration/deltas/5_not_a_yaml_file.rb
52
+ - spec/integration/deploy_spec.rb
53
+ - spec/integration/repository_spec.rb
54
+ - spec/spec_helper.rb
55
+ - spec/unit/db_schema_spec.rb
56
+ - spec/unit/delta_processor_spec.rb
57
+ - spec/unit/deploy_spec.rb
58
+ - spec/unit/repository_spec.rb
59
+ has_rdoc: true
60
+ homepage: https://github.com/venkateshcm/deploy_couch
61
+ licenses: []
62
+ post_install_message:
63
+ rdoc_options: []
64
+ require_paths:
65
+ - lib
66
+ required_ruby_version: !ruby/object:Gem::Requirement
67
+ none: false
68
+ requirements:
69
+ - - ! '>='
70
+ - !ruby/object:Gem::Version
71
+ version: '0'
72
+ required_rubygems_version: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ requirements: []
79
+ rubyforge_project: deploy_couch
80
+ rubygems_version: 1.6.2
81
+ signing_key:
82
+ specification_version: 3
83
+ summary: dbDeploy for couchdb
84
+ test_files:
85
+ - spec/couchdb.yml
86
+ - spec/integration/config_spec.rb
87
+ - spec/integration/database_populator.rb
88
+ - spec/integration/delta_loader_spec.rb
89
+ - spec/integration/delta_processor_spec.rb
90
+ - spec/integration/deltas/11_update_phone_with_std_codes.yml
91
+ - spec/integration/deltas/12_delete_customer_name_1.yml
92
+ - spec/integration/deltas/13_copy_and_create_new_customer.yml
93
+ - spec/integration/deltas/1_add_address_to_customer.yml
94
+ - spec/integration/deltas/2_add_phone_to_customer.yml
95
+ - spec/integration/deltas/5_not_a_yaml_file.rb
96
+ - spec/integration/deploy_spec.rb
97
+ - spec/integration/repository_spec.rb
98
+ - spec/spec_helper.rb
99
+ - spec/unit/db_schema_spec.rb
100
+ - spec/unit/delta_processor_spec.rb
101
+ - spec/unit/deploy_spec.rb
102
+ - spec/unit/repository_spec.rb