big_marker_client 0.1.0 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1a6a622923e26061eda112840cf1945fdad94ec0f6762639e12734cad427aba
4
- data.tar.gz: 138e902bd344d8db58402ba439981c6a93e0a2e570ef2412692e49dc6d67a016
3
+ metadata.gz: ce3344c34eea2e6a1155ecc292821e1ba4ddc1aff2c53d8ee80de5bd991ac3b3
4
+ data.tar.gz: 81e8dd2e4c2fed2b61f8940401d9bd2fac4e72980d51f442681affcaac1b9503
5
5
  SHA512:
6
- metadata.gz: 51781618326aa7412c2ef978842394e6de4a83d093c5b18b85be4e0331d5c0c1a46c6c908f9d613732898c1416dd7cbadbaccb7d3f2f46db1e641c123620e449
7
- data.tar.gz: 76bb29ba4b87ef94a2e68edf860c0d44c9795234b17a78006322d1ce35ff99e609f43d98b520b25e05765b74dcdc25d571228fe9fb1f23acff3991f5b492bb3f
6
+ metadata.gz: ff3ff046e2fef473ed4b2054e79b3a333b6c6e44f9d02d86042321a2a47a70ecf8430513f3644364ec4ab77838a1edceb82901a3884e3a20d8122b1370a7cff3
7
+ data.tar.gz: 4274c5d0c42222f05fdfbbd67bdd733417f65b9ea604895a7dcd0028332b9fc56b31943ad5b4f4d53d35c4d56b745e114c3e7a2b59e6a9a98d6a07c4d290c70c
data/.rubocop.yml CHANGED
@@ -18,6 +18,10 @@ Metrics/BlockLength:
18
18
  - "spec/**/*"
19
19
  - "big_marker_client.gemspec"
20
20
 
21
+ Performance/StringIdentifierArgument:
22
+ Exclude:
23
+ - "lib/big_marker_client/base.rb"
24
+
21
25
  Style/Documentation:
22
26
  Enabled: false
23
27
 
data/CHANGELOG.md CHANGED
@@ -1,4 +1,7 @@
1
- ## [Unreleased]
1
+ ## [0.1.1] - Unreleased
2
+
3
+ - additional properties `time_zone` and `country` on registrant
4
+ - factories for external testing
2
5
 
3
6
  ## [0.1.0] - 2021-12-10
4
7
 
data/Gemfile CHANGED
@@ -15,6 +15,8 @@ group :development do
15
15
  end
16
16
 
17
17
  group :test do
18
+ gem "activesupport", "~> 6.0"
19
+ gem "factory_bot"
18
20
  gem "rspec", "~> 3.0"
19
21
  gem "webmock"
20
22
  end
data/README.md CHANGED
@@ -30,9 +30,13 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
30
30
 
31
31
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
32
 
33
+ ## Note
34
+
35
+ Only a limited set of all API functions are currently implemented, however the existing framework makes implementing further functions extremely lightweight and easy.
36
+
33
37
  ## Contributing
34
38
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/bigmarker_client. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/bigmarker_client/blob/master/CODE_OF_CONDUCT.md).
39
+ Bug reports and pull requests are welcome on GitHub at https://gitlab.com/capinside-oss/big_marker_client. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://gitlab.com/capinside-oss/big_marker_client/-/blob/main/CODE_OF_CONDUCT.md).
36
40
 
37
41
  ## License
38
42
 
@@ -40,4 +44,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
40
44
 
41
45
  ## Code of Conduct
42
46
 
43
- Everyone interacting in the BigMarkerClient project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/bigmarker_client/blob/master/CODE_OF_CONDUCT.md).
47
+ Everyone interacting in the BigMarkerClient project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://gitlab.com/capinside-oss/big_marker_client/-/blob/main/CODE_OF_CONDUCT.md).
@@ -20,7 +20,8 @@ module BigMarkerClient
20
20
  # @param params [Hash] recognized are:
21
21
  # - role: Filter by member role (all*, hosting, attending)
22
22
  # - type: Filter by conference type (future*, past, all, multiple_times, future_do_not_include_happening,
23
- # future_with_24_hour_room, past_with_recording, always_open, happening_now)
23
+ # future_with_24_hour_room, past_with_recording, always_open,
24
+ # happening_now)
24
25
  # - query: search in conference title
25
26
  # - page: pagination page
26
27
  # - page_count: pagination page size (20*), ATTENTION: this is called per_page everywhere else!
@@ -2,7 +2,7 @@ module BigMarkerClient
2
2
  module Models
3
3
  class Registrant < Base
4
4
  attr_accessor :email, :first_name, :last_name, :custom_fields, :enter_url, :bmid, :referral_domain, :source,
5
- :tracking_code, :custom_user_id
5
+ :tracking_code, :custom_user_id, :time_zone, :country
6
6
  end
7
7
  end
8
8
  end
@@ -0,0 +1,7 @@
1
+ module BigMarkerClient
2
+ module TestSupport
3
+ FACTORY_PATH = File.expand_path("../../spec/factories", __dir__)
4
+ MINUTES = 60
5
+ DAYS = 24 * 60 * 60
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module BigMarkerClient
2
- VERSION = "0.1.0".freeze
2
+ VERSION = "0.1.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: big_marker_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Burkhard Vogel-Kreykenbohm
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-17 00:00:00.000000000 Z
11
+ date: 2022-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday-httpclient
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: json
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -84,6 +98,7 @@ files:
84
98
  - lib/big_marker_client/models/presenter.rb
85
99
  - lib/big_marker_client/models/registrant.rb
86
100
  - lib/big_marker_client/models/webinar_stats.rb
101
+ - lib/big_marker_client/test_support.rb
87
102
  - lib/big_marker_client/version.rb
88
103
  homepage: https://gitlab.com/capinside-oss/big_marker_client
89
104
  licenses: