eventbrite_sdk 3.1.3 → 3.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9994b341c3f94bff95790d25da541d1a6744a681
4
- data.tar.gz: c393e5703659f9ee36dc6b1c2887f74ee22b4426
3
+ metadata.gz: cecc12dbaaf35ac6b42a1d0a4b4933a36af1ce47
4
+ data.tar.gz: 2d0a30b932f6267d1a38966e246696c7c5b51b80
5
5
  SHA512:
6
- metadata.gz: 4bcce0b488b60dcf22423421f92090d9b8a8a50abe9e858f8e52949f69fb3515e1e214221dab071add9896cbfdda294fbe083bfee4be2054d19387f532821743
7
- data.tar.gz: c98da754bef4fac17b86c24820cd0ade5f49212d32cf545a0dce458e23292bc3b556f2a19decbbdef4b4e56c4db7487d6906a88e15a1937f50ef90755ffa1322
6
+ metadata.gz: 498647ff077d3ab12d2070f0543352c508ebb518745f3f9cb3129c17b87e0da466f1ae9c2cd0f8f315994d6d29581adf12b2e2f64bd0329ae26108a0c1f75f38
7
+ data.tar.gz: f557dc5ff1046e64b2530b95bf91fe622a517466968b3dfab5e226af2c11d10e238b34b00022d3fdad3f126e78b1571e100f01b45688a0f22e6bf5debb113e97
@@ -0,0 +1,46 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ ## Our Standards
8
+
9
+ Examples of behavior that contributes to creating a positive environment include:
10
+
11
+ * Using welcoming and inclusive language
12
+ * Being respectful of differing viewpoints and experiences
13
+ * Gracefully accepting constructive criticism
14
+ * Focusing on what is best for the community
15
+ * Showing empathy towards other community members
16
+
17
+ Examples of unacceptable behavior by participants include:
18
+
19
+ * The use of sexualized language or imagery and unwelcome sexual attention or advances
20
+ * Trolling, insulting/derogatory comments, and personal or political attacks
21
+ * Public or private harassment
22
+ * Publishing others' private information, such as a physical or electronic address, without explicit permission
23
+ * Other conduct which could reasonably be considered inappropriate in a professional setting
24
+
25
+ ## Our Responsibilities
26
+
27
+ Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28
+
29
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30
+
31
+ ## Scope
32
+
33
+ This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34
+
35
+ ## Enforcement
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at vinnie@eventbrite.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38
+
39
+ Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40
+
41
+ ## Attribution
42
+
43
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44
+
45
+ [homepage]: http://contributor-covenant.org
46
+ [version]: http://contributor-covenant.org/version/1/4/
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,55 @@
1
+ # Contributing to the offical ruby SDK
2
+
3
+ Here are some ways *you* can contribute:
4
+
5
+ * by using alpha, beta, and prerelease versions
6
+ * by reporting bugs
7
+ * by suggesting new features
8
+ * by writing or editing documentation
9
+ * by writing specifications
10
+ * by writing code ( **no patch is too small** : fix typos, add comments, clean up inconsistent whitespace )
11
+ * by refactoring code
12
+ * by closing [issues][]
13
+ * by reviewing patches
14
+
15
+ [issues]: https://github.com/eventbrite/eventbrite-sdk-ruby/issues
16
+
17
+ ## Submitting an Issue
18
+
19
+ * We use the [GitHub issue tracker][issues] to track bugs and features.
20
+ * Before submitting a bug report or feature request, check to make sure it hasn't
21
+ already been submitted.
22
+ * When submitting a bug report, please include a [Gist][] that includes a stack
23
+ trace and any details that may be necessary to reproduce the bug, including
24
+ your gem version, Ruby version, and operating system. Ideally, a bug report
25
+ should include a pull request with failing specs.
26
+
27
+ [gist]: https://gist.github.com/
28
+
29
+ ## Cleaning up issues
30
+
31
+ * Issues that have no response from the submitter will be closed after 30 days.
32
+ * Issues will be closed once they're assumed to be fixed or answered. If the
33
+ maintainer is wrong, it can be opened again.
34
+ * If your issue is closed by mistake, please understand and explain the issue.
35
+ We will happily reopen the issue.
36
+
37
+ ## Submitting a Pull Request
38
+ 1. [Fork][fork] the [official repository][repo].
39
+ 2. [Create a topic branch.][branch]
40
+ 3. Implement your feature or bug fix.
41
+ 4. Add, commit, and push your changes.
42
+ 5. [Submit a pull request.][pr]
43
+
44
+ ## Notes
45
+ * Please add tests if you changed code. Contributions without tests won't be accepted.
46
+ * If you don't know how to add tests, please put in a PR and leave a comment
47
+ asking for help. We love helping!
48
+ * Please don't update the Gem version.
49
+
50
+ [repo]: https://github.com/eventbrite/eventbrite-sdk-ruby/tree/master
51
+ [fork]: https://help.github.com/articles/fork-a-repo/
52
+ [branch]: https://help.github.com/articles/creating-and-deleting-branches-within-your-repository/
53
+ [pr]: https://help.github.com/articles/using-pull-requests/
54
+
55
+ Inspired by https://github.com/middleman/middleman-heroku/blob/master/CONTRIBUTING.md
@@ -34,11 +34,10 @@ module EventbriteSDK
34
34
  path.gsub(":#{key}", value.to_s)
35
35
  end
36
36
 
37
- if params[:expand]
38
- query = { expand: [*params[:expand]].join(',') }
39
- end
37
+ api_token = params.fetch(:api_token, nil)
38
+ query = params[:expand] && { expand: [*params[:expand]].join(',') }
40
39
 
41
- new request.get(url: url_path, query: query)
40
+ new request.get(url: url_path, query: query, api_token: api_token)
42
41
  end
43
42
 
44
43
  # Define the url path for the resource. It also implicitly defines
@@ -1,5 +1,5 @@
1
1
  module EventbriteSDK
2
2
  # Major should always line up with the major point release of the public API
3
3
  # v3 => 3.x.x
4
- VERSION = '3.1.3'.freeze
4
+ VERSION = '3.1.4'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eventbrite_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.3
4
+ version: 3.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vinnie Franco
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-10-05 00:00:00.000000000 Z
13
+ date: 2017-10-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rest-client
@@ -108,6 +108,8 @@ files:
108
108
  - ".gitignore"
109
109
  - ".rspec"
110
110
  - ".travis.yml"
111
+ - CODE_OF_CONDUCT.md
112
+ - CONTRIBUTING.md
111
113
  - Gemfile
112
114
  - LICENSE.txt
113
115
  - README.md