asana 0.10.0 → 1.0.0

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 (71) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/build.yml +24 -0
  3. data/.github/workflows/pubilsh-to-rubygem.yml +18 -0
  4. data/.github/workflows/publish-to-github-releases.yml +16 -0
  5. data/.gitignore +0 -1
  6. data/.ruby-version +1 -1
  7. data/.swagger-codegen-ignore +0 -1
  8. data/Appraisals +2 -35
  9. data/Gemfile +2 -0
  10. data/Gemfile.lock +174 -0
  11. data/README.md +23 -58
  12. data/Rakefile +10 -14
  13. data/VERSION +1 -0
  14. data/asana.gemspec +5 -5
  15. data/examples/Gemfile.lock +10 -10
  16. data/lib/asana/client.rb +10 -10
  17. data/lib/asana/http_client/error_handling.rb +11 -4
  18. data/lib/asana/resource_includes/attachment_uploading.rb +14 -7
  19. data/lib/asana/resources/gen/attachments_base.rb +7 -6
  20. data/lib/asana/resources/gen/audit_log_api_base.rb +37 -0
  21. data/lib/asana/resources/gen/goals_base.rb +229 -0
  22. data/lib/asana/resources/gen/project_briefs_base.rb +68 -0
  23. data/lib/asana/resources/gen/project_templates_base.rb +73 -0
  24. data/lib/asana/resources/gen/projects_base.rb +14 -1
  25. data/lib/asana/resources/gen/status_updates_base.rb +72 -0
  26. data/lib/asana/resources/gen/tags_base.rb +16 -3
  27. data/lib/asana/resources/gen/tasks_base.rb +9 -10
  28. data/lib/asana/resources/gen/teams_base.rb +27 -13
  29. data/lib/asana/resources/gen/time_periods_base.rb +47 -0
  30. data/lib/asana/resources/gen/typeahead_base.rb +1 -1
  31. data/lib/asana/resources/gen/users_base.rb +3 -4
  32. data/lib/asana/resources/gen/webhooks_base.rb +13 -0
  33. data/lib/asana/resources/gen/workspaces_base.rb +1 -1
  34. data/lib/asana/resources/portfolio.rb +3 -3
  35. data/lib/asana/version.rb +1 -1
  36. data/package-lock.json +115 -0
  37. data/samples/attachments_sample.yaml +41 -0
  38. data/samples/audit_log_api_sample.yaml +11 -0
  39. data/samples/batch_api_sample.yaml +11 -0
  40. data/samples/custom_field_settings_sample.yaml +21 -0
  41. data/samples/custom_fields_sample.yaml +81 -0
  42. data/samples/events_sample.yaml +11 -0
  43. data/samples/goals_sample.yaml +161 -0
  44. data/samples/jobs_sample.yaml +11 -0
  45. data/samples/organization_exports_sample.yaml +21 -0
  46. data/samples/portfolio_memberships_sample.yaml +31 -0
  47. data/samples/portfolios_sample.yaml +121 -0
  48. data/samples/project_briefs_sample.yaml +41 -0
  49. data/samples/project_memberships_sample.yaml +21 -0
  50. data/samples/project_statuses_sample.yaml +41 -0
  51. data/samples/project_templates_sample.yaml +41 -0
  52. data/samples/projects_sample.yaml +191 -0
  53. data/samples/sections_sample.yaml +71 -0
  54. data/samples/status_updates_sample.yaml +41 -0
  55. data/samples/stories_sample.yaml +51 -0
  56. data/samples/tags_sample.yaml +81 -0
  57. data/samples/tasks_sample.yaml +261 -0
  58. data/samples/team_memberships_sample.yaml +41 -0
  59. data/samples/teams_sample.yaml +61 -0
  60. data/samples/time_periods_sample.yaml +21 -0
  61. data/samples/typeahead_sample.yaml +11 -0
  62. data/samples/user_task_lists_sample.yaml +21 -0
  63. data/samples/users_sample.yaml +51 -0
  64. data/samples/webhooks_sample.yaml +51 -0
  65. data/samples/workspace_memberships_sample.yaml +31 -0
  66. data/samples/workspaces_sample.yaml +51 -0
  67. data/swagger_templates/api.mustache +1 -1
  68. data/swagger_templates/api_doc.mustache +12 -0
  69. data/swagger_templates/ruby-config.json +1 -2
  70. metadata +62 -15
  71. data/.travis.yml +0 -15
@@ -0,0 +1,41 @@
1
+ teammemberships:
2
+ get_team_membership: >-
3
+ require 'asana'
4
+
5
+
6
+ client = Asana::Client.new do |c|
7
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
8
+ end
9
+
10
+
11
+ result = client.team_memberships.get_team_membership(team_membership_gid: 'team_membership_gid', param: "value", param: "value", options: {pretty: true})
12
+ get_team_memberships: >-
13
+ require 'asana'
14
+
15
+
16
+ client = Asana::Client.new do |c|
17
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
18
+ end
19
+
20
+
21
+ result = client.team_memberships.get_team_memberships(param: "value", param: "value", options: {pretty: true})
22
+ get_team_memberships_for_team: >-
23
+ require 'asana'
24
+
25
+
26
+ client = Asana::Client.new do |c|
27
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
28
+ end
29
+
30
+
31
+ result = client.team_memberships.get_team_memberships_for_team(team_gid: 'team_gid', param: "value", param: "value", options: {pretty: true})
32
+ get_team_memberships_for_user: >-
33
+ require 'asana'
34
+
35
+
36
+ client = Asana::Client.new do |c|
37
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
38
+ end
39
+
40
+
41
+ result = client.team_memberships.get_team_memberships_for_user(user_gid: 'user_gid', workspace: ''workspace_example'', param: "value", param: "value", options: {pretty: true})
@@ -0,0 +1,61 @@
1
+ teams:
2
+ add_user_for_team: >-
3
+ require 'asana'
4
+
5
+
6
+ client = Asana::Client.new do |c|
7
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
8
+ end
9
+
10
+
11
+ result = client.teams.add_user_for_team(team_gid: 'team_gid', field: "value", field: "value", options: {pretty: true})
12
+ create_team: >-
13
+ require 'asana'
14
+
15
+
16
+ client = Asana::Client.new do |c|
17
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
18
+ end
19
+
20
+
21
+ result = client.teams.create_team(field: "value", field: "value", options: {pretty: true})
22
+ get_team: >-
23
+ require 'asana'
24
+
25
+
26
+ client = Asana::Client.new do |c|
27
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
28
+ end
29
+
30
+
31
+ result = client.teams.get_team(team_gid: 'team_gid', param: "value", param: "value", options: {pretty: true})
32
+ get_teams_for_user: >-
33
+ require 'asana'
34
+
35
+
36
+ client = Asana::Client.new do |c|
37
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
38
+ end
39
+
40
+
41
+ result = client.teams.get_teams_for_user(user_gid: 'user_gid', organization: ''organization_example'', param: "value", param: "value", options: {pretty: true})
42
+ get_teams_for_workspace: >-
43
+ require 'asana'
44
+
45
+
46
+ client = Asana::Client.new do |c|
47
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
48
+ end
49
+
50
+
51
+ result = client.teams.get_teams_for_workspace(workspace_gid: 'workspace_gid', param: "value", param: "value", options: {pretty: true})
52
+ remove_user_for_team: >-
53
+ require 'asana'
54
+
55
+
56
+ client = Asana::Client.new do |c|
57
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
58
+ end
59
+
60
+
61
+ result = client.teams.remove_user_for_team(team_gid: 'team_gid', field: "value", field: "value", options: {pretty: true})
@@ -0,0 +1,21 @@
1
+ timeperiods:
2
+ get_time_period: >-
3
+ require 'asana'
4
+
5
+
6
+ client = Asana::Client.new do |c|
7
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
8
+ end
9
+
10
+
11
+ result = client.time_periods.get_time_period(time_period_gid: 'time_period_gid', param: "value", param: "value", options: {pretty: true})
12
+ get_time_periods: >-
13
+ require 'asana'
14
+
15
+
16
+ client = Asana::Client.new do |c|
17
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
18
+ end
19
+
20
+
21
+ result = client.time_periods.get_time_periods(workspace: ''workspace_example'', param: "value", param: "value", options: {pretty: true})
@@ -0,0 +1,11 @@
1
+ typeahead:
2
+ typeahead_for_workspace: >-
3
+ require 'asana'
4
+
5
+
6
+ client = Asana::Client.new do |c|
7
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
8
+ end
9
+
10
+
11
+ result = client.typeahead.typeahead_for_workspace(workspace_gid: 'workspace_gid', resource_type: ''resource_type_example'', param: "value", param: "value", options: {pretty: true})
@@ -0,0 +1,21 @@
1
+ usertasklists:
2
+ get_user_task_list: >-
3
+ require 'asana'
4
+
5
+
6
+ client = Asana::Client.new do |c|
7
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
8
+ end
9
+
10
+
11
+ result = client.user_task_lists.get_user_task_list(user_task_list_gid: 'user_task_list_gid', param: "value", param: "value", options: {pretty: true})
12
+ get_user_task_list_for_user: >-
13
+ require 'asana'
14
+
15
+
16
+ client = Asana::Client.new do |c|
17
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
18
+ end
19
+
20
+
21
+ result = client.user_task_lists.get_user_task_list_for_user(user_gid: 'user_gid', workspace: ''workspace_example'', param: "value", param: "value", options: {pretty: true})
@@ -0,0 +1,51 @@
1
+ users:
2
+ get_favorites_for_user: >-
3
+ require 'asana'
4
+
5
+
6
+ client = Asana::Client.new do |c|
7
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
8
+ end
9
+
10
+
11
+ result = client.users.get_favorites_for_user(user_gid: 'user_gid', resource_type: ''resource_type_example'', workspace: ''workspace_example'', param: "value", param: "value", options: {pretty: true})
12
+ get_user: >-
13
+ require 'asana'
14
+
15
+
16
+ client = Asana::Client.new do |c|
17
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
18
+ end
19
+
20
+
21
+ result = client.users.get_user(user_gid: 'user_gid', param: "value", param: "value", options: {pretty: true})
22
+ get_users: >-
23
+ require 'asana'
24
+
25
+
26
+ client = Asana::Client.new do |c|
27
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
28
+ end
29
+
30
+
31
+ result = client.users.get_users(param: "value", param: "value", options: {pretty: true})
32
+ get_users_for_team: >-
33
+ require 'asana'
34
+
35
+
36
+ client = Asana::Client.new do |c|
37
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
38
+ end
39
+
40
+
41
+ result = client.users.get_users_for_team(team_gid: 'team_gid', param: "value", param: "value", options: {pretty: true})
42
+ get_users_for_workspace: >-
43
+ require 'asana'
44
+
45
+
46
+ client = Asana::Client.new do |c|
47
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
48
+ end
49
+
50
+
51
+ result = client.users.get_users_for_workspace(workspace_gid: 'workspace_gid', param: "value", param: "value", options: {pretty: true})
@@ -0,0 +1,51 @@
1
+ webhooks:
2
+ create_webhook: >-
3
+ require 'asana'
4
+
5
+
6
+ client = Asana::Client.new do |c|
7
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
8
+ end
9
+
10
+
11
+ result = client.webhooks.create_webhook(field: "value", field: "value", options: {pretty: true})
12
+ delete_webhook: >-
13
+ require 'asana'
14
+
15
+
16
+ client = Asana::Client.new do |c|
17
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
18
+ end
19
+
20
+
21
+ result = client.webhooks.delete_webhook(webhook_gid: 'webhook_gid', options: {pretty: true})
22
+ get_webhook: >-
23
+ require 'asana'
24
+
25
+
26
+ client = Asana::Client.new do |c|
27
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
28
+ end
29
+
30
+
31
+ result = client.webhooks.get_webhook(webhook_gid: 'webhook_gid', param: "value", param: "value", options: {pretty: true})
32
+ get_webhooks: >-
33
+ require 'asana'
34
+
35
+
36
+ client = Asana::Client.new do |c|
37
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
38
+ end
39
+
40
+
41
+ result = client.webhooks.get_webhooks(workspace: ''workspace_example'', param: "value", param: "value", options: {pretty: true})
42
+ update_webhook: >-
43
+ require 'asana'
44
+
45
+
46
+ client = Asana::Client.new do |c|
47
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
48
+ end
49
+
50
+
51
+ result = client.webhooks.update_webhook(webhook_gid: 'webhook_gid', field: "value", field: "value", options: {pretty: true})
@@ -0,0 +1,31 @@
1
+ workspacememberships:
2
+ get_workspace_membership: >-
3
+ require 'asana'
4
+
5
+
6
+ client = Asana::Client.new do |c|
7
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
8
+ end
9
+
10
+
11
+ result = client.workspace_memberships.get_workspace_membership(workspace_membership_gid: 'workspace_membership_gid', param: "value", param: "value", options: {pretty: true})
12
+ get_workspace_memberships_for_user: >-
13
+ require 'asana'
14
+
15
+
16
+ client = Asana::Client.new do |c|
17
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
18
+ end
19
+
20
+
21
+ result = client.workspace_memberships.get_workspace_memberships_for_user(user_gid: 'user_gid', param: "value", param: "value", options: {pretty: true})
22
+ get_workspace_memberships_for_workspace: >-
23
+ require 'asana'
24
+
25
+
26
+ client = Asana::Client.new do |c|
27
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
28
+ end
29
+
30
+
31
+ result = client.workspace_memberships.get_workspace_memberships_for_workspace(workspace_gid: 'workspace_gid', param: "value", param: "value", options: {pretty: true})
@@ -0,0 +1,51 @@
1
+ workspaces:
2
+ add_user_for_workspace: >-
3
+ require 'asana'
4
+
5
+
6
+ client = Asana::Client.new do |c|
7
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
8
+ end
9
+
10
+
11
+ result = client.workspaces.add_user_for_workspace(workspace_gid: 'workspace_gid', field: "value", field: "value", options: {pretty: true})
12
+ get_workspace: >-
13
+ require 'asana'
14
+
15
+
16
+ client = Asana::Client.new do |c|
17
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
18
+ end
19
+
20
+
21
+ result = client.workspaces.get_workspace(workspace_gid: 'workspace_gid', param: "value", param: "value", options: {pretty: true})
22
+ get_workspaces: >-
23
+ require 'asana'
24
+
25
+
26
+ client = Asana::Client.new do |c|
27
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
28
+ end
29
+
30
+
31
+ result = client.workspaces.get_workspaces(param: "value", param: "value", options: {pretty: true})
32
+ remove_user_for_workspace: >-
33
+ require 'asana'
34
+
35
+
36
+ client = Asana::Client.new do |c|
37
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
38
+ end
39
+
40
+
41
+ result = client.workspaces.remove_user_for_workspace(workspace_gid: 'workspace_gid', field: "value", field: "value", options: {pretty: true})
42
+ update_workspace: >-
43
+ require 'asana'
44
+
45
+
46
+ client = Asana::Client.new do |c|
47
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
48
+ end
49
+
50
+
51
+ result = client.workspaces.update_workspace(workspace_gid: 'workspace_gid', field: "value", field: "value", options: {pretty: true})
@@ -28,7 +28,7 @@ module Asana
28
28
  def {{operationId}}(client, {{#pathParams}}{{paramName}}: required("{{paramName}}"), {{/pathParams}}{{#queryParams}}{{#neq baseName 'opt_pretty' 'opt_fields' 'offset' 'limit'}}{{paramName}}: nil, {{/neq}}{{/queryParams}}options: {}{{#eq httpMethod 'POST' 'PUT'}}, **data{{/eq}})
29
29
  path = "{{path}}"{{#pathParams}}
30
30
  path["{ {{~baseName~}} }"] = {{paramName}}{{/pathParams}}{{^moreThanCommon queryParams}}
31
- params = { {{#queryParams}}{{#neq baseName 'opt_pretty' 'opt_fields' 'offset' 'limit'}}{{#unless @first}}, {{/unless}}{{paramName}}: {{paramName}}{{/neq}}{{/queryParams}} }.reject { |_,v| v.nil? || Array(v).empty? }{{/moreThanCommon}}
31
+ params = { {{#queryParams}}{{#neq baseName 'opt_pretty' 'opt_fields' 'offset' 'limit'}}{{#unless @first}}, {{/unless}}{{#neq paramName (fixSearchParams paramName)}}"{{/neq}}{{fixSearchParams paramName}}{{#neq paramName (fixSearchParams paramName)}}"{{/neq}}: {{paramName}}{{/neq}}{{/queryParams}} }.reject { |_,v| v.nil? || Array(v).empty? }{{/moreThanCommon}}
32
32
  {{#returnContainer}}Collection.new({{/returnContainer}}{{^returnContainer}}{{#firstClassResponseObject returnType}}{{firstClassResponseObject returnType}}.new({{/firstClassResponseObject}}{{/returnContainer}}parse(client.{{toLowerCase httpMethod}}(path, {{^moreThanCommon queryParams}}params: params, {{/moreThanCommon}}{{#eq httpMethod 'POST' 'PUT'}}body: data, {{/eq}}{{#queryParams.length}}params: params, {{/queryParams.length}}options: options)){{^returnContainer}}.first{{/returnContainer}}{{#returnContainer}}, type: {{#if (firstClassResponseObject returnType)}}{{firstClassResponseObject returnType}}{{else}}Resource{{/if}}{{/returnContainer}}{{#returnContainer}}, client: client){{/returnContainer}}{{^returnContainer}}{{#firstClassResponseObject returnType}}, client: client){{/firstClassResponseObject}}{{/returnContainer}}
33
33
  end
34
34
 
@@ -0,0 +1,12 @@
1
+ {{#operations}}{{toLowerCase classname}}: {{#operation}}{{#contents}}
2
+ {{operationId}}: >-
3
+ require 'asana'
4
+
5
+
6
+ client = Asana::Client.new do |c|
7
+ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
8
+ end
9
+
10
+
11
+ result = client.{{toLowerCase baseName}}.{{operationId}}({{#pathParams}}{{paramName}}: '{{paramName}}', {{/pathParams}}{{#queryParams}}{{#eq required true}}{{paramName}}: '{{example}}', {{/eq}}{{/queryParams}}{{#eq httpMethod 'GET'}}param: "value", param: "value", {{/eq}}{{#eq httpMethod 'POST' 'PUT'}}field: "value", field: "value", {{/eq}}options: {pretty: true}){{/contents}}{{/operation}}
12
+ {{/operations}}
@@ -2,6 +2,5 @@
2
2
  "packageName" : "asana",
3
3
  "templateDir": "swagger_templates",
4
4
  "hideGenerationTimestamp": true,
5
- "apiTests": false,
6
- "apiDocs": false
5
+ "apiTests": false
7
6
  }
metadata CHANGED
@@ -1,57 +1,63 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asana
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Txus
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-14 00:00:00.000000000 Z
11
+ date: 2022-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '3'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '1.4'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '3'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: faraday
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: '0.9'
39
+ version: '1.0'
34
40
  type: :runtime
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
44
  - - "~>"
39
45
  - !ruby/object:Gem::Version
40
- version: '0.9'
46
+ version: '1.0'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: faraday_middleware
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: '0.9'
53
+ version: '1.0'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: '0.9'
60
+ version: '1.0'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: faraday_middleware-multi_json
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +78,14 @@ dependencies:
72
78
  requirements:
73
79
  - - "~>"
74
80
  - !ruby/object:Gem::Version
75
- version: '10.0'
81
+ version: '13.0'
76
82
  type: :development
77
83
  prerelease: false
78
84
  version_requirements: !ruby/object:Gem::Requirement
79
85
  requirements:
80
86
  - - "~>"
81
87
  - !ruby/object:Gem::Version
82
- version: '10.0'
88
+ version: '13.0'
83
89
  - !ruby/object:Gem::Dependency
84
90
  name: rspec
85
91
  requirement: !ruby/object:Gem::Requirement
@@ -122,20 +128,24 @@ extensions: []
122
128
  extra_rdoc_files: []
123
129
  files:
124
130
  - ".codeclimate.yml"
131
+ - ".github/workflows/build.yml"
132
+ - ".github/workflows/pubilsh-to-rubygem.yml"
133
+ - ".github/workflows/publish-to-github-releases.yml"
125
134
  - ".gitignore"
126
135
  - ".rspec"
127
136
  - ".rubocop.yml"
128
137
  - ".ruby-version"
129
138
  - ".swagger-codegen-ignore"
130
- - ".travis.yml"
131
139
  - ".yardopts"
132
140
  - Appraisals
133
141
  - CODE_OF_CONDUCT.md
134
142
  - Gemfile
143
+ - Gemfile.lock
135
144
  - Guardfile
136
145
  - LICENSE.txt
137
146
  - README.md
138
147
  - Rakefile
148
+ - VERSION
139
149
  - asana.gemspec
140
150
  - bin/console
141
151
  - bin/setup
@@ -173,23 +183,29 @@ files:
173
183
  - lib/asana/resources/custom_fields.rb
174
184
  - lib/asana/resources/events.rb
175
185
  - lib/asana/resources/gen/attachments_base.rb
186
+ - lib/asana/resources/gen/audit_log_api_base.rb
176
187
  - lib/asana/resources/gen/batch_api_base.rb
177
188
  - lib/asana/resources/gen/custom_field_settings_base.rb
178
189
  - lib/asana/resources/gen/custom_fields_base.rb
179
190
  - lib/asana/resources/gen/events_base.rb
191
+ - lib/asana/resources/gen/goals_base.rb
180
192
  - lib/asana/resources/gen/jobs_base.rb
181
193
  - lib/asana/resources/gen/organization_exports_base.rb
182
194
  - lib/asana/resources/gen/portfolio_memberships_base.rb
183
195
  - lib/asana/resources/gen/portfolios_base.rb
196
+ - lib/asana/resources/gen/project_briefs_base.rb
184
197
  - lib/asana/resources/gen/project_memberships_base.rb
185
198
  - lib/asana/resources/gen/project_statuses_base.rb
199
+ - lib/asana/resources/gen/project_templates_base.rb
186
200
  - lib/asana/resources/gen/projects_base.rb
187
201
  - lib/asana/resources/gen/sections_base.rb
202
+ - lib/asana/resources/gen/status_updates_base.rb
188
203
  - lib/asana/resources/gen/stories_base.rb
189
204
  - lib/asana/resources/gen/tags_base.rb
190
205
  - lib/asana/resources/gen/tasks_base.rb
191
206
  - lib/asana/resources/gen/team_memberships_base.rb
192
207
  - lib/asana/resources/gen/teams_base.rb
208
+ - lib/asana/resources/gen/time_periods_base.rb
193
209
  - lib/asana/resources/gen/typeahead_base.rb
194
210
  - lib/asana/resources/gen/user_task_lists_base.rb
195
211
  - lib/asana/resources/gen/users_base.rb
@@ -219,8 +235,40 @@ files:
219
235
  - lib/asana/version.rb
220
236
  - lib/templates/index.js
221
237
  - lib/templates/resource.ejs
238
+ - package-lock.json
222
239
  - package.json
240
+ - samples/attachments_sample.yaml
241
+ - samples/audit_log_api_sample.yaml
242
+ - samples/batch_api_sample.yaml
243
+ - samples/custom_field_settings_sample.yaml
244
+ - samples/custom_fields_sample.yaml
245
+ - samples/events_sample.yaml
246
+ - samples/goals_sample.yaml
247
+ - samples/jobs_sample.yaml
248
+ - samples/organization_exports_sample.yaml
249
+ - samples/portfolio_memberships_sample.yaml
250
+ - samples/portfolios_sample.yaml
251
+ - samples/project_briefs_sample.yaml
252
+ - samples/project_memberships_sample.yaml
253
+ - samples/project_statuses_sample.yaml
254
+ - samples/project_templates_sample.yaml
255
+ - samples/projects_sample.yaml
256
+ - samples/sections_sample.yaml
257
+ - samples/status_updates_sample.yaml
258
+ - samples/stories_sample.yaml
259
+ - samples/tags_sample.yaml
260
+ - samples/tasks_sample.yaml
261
+ - samples/team_memberships_sample.yaml
262
+ - samples/teams_sample.yaml
263
+ - samples/time_periods_sample.yaml
264
+ - samples/typeahead_sample.yaml
265
+ - samples/user_task_lists_sample.yaml
266
+ - samples/users_sample.yaml
267
+ - samples/webhooks_sample.yaml
268
+ - samples/workspace_memberships_sample.yaml
269
+ - samples/workspaces_sample.yaml
223
270
  - swagger_templates/api.mustache
271
+ - swagger_templates/api_doc.mustache
224
272
  - swagger_templates/ruby-config.json
225
273
  homepage: https://github.com/asana/ruby-asana
226
274
  licenses:
@@ -232,17 +280,16 @@ require_paths:
232
280
  - lib
233
281
  required_ruby_version: !ruby/object:Gem::Requirement
234
282
  requirements:
235
- - - "~>"
283
+ - - ">="
236
284
  - !ruby/object:Gem::Version
237
- version: '2.0'
285
+ version: '2.5'
238
286
  required_rubygems_version: !ruby/object:Gem::Requirement
239
287
  requirements:
240
288
  - - ">="
241
289
  - !ruby/object:Gem::Version
242
290
  version: '0'
243
291
  requirements: []
244
- rubyforge_project:
245
- rubygems_version: 2.7.7
292
+ rubygems_version: 3.1.2
246
293
  signing_key:
247
294
  specification_version: 4
248
295
  summary: Official Ruby client for the Asana API
data/.travis.yml DELETED
@@ -1,15 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.2.9
4
- - 2.3.6
5
- - 2.4.3
6
- - 2.5.0
7
- deploy:
8
- provider: rubygems
9
- api_key:
10
- secure: ZFzExKt6auBOcQyg8955GwlZW2OaS64Q+XHGSay2MzjALw1iiy5uuMdwkueCKrGWSv6/eBe9jjsmYBe3OfkUIpIBbUacnbEYeaC70AyucNjvFrrl0YVYHb7neojarJUmKz9bz9Pkju/jdxksaYaj58xfq5YPQDfjFtdmylvuNEYpujT6goPEbxG4U4PpIhhQOZRDRXXAPS+f7jHejTSK06kvJjiJw0d51VJtBbp+0TKNKL6BDKdOKjKeHuebuUmSw8crDyaYdnwYwmNg1cJrGOv2t76M08zoKkkIO2lwPMHisi1/+cbVcZfxM4SfdHJeU6cQuRdb0uCUbbj6GsGwT8vWP2mGUrLe4UV/GfZDmvK3MKeKIlkgig31a3Qny9yjn8EjSnKHYuHBbJvPQDPPpFUfgEneUxn2t4P6m+epkd1gldWqTWf8mhMR/6xAFT4s+BaxnMMJsTC3Ea+dZZ30EqCw/kx5B2Z1KVLgsxHeMN/Q+AeOcbOvlGDsFL0Mjk/PqDTW1AWKLs/D1ohcxjSmlNJGWR6JHa/Ei0GqjDE2+/ZGsKsRfcDD4kU5qnKdqdzDlbL3cL4tChzuWVcguYdrg1yZzqPrCPzmy+2D7Hphyaj9CPKEh7qwT+IQU5o/V2peOJUjKrMlJS4gFq6MvTDh5U59J88Kkg72DXhcEUcySkU=
11
- gem: asana
12
- on:
13
- tags: true
14
- repo: Asana/ruby-asana
15
- ruby: '2.5.0'