metaforce 0.2.0.alpha

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. data/.gitignore +7 -0
  2. data/.rvmrc +55 -0
  3. data/Gemfile +10 -0
  4. data/Guardfile +9 -0
  5. data/README.md +59 -0
  6. data/Rakefile +6 -0
  7. data/lib/metaforce.rb +4 -0
  8. data/lib/metaforce/api.rb +3 -0
  9. data/lib/metaforce/api/metadata.rb +117 -0
  10. data/lib/metaforce/api/services.rb +33 -0
  11. data/lib/metaforce/api/transaction.rb +53 -0
  12. data/lib/metaforce/config.rb +24 -0
  13. data/lib/metaforce/manifest.rb +313 -0
  14. data/lib/metaforce/version.rb +3 -0
  15. data/metaforce.gemspec +28 -0
  16. data/spec/.gitignore +1 -0
  17. data/spec/fixtures/package.xml +17 -0
  18. data/spec/fixtures/requests/check_deploy_status/done.xml +33 -0
  19. data/spec/fixtures/requests/check_deploy_status/error.xml +26 -0
  20. data/spec/fixtures/requests/check_status/done.xml +19 -0
  21. data/spec/fixtures/requests/check_status/not_done.xml +19 -0
  22. data/spec/fixtures/requests/deploy/in_progress.xml +13 -0
  23. data/spec/fixtures/requests/describe_metadata/success.xml +230 -0
  24. data/spec/fixtures/requests/list_metadata/objects.xml +33 -0
  25. data/spec/fixtures/requests/login/failure.xml +15 -0
  26. data/spec/fixtures/requests/login/success.xml +39 -0
  27. data/spec/fixtures/sample/src/classes/TestClass.cls +2 -0
  28. data/spec/fixtures/sample/src/classes/TestClass.cls-meta.xml +5 -0
  29. data/spec/fixtures/sample/src/package.xml +8 -0
  30. data/spec/lib/api/metadata_spec.rb +139 -0
  31. data/spec/lib/api/services_spec.rb +24 -0
  32. data/spec/lib/api/transaction_spec.rb +62 -0
  33. data/spec/lib/config_spec.rb +53 -0
  34. data/spec/lib/manifest_spec.rb +181 -0
  35. data/spec/spec_helper.rb +11 -0
  36. data/wsdl/23.0/metadata.xml +3520 -0
  37. data/wsdl/23.0/partner.xml +3190 -0
  38. metadata +167 -0
metadata ADDED
@@ -0,0 +1,167 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: metaforce
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0.alpha
5
+ prerelease: 6
6
+ platform: ruby
7
+ authors:
8
+ - Eric J. Holmes
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-01-27 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: nokogiri
16
+ requirement: &2168826860 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *2168826860
25
+ - !ruby/object:Gem::Dependency
26
+ name: savon
27
+ requirement: &2168825720 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *2168825720
36
+ - !ruby/object:Gem::Dependency
37
+ name: rubyzip
38
+ requirement: &2168824120 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *2168824120
47
+ - !ruby/object:Gem::Dependency
48
+ name: rspec
49
+ requirement: &2168822980 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *2168822980
58
+ - !ruby/object:Gem::Dependency
59
+ name: mocha
60
+ requirement: &2168821960 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *2168821960
69
+ - !ruby/object:Gem::Dependency
70
+ name: savon_spec
71
+ requirement: &2168820680 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *2168820680
80
+ description: A Ruby gem for interacting with the Salesforce Metadata API
81
+ email:
82
+ - eric@ejholmes.net
83
+ executables: []
84
+ extensions: []
85
+ extra_rdoc_files: []
86
+ files:
87
+ - .gitignore
88
+ - .rvmrc
89
+ - Gemfile
90
+ - Guardfile
91
+ - README.md
92
+ - Rakefile
93
+ - lib/metaforce.rb
94
+ - lib/metaforce/api.rb
95
+ - lib/metaforce/api/metadata.rb
96
+ - lib/metaforce/api/services.rb
97
+ - lib/metaforce/api/transaction.rb
98
+ - lib/metaforce/config.rb
99
+ - lib/metaforce/manifest.rb
100
+ - lib/metaforce/version.rb
101
+ - metaforce.gemspec
102
+ - spec/.gitignore
103
+ - spec/fixtures/package.xml
104
+ - spec/fixtures/requests/check_deploy_status/done.xml
105
+ - spec/fixtures/requests/check_deploy_status/error.xml
106
+ - spec/fixtures/requests/check_status/done.xml
107
+ - spec/fixtures/requests/check_status/not_done.xml
108
+ - spec/fixtures/requests/deploy/in_progress.xml
109
+ - spec/fixtures/requests/describe_metadata/success.xml
110
+ - spec/fixtures/requests/list_metadata/objects.xml
111
+ - spec/fixtures/requests/login/failure.xml
112
+ - spec/fixtures/requests/login/success.xml
113
+ - spec/fixtures/sample/src/classes/TestClass.cls
114
+ - spec/fixtures/sample/src/classes/TestClass.cls-meta.xml
115
+ - spec/fixtures/sample/src/package.xml
116
+ - spec/lib/api/metadata_spec.rb
117
+ - spec/lib/api/services_spec.rb
118
+ - spec/lib/api/transaction_spec.rb
119
+ - spec/lib/config_spec.rb
120
+ - spec/lib/manifest_spec.rb
121
+ - spec/spec_helper.rb
122
+ - wsdl/23.0/metadata.xml
123
+ - wsdl/23.0/partner.xml
124
+ homepage: https://github.com/ejholmes/metaforce
125
+ licenses: []
126
+ post_install_message:
127
+ rdoc_options: []
128
+ require_paths:
129
+ - lib
130
+ required_ruby_version: !ruby/object:Gem::Requirement
131
+ none: false
132
+ requirements:
133
+ - - ! '>='
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
136
+ required_rubygems_version: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>'
140
+ - !ruby/object:Gem::Version
141
+ version: 1.3.1
142
+ requirements: []
143
+ rubyforge_project: metaforce
144
+ rubygems_version: 1.8.15
145
+ signing_key:
146
+ specification_version: 3
147
+ summary: A Ruby gem for interacting with the Salesforce Metadata API
148
+ test_files:
149
+ - spec/fixtures/package.xml
150
+ - spec/fixtures/requests/check_deploy_status/done.xml
151
+ - spec/fixtures/requests/check_deploy_status/error.xml
152
+ - spec/fixtures/requests/check_status/done.xml
153
+ - spec/fixtures/requests/check_status/not_done.xml
154
+ - spec/fixtures/requests/deploy/in_progress.xml
155
+ - spec/fixtures/requests/describe_metadata/success.xml
156
+ - spec/fixtures/requests/list_metadata/objects.xml
157
+ - spec/fixtures/requests/login/failure.xml
158
+ - spec/fixtures/requests/login/success.xml
159
+ - spec/fixtures/sample/src/classes/TestClass.cls
160
+ - spec/fixtures/sample/src/classes/TestClass.cls-meta.xml
161
+ - spec/fixtures/sample/src/package.xml
162
+ - spec/lib/api/metadata_spec.rb
163
+ - spec/lib/api/services_spec.rb
164
+ - spec/lib/api/transaction_spec.rb
165
+ - spec/lib/config_spec.rb
166
+ - spec/lib/manifest_spec.rb
167
+ - spec/spec_helper.rb