new_cfoundry 4.8.2 → 4.8.3

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.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: new_cfoundry
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.8.2
4
+ version: 4.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - CI-Platform-Team
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-05-17 00:00:00.000000000 Z
12
+ date: 2016-10-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemodel
@@ -45,6 +45,20 @@ dependencies:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 2.0.0
48
+ - !ruby/object:Gem::Dependency
49
+ name: jwt
50
+ requirement: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.5'
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.5'
48
62
  - !ruby/object:Gem::Dependency
49
63
  name: multi_json
50
64
  requirement: !ruby/object:Gem::Requirement
@@ -540,9 +554,6 @@ files:
540
554
  - spec/support/shared_examples/client_login_examples.rb
541
555
  - spec/support/shared_examples/model_summary_examples.rb
542
556
  - spec/support/test_model_builder.rb
543
- - vendor/errors/README.md
544
- - vendor/errors/v1.yml
545
- - vendor/errors/v2.yml
546
557
  homepage: http://github.com/kirikak2/cfoundry
547
558
  licenses:
548
559
  - Apache 2.0
@@ -563,131 +574,131 @@ required_rubygems_version: !ruby/object:Gem::Requirement
563
574
  version: '0'
564
575
  requirements: []
565
576
  rubyforge_project:
566
- rubygems_version: 2.2.2
577
+ rubygems_version: 2.4.8
567
578
  signing_key:
568
579
  specification_version: 4
569
580
  summary: High-level library for working with the Cloud Foundry API. This is fork from
570
581
  https://github.com/cloudfoundry-attic/cfoundry
571
582
  test_files:
572
- - spec/fixtures/fake_cc_created_space.json
573
- - spec/fixtures/fake_cc_created_application.json
574
- - spec/fixtures/fake_cc_service_bindings.json
575
- - spec/fixtures/fake_cc_created_organization.json
576
- - spec/fixtures/fake_cc_space_summary.json
577
- - spec/fixtures/fake_cc_user.json
578
- - spec/fixtures/fake_cc_user_with_managers.json
579
- - spec/fixtures/fake_cc_created_domain.json
580
- - spec/fixtures/fake_cc_domain.json
581
- - spec/fixtures/fake_cc_application.json
582
- - spec/fixtures/fake_cc_created_service_instance.json
583
- - spec/fixtures/fake_cc_app_usage_events.json
584
- - spec/fixtures/fake_cc_service_binding.json
585
- - spec/fixtures/fake_cc_created_user.json
586
- - spec/fixtures/fake_cc_organization_spaces.json
587
- - spec/fixtures/fake_cc_organization_search.json
588
- - spec/fixtures/fake_cc_user_organizations.json
589
- - spec/fixtures/fake_cc_domain_spaces.json
590
- - spec/fixtures/fake_cc_service_instance.json
591
- - spec/fixtures/fake_cc_empty_search.json
592
- - spec/fixtures/apps/with_dotfiles/xyz
593
- - spec/fixtures/apps/with_external_symlink/foo
594
- - spec/fixtures/apps/with_ignored_external_symlink/foo
595
- - spec/fixtures/apps/with_nested_directories/xyz
596
- - spec/fixtures/apps/with_nested_directories/foo/bar/baz/fizz
597
- - spec/fixtures/apps/with_cfignore/ambiguous_ignored
598
- - spec/fixtures/apps/with_cfignore/ignored_dir/file_in_ignored_dir.txt
599
- - spec/fixtures/apps/with_cfignore/non_ignored_dir/file_in_non_ignored_dir.txt
600
- - spec/fixtures/apps/with_cfignore/non_ignored_dir/ignored_file.txt
601
- - spec/fixtures/apps/with_cfignore/non_ignored_dir/toplevel_ignored.txt
602
- - spec/fixtures/apps/with_cfignore/non_ignored_file.txt
603
- - spec/fixtures/apps/with_cfignore/ignored_file.txt
604
- - spec/fixtures/apps/with_cfignore/toplevel_ignored.txt
605
- - spec/fixtures/empty_file
606
- - spec/fixtures/fake_cc_organization_users.json
607
- - spec/fixtures/fake_cc_events.json
608
- - spec/fixtures/fake_cc_user_provided_service_instance.json
609
- - spec/fixtures/fake_cc_space.json
610
- - spec/fixtures/fake_cc_organization.json
611
- - spec/fixtures/fake_cc_runtimes.json
612
- - spec/fixtures/fake_cc_frameworks.json
613
- - spec/fixtures/fake_cc_created_route.json
614
- - spec/fixtures/fake_cc_space_apps.json
615
- - spec/fixtures/fake_cc_service_instances.json
616
- - spec/fixtures/fake_cc_stats.json
617
- - spec/fixtures/fake_cc_services.json
618
- - spec/fixtures/fake_cc_organization_domains.json
619
- - spec/fixtures/fake_cc_managed_service_instance.json
620
- - spec/fixtures/fake_cc_spaces.json
621
- - spec/fixtures/fake_cc_organization_summary.json
622
- - spec/fixtures/fake_cc_application_summary.json
623
- - spec/fixtures/fake_cc_route.json
624
- - spec/support/test_model_builder.rb
625
- - spec/support/factory_girl.rb
626
- - spec/support/shared_examples/model_summary_examples.rb
627
- - spec/support/shared_examples/client_login_examples.rb
628
- - spec/support/shared_examples/cc_api_stub_request_examples.rb
629
- - spec/spec_helper.rb
630
- - spec/cc_api_stub/organization_users_spec.rb
631
- - spec/cc_api_stub/services_spec.rb
632
- - spec/cc_api_stub/events_spec.rb
633
- - spec/cc_api_stub/frameworks_spec.rb
634
- - spec/cc_api_stub/spaces_spec.rb
635
- - spec/cc_api_stub/domains_spec.rb
636
- - spec/cc_api_stub/service_instances_spec.rb
637
- - spec/cc_api_stub/organizations_spec.rb
638
- - spec/cc_api_stub/app_usage_events_spec.rb
639
- - spec/cc_api_stub/space_users_spec.rb
640
- - spec/cc_api_stub/login_spec.rb
641
- - spec/cc_api_stub/users_spec.rb
642
- - spec/cc_api_stub/runtimes_spec.rb
643
- - spec/cc_api_stub/service_bindings_spec.rb
644
- - spec/cc_api_stub/applications_spec.rb
645
- - spec/cc_api_stub/routes_spec.rb
646
- - spec/factories/spaces_factory.rb
647
- - spec/factories/app_events_factory.rb
648
- - spec/factories/user_provided_service_instances_factory.rb
649
- - spec/factories/quota_definitions_factory.rb
650
- - spec/factories/domains_factory.rb
651
- - spec/factories/users_factory.rb
652
- - spec/factories/services_factory.rb
653
- - spec/factories/app_usage_events_factory.rb
654
- - spec/factories/service_instances_factory.rb
655
- - spec/factories/service_plans_factory.rb
656
- - spec/factories/routes_factory.rb
657
- - spec/factories/clients_factory.rb
658
- - spec/factories/events_factory.rb
659
- - spec/factories/apps_factory.rb
660
- - spec/factories/organizations_factory.rb
661
- - spec/integration/client_spec.rb
662
- - spec/cfoundry/rest_client_spec.rb
663
- - spec/cfoundry/client_spec.rb
664
- - spec/cfoundry/v2/client_spec.rb
583
+ - spec/cfoundry/v2/organization_spec.rb
665
584
  - spec/cfoundry/v2/quota_definition_spec.rb
666
- - spec/cfoundry/v2/app_spec.rb
667
- - spec/cfoundry/v2/app_instance_spec.rb
668
- - spec/cfoundry/v2/user_provided_service_instance_spec.rb
669
- - spec/cfoundry/v2/domain_spec.rb
670
- - spec/cfoundry/v2/base_spec.rb
671
- - spec/cfoundry/v2/model_magic_spec.rb
672
585
  - spec/cfoundry/v2/route_spec.rb
673
- - spec/cfoundry/v2/organization_spec.rb
674
- - spec/cfoundry/v2/user_spec.rb
586
+ - spec/cfoundry/v2/model_magic_spec.rb
587
+ - spec/cfoundry/v2/client_spec.rb
588
+ - spec/cfoundry/v2/app_instance_spec.rb
589
+ - spec/cfoundry/v2/model_spec.rb
590
+ - spec/cfoundry/v2/app_event_spec.rb
675
591
  - spec/cfoundry/v2/event_spec.rb
592
+ - spec/cfoundry/v2/user_provided_service_instance_spec.rb
593
+ - spec/cfoundry/v2/app_spec.rb
676
594
  - spec/cfoundry/v2/service_plan_spec.rb
595
+ - spec/cfoundry/v2/user_spec.rb
677
596
  - spec/cfoundry/v2/app_usage_event_spec.rb
678
597
  - spec/cfoundry/v2/model_magic/to_many_spec.rb
679
598
  - spec/cfoundry/v2/model_magic/to_one_spec.rb
680
- - spec/cfoundry/v2/model_magic/has_summary_spec.rb
681
599
  - spec/cfoundry/v2/model_magic/attribute_spec.rb
682
- - spec/cfoundry/v2/app_event_spec.rb
600
+ - spec/cfoundry/v2/model_magic/has_summary_spec.rb
601
+ - spec/cfoundry/v2/service_spec.rb
602
+ - spec/cfoundry/v2/domain_spec.rb
603
+ - spec/cfoundry/v2/base_spec.rb
683
604
  - spec/cfoundry/v2/managed_service_instance_spec.rb
684
- - spec/cfoundry/v2/model_spec.rb
685
605
  - spec/cfoundry/v2/space_spec.rb
686
- - spec/cfoundry/v2/service_spec.rb
687
- - spec/cfoundry/trace_helpers_spec.rb
688
606
  - spec/cfoundry/baseclient_spec.rb
689
- - spec/cfoundry/validator_spec.rb
690
- - spec/cfoundry/errors_spec.rb
607
+ - spec/cfoundry/auth_token_spec.rb
691
608
  - spec/cfoundry/uaaclient_spec.rb
609
+ - spec/cfoundry/validator_spec.rb
610
+ - spec/cfoundry/client_spec.rb
692
611
  - spec/cfoundry/upload_helpers_spec.rb
693
- - spec/cfoundry/auth_token_spec.rb
612
+ - spec/cfoundry/errors_spec.rb
613
+ - spec/cfoundry/rest_client_spec.rb
614
+ - spec/cfoundry/trace_helpers_spec.rb
615
+ - spec/support/factory_girl.rb
616
+ - spec/support/shared_examples/cc_api_stub_request_examples.rb
617
+ - spec/support/shared_examples/model_summary_examples.rb
618
+ - spec/support/shared_examples/client_login_examples.rb
619
+ - spec/support/test_model_builder.rb
620
+ - spec/integration/client_spec.rb
621
+ - spec/spec_helper.rb
622
+ - spec/factories/events_factory.rb
623
+ - spec/factories/service_plans_factory.rb
624
+ - spec/factories/organizations_factory.rb
625
+ - spec/factories/clients_factory.rb
626
+ - spec/factories/quota_definitions_factory.rb
627
+ - spec/factories/domains_factory.rb
628
+ - spec/factories/apps_factory.rb
629
+ - spec/factories/services_factory.rb
630
+ - spec/factories/users_factory.rb
631
+ - spec/factories/user_provided_service_instances_factory.rb
632
+ - spec/factories/app_usage_events_factory.rb
633
+ - spec/factories/routes_factory.rb
634
+ - spec/factories/service_instances_factory.rb
635
+ - spec/factories/app_events_factory.rb
636
+ - spec/factories/spaces_factory.rb
637
+ - spec/cc_api_stub/applications_spec.rb
638
+ - spec/cc_api_stub/runtimes_spec.rb
639
+ - spec/cc_api_stub/spaces_spec.rb
640
+ - spec/cc_api_stub/frameworks_spec.rb
641
+ - spec/cc_api_stub/space_users_spec.rb
642
+ - spec/cc_api_stub/events_spec.rb
643
+ - spec/cc_api_stub/services_spec.rb
644
+ - spec/cc_api_stub/service_instances_spec.rb
645
+ - spec/cc_api_stub/app_usage_events_spec.rb
646
+ - spec/cc_api_stub/domains_spec.rb
647
+ - spec/cc_api_stub/organizations_spec.rb
648
+ - spec/cc_api_stub/login_spec.rb
649
+ - spec/cc_api_stub/routes_spec.rb
650
+ - spec/cc_api_stub/organization_users_spec.rb
651
+ - spec/cc_api_stub/users_spec.rb
652
+ - spec/cc_api_stub/service_bindings_spec.rb
653
+ - spec/fixtures/fake_cc_app_usage_events.json
654
+ - spec/fixtures/fake_cc_services.json
655
+ - spec/fixtures/fake_cc_service_binding.json
656
+ - spec/fixtures/fake_cc_user_with_managers.json
657
+ - spec/fixtures/fake_cc_application_summary.json
658
+ - spec/fixtures/fake_cc_organization_users.json
659
+ - spec/fixtures/fake_cc_created_organization.json
660
+ - spec/fixtures/fake_cc_runtimes.json
661
+ - spec/fixtures/fake_cc_organization.json
662
+ - spec/fixtures/fake_cc_user_organizations.json
663
+ - spec/fixtures/empty_file
664
+ - spec/fixtures/fake_cc_route.json
665
+ - spec/fixtures/fake_cc_spaces.json
666
+ - spec/fixtures/fake_cc_service_bindings.json
667
+ - spec/fixtures/fake_cc_service_instance.json
668
+ - spec/fixtures/fake_cc_created_route.json
669
+ - spec/fixtures/fake_cc_events.json
670
+ - spec/fixtures/fake_cc_organization_domains.json
671
+ - spec/fixtures/fake_cc_created_application.json
672
+ - spec/fixtures/fake_cc_domain_spaces.json
673
+ - spec/fixtures/fake_cc_organization_search.json
674
+ - spec/fixtures/fake_cc_user_provided_service_instance.json
675
+ - spec/fixtures/fake_cc_stats.json
676
+ - spec/fixtures/fake_cc_application.json
677
+ - spec/fixtures/fake_cc_service_instances.json
678
+ - spec/fixtures/fake_cc_space_summary.json
679
+ - spec/fixtures/fake_cc_organization_summary.json
680
+ - spec/fixtures/fake_cc_frameworks.json
681
+ - spec/fixtures/fake_cc_created_user.json
682
+ - spec/fixtures/fake_cc_created_domain.json
683
+ - spec/fixtures/fake_cc_domain.json
684
+ - spec/fixtures/fake_cc_empty_search.json
685
+ - spec/fixtures/fake_cc_space_apps.json
686
+ - spec/fixtures/fake_cc_space.json
687
+ - spec/fixtures/fake_cc_created_space.json
688
+ - spec/fixtures/fake_cc_user.json
689
+ - spec/fixtures/fake_cc_managed_service_instance.json
690
+ - spec/fixtures/fake_cc_organization_spaces.json
691
+ - spec/fixtures/fake_cc_created_service_instance.json
692
+ - spec/fixtures/apps/with_nested_directories/foo/bar/baz/fizz
693
+ - spec/fixtures/apps/with_nested_directories/xyz
694
+ - spec/fixtures/apps/with_cfignore/non_ignored_file.txt
695
+ - spec/fixtures/apps/with_cfignore/ambiguous_ignored
696
+ - spec/fixtures/apps/with_cfignore/ignored_file.txt
697
+ - spec/fixtures/apps/with_cfignore/ignored_dir/file_in_ignored_dir.txt
698
+ - spec/fixtures/apps/with_cfignore/toplevel_ignored.txt
699
+ - spec/fixtures/apps/with_cfignore/non_ignored_dir/ignored_file.txt
700
+ - spec/fixtures/apps/with_cfignore/non_ignored_dir/file_in_non_ignored_dir.txt
701
+ - spec/fixtures/apps/with_cfignore/non_ignored_dir/toplevel_ignored.txt
702
+ - spec/fixtures/apps/with_external_symlink/foo
703
+ - spec/fixtures/apps/with_dotfiles/xyz
704
+ - spec/fixtures/apps/with_ignored_external_symlink/foo
@@ -1,4 +0,0 @@
1
- cf-errors
2
- =========
3
-
4
- Shared error codes and messages for Cloud Foundry
data/vendor/errors/v1.yml DELETED
@@ -1,189 +0,0 @@
1
- 100:
2
- name: BadRequest
3
- http_code: 400
4
- message: "Bad request"
5
-
6
- 101:
7
- name: DatabaseError
8
- http_code: 500
9
- message: "Error talking with the database"
10
-
11
- 102:
12
- name: LockingError
13
- http_code: 400
14
- message: "Optimistic locking failure"
15
-
16
- 111:
17
- name: SystemError
18
- http_code: 500
19
- message: "System Exception Encountered"
20
-
21
- 200:
22
- name: Forbidden
23
- http_code: 403
24
- message: "Operation not permitted"
25
-
26
- 201:
27
- name: UserNotFound
28
- http_code: 403
29
- message: "User not found"
30
-
31
- 202:
32
- name: HttpsRequired
33
- http_code: 403
34
- message: "HTTPS required"
35
-
36
- 300:
37
- name: AppInvalid
38
- http_code: 400
39
- message: "Invalid application description"
40
-
41
- 301:
42
- name: AppNotFound
43
- http_code: 404
44
- message: "Application not found"
45
-
46
- 302:
47
- name: AppNoResources
48
- http_code: 404
49
- message: "Couldn't find a place to run an app"
50
-
51
- 303:
52
- name: AppFileNotFound
53
- http_code: 404
54
- message: "Could not find : '%s'"
55
-
56
- 304:
57
- name: AppInstanceNotFound
58
- http_code: 400
59
- message: "Could not find instance: '%s'"
60
-
61
- 305:
62
- name: AppStopped
63
- http_code: 400
64
- message: "Operation not permitted on a stopped app"
65
-
66
- 306:
67
- name: AppFileError
68
- http_code: 500
69
- message: "Error retrieving file '%s'"
70
-
71
- 307:
72
- name: AppInvalidRuntime
73
- http_code: 400
74
- message: "Invalid runtime specification [%s] for framework: '%s'"
75
-
76
- 308:
77
- name: AppInvalidFramework
78
- http_code: 400
79
- message: "Invalid framework description: '%s'"
80
-
81
- 309:
82
- name: AppDebugDisallowed
83
- http_code: 400
84
- message: "Cloud controller has disallowed debugging."
85
-
86
- 310:
87
- name: AppStagingError
88
- http_code: 500
89
- message: "Staging failed: '%s'"
90
-
91
- 400:
92
- name: ResourcesUnknownPackageType
93
- http_code: 400
94
- message: 'Unknown package type requested: "%"'
95
-
96
- 401:
97
- name: ResourcesMissingResource
98
- http_code: 400
99
- message: "Could not find the requested resource"
100
-
101
- 402:
102
- name: ResourcesPackagingFailed
103
- http_code: 500
104
- message: "App packaging failed: '%s'"
105
-
106
- 500:
107
- name: ServiceNotFound
108
- http_code: 404
109
- message: "Service not found"
110
-
111
- 501:
112
- name: BindingNotFound
113
- http_code: 404
114
- message: "Binding not found"
115
-
116
- 502:
117
- name: TokenNotFound
118
- http_code: 404
119
- message: "Token not found"
120
-
121
- 503:
122
- name: ServiceGatewayError
123
- http_code: 502
124
- message: "Unexpected response from service gateway"
125
-
126
- 504:
127
- name: AccountTooManyServices
128
- http_code: 403
129
- message: "Too many Services provisioned: %s, you're allowed: %s"
130
-
131
- 505:
132
- name: ExtensionNotImpl
133
- http_code: 501
134
- message: "Service extension %s is not implemented."
135
-
136
- 506:
137
- name: UnsupportedVersion
138
- http_code: 404
139
- message: "Unsupported service version %s."
140
-
141
- 507:
142
- name: SdsError
143
- http_code: 500
144
- message: "Get error from serialization_data_server: '%s'"
145
-
146
- 508:
147
- name: SdsNotFound
148
- http_code: 500
149
- message: "No available active serialization data server"
150
-
151
- 600:
152
- name: AccountNotEnoughMemory
153
- http_code: 403
154
- message: "Not enough memory capacity, you're allowed: %s"
155
-
156
- 601:
157
- name: AccountAppsTooMany
158
- http_code: 403
159
- message: "Too many applications: %s, you're allowed: %s"
160
-
161
- 602:
162
- name: AccountAppTooManyUris
163
- http_code: 403
164
- message: "Too many URIs: %s, you're allowed: %s"
165
-
166
- 700:
167
- name: UriInvalid
168
- http_code: 400
169
- message: 'Invalid URI: "%s"'
170
-
171
- 701:
172
- name: UriAlreadyTaken
173
- http_code: 400
174
- message: 'The URI: "%s" has already been taken or reserved'
175
-
176
- 702:
177
- name: UriNotAllowed
178
- http_code: 403
179
- message: "External URIs are not enabled for this account"
180
-
181
- 800:
182
- name: StagingTimedOut
183
- http_code: 500
184
- message: "Timed out waiting for staging to complete"
185
-
186
- 801:
187
- name: StagingFailed
188
- http_code: 500
189
- message: "Staging failed"