thecompaniesapi 1.0.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.
Files changed (100) hide show
  1. checksums.yaml +7 -0
  2. data/.env.example +4 -0
  3. data/.github/workflows/release.yml +106 -0
  4. data/.github/workflows/tests.yml +93 -0
  5. data/.gitignore +146 -0
  6. data/CODE_OF_CONDUCT.md +74 -0
  7. data/Gemfile +7 -0
  8. data/Gemfile.lock +36 -0
  9. data/LICENSE.txt +21 -0
  10. data/README.md +551 -0
  11. data/Rakefile +25 -0
  12. data/bin/console +14 -0
  13. data/bin/setup +8 -0
  14. data/lib/thecompaniesapi/client.rb +643 -0
  15. data/lib/thecompaniesapi/error.rb +28 -0
  16. data/lib/thecompaniesapi/generated/models/action.rb +91 -0
  17. data/lib/thecompaniesapi/generated/models/company_v2.rb +136 -0
  18. data/lib/thecompaniesapi/generated/models/email_pattern.rb +51 -0
  19. data/lib/thecompaniesapi/generated/models/job_title.rb +81 -0
  20. data/lib/thecompaniesapi/generated/models/list.rb +141 -0
  21. data/lib/thecompaniesapi/generated/models/list_analytics.rb +46 -0
  22. data/lib/thecompaniesapi/generated/models/llmanswer.rb +66 -0
  23. data/lib/thecompaniesapi/generated/models/nominatim_city.rb +101 -0
  24. data/lib/thecompaniesapi/generated/models/nominatim_continent.rb +111 -0
  25. data/lib/thecompaniesapi/generated/models/nominatim_country.rb +121 -0
  26. data/lib/thecompaniesapi/generated/models/nominatim_county.rb +96 -0
  27. data/lib/thecompaniesapi/generated/models/nominatim_state.rb +96 -0
  28. data/lib/thecompaniesapi/generated/models/page_contents_ideated.rb +171 -0
  29. data/lib/thecompaniesapi/generated/models/page_contents_link.rb +41 -0
  30. data/lib/thecompaniesapi/generated/models/page_contents_page.rb +71 -0
  31. data/lib/thecompaniesapi/generated/models/pagination_meta.rb +76 -0
  32. data/lib/thecompaniesapi/generated/models/prompt.rb +91 -0
  33. data/lib/thecompaniesapi/generated/models/segmentation_condition.rb +56 -0
  34. data/lib/thecompaniesapi/generated/models/team.rb +101 -0
  35. data/lib/thecompaniesapi/generated/models/technology.rb +96 -0
  36. data/lib/thecompaniesapi/generated/models/user.rb +101 -0
  37. data/lib/thecompaniesapi/generated/operations_map.rb +11 -0
  38. data/lib/thecompaniesapi/generated/requests/ask_company_request.rb +60 -0
  39. data/lib/thecompaniesapi/generated/requests/count_companies_post_request.rb +50 -0
  40. data/lib/thecompaniesapi/generated/requests/create_list_request.rb +70 -0
  41. data/lib/thecompaniesapi/generated/requests/export_companies_analytics_request.rb +70 -0
  42. data/lib/thecompaniesapi/generated/requests/fetch_companies_in_list_post_request.rb +70 -0
  43. data/lib/thecompaniesapi/generated/requests/product_prompt_request.rb +65 -0
  44. data/lib/thecompaniesapi/generated/requests/prompt_to_segmentation_request.rb +55 -0
  45. data/lib/thecompaniesapi/generated/requests/request_action_request.rb +80 -0
  46. data/lib/thecompaniesapi/generated/requests/retry_action_request.rb +30 -0
  47. data/lib/thecompaniesapi/generated/requests/search_companies_post_request.rb +90 -0
  48. data/lib/thecompaniesapi/generated/requests/toggle_companies_in_list_request.rb +50 -0
  49. data/lib/thecompaniesapi/generated/requests/update_list_request.rb +65 -0
  50. data/lib/thecompaniesapi/generated/requests/update_team_request.rb +45 -0
  51. data/lib/thecompaniesapi/generated/responses/ask_company_response.rb +38 -0
  52. data/lib/thecompaniesapi/generated/responses/count_companies_post_response.rb +34 -0
  53. data/lib/thecompaniesapi/generated/responses/count_companies_response.rb +34 -0
  54. data/lib/thecompaniesapi/generated/responses/create_list_response.rb +25 -0
  55. data/lib/thecompaniesapi/generated/responses/delete_list_response.rb +25 -0
  56. data/lib/thecompaniesapi/generated/responses/delete_prompt_response.rb +25 -0
  57. data/lib/thecompaniesapi/generated/responses/enrich_job_titles_response.rb +25 -0
  58. data/lib/thecompaniesapi/generated/responses/export_companies_analytics_response.rb +38 -0
  59. data/lib/thecompaniesapi/generated/responses/fetch_actions_response.rb +38 -0
  60. data/lib/thecompaniesapi/generated/responses/fetch_api_health_response.rb +42 -0
  61. data/lib/thecompaniesapi/generated/responses/fetch_companies_analytics_response.rb +38 -0
  62. data/lib/thecompaniesapi/generated/responses/fetch_companies_in_list_post_response.rb +42 -0
  63. data/lib/thecompaniesapi/generated/responses/fetch_companies_in_list_response.rb +42 -0
  64. data/lib/thecompaniesapi/generated/responses/fetch_company_by_email_response.rb +42 -0
  65. data/lib/thecompaniesapi/generated/responses/fetch_company_by_social_response.rb +25 -0
  66. data/lib/thecompaniesapi/generated/responses/fetch_company_context_response.rb +38 -0
  67. data/lib/thecompaniesapi/generated/responses/fetch_company_email_patterns_response.rb +25 -0
  68. data/lib/thecompaniesapi/generated/responses/fetch_company_in_list_response.rb +25 -0
  69. data/lib/thecompaniesapi/generated/responses/fetch_company_response.rb +25 -0
  70. data/lib/thecompaniesapi/generated/responses/fetch_lists_response.rb +38 -0
  71. data/lib/thecompaniesapi/generated/responses/fetch_open_api_response.rb +30 -0
  72. data/lib/thecompaniesapi/generated/responses/fetch_prompts_response.rb +38 -0
  73. data/lib/thecompaniesapi/generated/responses/fetch_team_response.rb +25 -0
  74. data/lib/thecompaniesapi/generated/responses/fetch_user_response.rb +25 -0
  75. data/lib/thecompaniesapi/generated/responses/product_prompt_response.rb +42 -0
  76. data/lib/thecompaniesapi/generated/responses/prompt_to_segmentation_response.rb +42 -0
  77. data/lib/thecompaniesapi/generated/responses/request_action_response.rb +34 -0
  78. data/lib/thecompaniesapi/generated/responses/retry_action_response.rb +34 -0
  79. data/lib/thecompaniesapi/generated/responses/search_cities_response.rb +38 -0
  80. data/lib/thecompaniesapi/generated/responses/search_companies_by_name_response.rb +38 -0
  81. data/lib/thecompaniesapi/generated/responses/search_companies_by_prompt_response.rb +38 -0
  82. data/lib/thecompaniesapi/generated/responses/search_companies_post_response.rb +42 -0
  83. data/lib/thecompaniesapi/generated/responses/search_companies_response.rb +42 -0
  84. data/lib/thecompaniesapi/generated/responses/search_continents_response.rb +38 -0
  85. data/lib/thecompaniesapi/generated/responses/search_counties_response.rb +38 -0
  86. data/lib/thecompaniesapi/generated/responses/search_countries_response.rb +38 -0
  87. data/lib/thecompaniesapi/generated/responses/search_industries_response.rb +38 -0
  88. data/lib/thecompaniesapi/generated/responses/search_industries_similar_response.rb +38 -0
  89. data/lib/thecompaniesapi/generated/responses/search_similar_companies_response.rb +38 -0
  90. data/lib/thecompaniesapi/generated/responses/search_states_response.rb +38 -0
  91. data/lib/thecompaniesapi/generated/responses/search_technologies_response.rb +38 -0
  92. data/lib/thecompaniesapi/generated/responses/toggle_companies_in_list_response.rb +25 -0
  93. data/lib/thecompaniesapi/generated/responses/update_list_response.rb +25 -0
  94. data/lib/thecompaniesapi/generated/responses/update_team_response.rb +25 -0
  95. data/lib/thecompaniesapi/http_client.rb +146 -0
  96. data/lib/thecompaniesapi/version.rb +3 -0
  97. data/lib/thecompaniesapi.rb +7 -0
  98. data/script/generate_client.rb +653 -0
  99. data/thecompaniesapi.gemspec +34 -0
  100. metadata +188 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: cc866d01cf2643f8ba16a54921ad746373a48d605ef0940c90a4445c5181ed27
4
+ data.tar.gz: 2a5e853a52d10e288bd257d15c03fcffcbb58c22b8941f8db5a6c295f78e9d1b
5
+ SHA512:
6
+ metadata.gz: e836f3f983d31394b9ce3d96e5c4d78f10347209a42e3d7b92656bcff21d763d1018bde1810bd56f3be99e5e5e63c52c33ff87a128eb671449f88460e8d82946
7
+ data.tar.gz: f4295013c604a6374b61d5b2e8e03014f963808a35c1678e62efe516a0f7c3510a9fe506bf48e70b4b0e4f76b4f32fa430e1ad39a81bd9cbcdc071f81c5ec847
data/.env.example ADDED
@@ -0,0 +1,4 @@
1
+ TCA_API_TOKEN=your-api-token-here
2
+ TCA_API_URL=https://api.thecompaniesapi.com
3
+ TCA_VISITOR_ID=your-visitor-id
4
+ TCA_TIMEOUT=30
@@ -0,0 +1,106 @@
1
+ name: Release & Publish
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
+
8
+ jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ name: Publish to RubyGems
12
+
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v4
16
+
17
+ - name: Setup Ruby
18
+ uses: ruby/setup-ruby@v1
19
+ with:
20
+ ruby-version: '3.1'
21
+ bundler-cache: false
22
+
23
+ - name: Configure Bundler
24
+ run: |
25
+ bundle config set --local path 'vendor/bundle'
26
+ bundle config set --local deployment 'false'
27
+ bundle config set --local frozen 'false'
28
+
29
+ - name: Install dependencies
30
+ run: bundle install --jobs 4 --retry 3
31
+
32
+ - name: Run tests
33
+ env:
34
+ TCA_API_TOKEN: ${{ secrets.TCA_API_TOKEN }}
35
+ run: bundle exec rake test
36
+
37
+ - name: Build gem
38
+ run: gem build thecompaniesapi.gemspec
39
+
40
+ - name: Extract version
41
+ id: extract_version
42
+ run: |
43
+ VERSION=${GITHUB_REF#refs/tags/}
44
+ echo "version=$VERSION" >> $GITHUB_OUTPUT
45
+ echo "clean_version=${VERSION#v}" >> $GITHUB_OUTPUT
46
+
47
+ - name: Validate gem version matches tag
48
+ run: |
49
+ GEM_VERSION=$(ruby -e "require './lib/thecompaniesapi/version'; puts TheCompaniesAPI::VERSION")
50
+ TAG_VERSION="${{ steps.extract_version.outputs.clean_version }}"
51
+ if [ "$GEM_VERSION" != "$TAG_VERSION" ]; then
52
+ echo "❌ Gem version ($GEM_VERSION) doesn't match tag version ($TAG_VERSION)"
53
+ exit 1
54
+ fi
55
+ echo "✅ Gem version matches tag version: $GEM_VERSION"
56
+
57
+ - name: Publish to RubyGems
58
+ env:
59
+ RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
60
+ run: |
61
+ if [ -n "$RUBYGEMS_API_KEY" ]; then
62
+ echo "Publishing gem to RubyGems..."
63
+ mkdir -p ~/.gem
64
+ echo ":rubygems_api_key: $RUBYGEMS_API_KEY" > ~/.gem/credentials
65
+ chmod 0600 ~/.gem/credentials
66
+ gem push thecompaniesapi-${{ steps.extract_version.outputs.clean_version }}.gem
67
+ echo "✅ Gem published successfully to RubyGems"
68
+ else
69
+ echo "⚠️ RubyGems API key not found. Skipping gem publication."
70
+ fi
71
+
72
+ - name: Create Release
73
+ uses: softprops/action-gh-release@v1
74
+ with:
75
+ tag_name: ${{ steps.extract_version.outputs.version }}
76
+ name: Release ${{ steps.extract_version.outputs.version }}
77
+ body: |
78
+ ## 🚀 Release ${{ steps.extract_version.outputs.version }}
79
+
80
+ ### 📦 Installation
81
+
82
+ ```ruby
83
+ gem 'thecompaniesapi', '~> ${{ steps.extract_version.outputs.clean_version }}'
84
+ ```
85
+
86
+ Or install directly:
87
+
88
+ ```bash
89
+ gem install thecompaniesapi -v ${{ steps.extract_version.outputs.clean_version }}
90
+ ```
91
+
92
+ ### 📋 What's Changed
93
+
94
+ See the [commit history](https://github.com/${{ github.repository }}/commits/${{ steps.extract_version.outputs.version }}) for detailed changes.
95
+
96
+ ### 🔗 Links
97
+
98
+ - 📖 [Documentation](https://github.com/${{ github.repository }}#readme)
99
+ - 💎 [RubyGems Package](https://rubygems.org/gems/thecompaniesapi)
100
+ - 🌐 [The Companies API](https://www.thecompaniesapi.com)
101
+ - 📚 [API Documentation](https://www.thecompaniesapi.com/api)
102
+ draft: false
103
+ prerelease: false
104
+ generate_release_notes: true
105
+ env:
106
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,93 @@
1
+ name: Tests
2
+
3
+ on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
+ branches: [ main ]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ ruby-version: ['3.0']
15
+
16
+ name: Test Ruby ${{ matrix.ruby-version }}
17
+
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+
21
+ - name: Setup Ruby
22
+ uses: ruby/setup-ruby@v1
23
+ with:
24
+ ruby-version: ${{ matrix.ruby-version }}
25
+ bundler-cache: false # Disable auto cache to handle manually
26
+
27
+ - name: Configure Bundler
28
+ run: |
29
+ bundle config set --local path 'vendor/bundle'
30
+ bundle config set --local deployment 'false'
31
+ bundle config set --local frozen 'false'
32
+
33
+ - name: Install dependencies
34
+ run: bundle install --jobs 4 --retry 3
35
+
36
+ - name: Validate gemspec
37
+ run: gem build thecompaniesapi.gemspec
38
+
39
+ - name: Check syntax
40
+ run: |
41
+ find lib test -name "*.rb" -exec ruby -c {} \;
42
+
43
+ - name: Run unit tests
44
+ run: bundle exec rake test:unit
45
+
46
+ - name: Run integration tests
47
+ env:
48
+ TCA_API_TOKEN: ${{ secrets.TCA_API_TOKEN }}
49
+ run: bundle exec rake test:integration
50
+
51
+ - name: Check code style (if RuboCop is available)
52
+ run: |
53
+ if bundle list | grep -q rubocop; then
54
+ bundle exec rubocop
55
+ else
56
+ echo "RuboCop not found, skipping style check"
57
+ fi
58
+ continue-on-error: true
59
+
60
+ lint:
61
+ runs-on: ubuntu-latest
62
+ name: Lint & Security
63
+
64
+ steps:
65
+ - uses: actions/checkout@v4
66
+
67
+ - name: Setup Ruby
68
+ uses: ruby/setup-ruby@v1
69
+ with:
70
+ ruby-version: '3.2'
71
+ bundler-cache: false
72
+
73
+ - name: Configure Bundler
74
+ run: |
75
+ bundle config set --local path 'vendor/bundle'
76
+ bundle config set --local deployment 'false'
77
+ bundle config set --local frozen 'false'
78
+
79
+ - name: Install dependencies
80
+ run: bundle install --jobs 4 --retry 3
81
+
82
+ - name: Check for security vulnerabilities
83
+ run: |
84
+ if bundle list | grep -q bundler-audit; then
85
+ bundle exec bundler-audit --update
86
+ else
87
+ echo "bundler-audit not found, skipping security check"
88
+ fi
89
+ continue-on-error: true
90
+
91
+ - name: Check for outdated gems
92
+ run: bundle outdated
93
+ continue-on-error: true
data/.gitignore ADDED
@@ -0,0 +1,146 @@
1
+ # Gem artifacts
2
+ *.gem
3
+ *.rbc
4
+ /.config
5
+ /coverage/
6
+ /InstalledFiles
7
+ /pkg/
8
+ /spec/reports/
9
+ /spec/examples.txt
10
+ /test/tmp/
11
+ /test/version_tmp/
12
+ /tmp/
13
+
14
+ # Documentation cache and generated files
15
+ /.yardoc/
16
+ /_yardoc/
17
+ /doc/
18
+ /rdoc/
19
+
20
+ # Environment configuration
21
+ /.bundle/
22
+ /vendor/bundle
23
+ /lib/bundler/man/
24
+
25
+ # For a library or gem, add the lock file to git, but for applications,
26
+ # it's better to not commit it
27
+ # Gemfile.lock
28
+
29
+ # Unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
30
+ .rvmrc
31
+
32
+ # RuboCop cache
33
+ .rubocop-cache/
34
+
35
+ # Ruby version files
36
+ .ruby-version
37
+ .ruby-gemset
38
+
39
+ # Environment variables
40
+ .env
41
+ .env.local
42
+ .env.*.local
43
+
44
+ # Keep .env.example for documentation
45
+ !.env.example
46
+
47
+ # IDE and editor files
48
+ /.vscode/
49
+ /.idea/
50
+ *.swp
51
+ *.swo
52
+ *~
53
+
54
+ # OS generated files
55
+ .DS_Store
56
+ .DS_Store?
57
+ ._*
58
+ .Spotlight-V100
59
+ .Trashes
60
+ ehthumbs.db
61
+ Thumbs.db
62
+
63
+ # Logs
64
+ *.log
65
+
66
+ # Runtime data
67
+ pids
68
+ *.pid
69
+ *.seed
70
+ *.pid.lock
71
+
72
+ # Coverage directory used by tools like istanbul
73
+ coverage/
74
+ *.lcov
75
+
76
+ # nyc test coverage
77
+ .nyc_output
78
+
79
+ # Dependency directories
80
+ node_modules/
81
+
82
+ # Optional npm cache directory
83
+ .npm
84
+
85
+ # Optional eslint cache
86
+ .eslintcache
87
+
88
+ # Microbundle cache
89
+ .rpt2_cache/
90
+ .rts2_cache_cjs/
91
+ .rts2_cache_es/
92
+ .rts2_cache_umd/
93
+
94
+ # Optional REPL history
95
+ .node_repl_history
96
+
97
+ # Output of 'npm pack'
98
+ *.tgz
99
+
100
+ # Yarn Integrity file
101
+ .yarn-integrity
102
+
103
+ # dotenv environment variables file
104
+ .env.test
105
+
106
+ # parcel-bundler cache (https://parceljs.org/)
107
+ .cache
108
+ .parcel-cache
109
+
110
+ # Next.js build output
111
+ .next
112
+
113
+ # Nuxt.js build / generate output
114
+ .nuxt
115
+ dist
116
+
117
+ # Gatsby files
118
+ .cache/
119
+ public
120
+
121
+ # Storybook build outputs
122
+ .out
123
+ .storybook-out
124
+
125
+ # Temporary folders
126
+ tmp/
127
+ temp/
128
+
129
+ # Runtime data
130
+ pids
131
+ *.pid
132
+ *.seed
133
+ *.pid.lock
134
+
135
+ # Additional Ruby patterns
136
+ *.bundle
137
+ *.so
138
+ *.o
139
+ *.a
140
+ mkmf.log
141
+
142
+ # SimpleCov
143
+ coverage
144
+
145
+ # RSpec
146
+ .rspec_status
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at tavo@hey.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [https://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: https://contributor-covenant.org
74
+ [version]: https://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in thecompaniesapi.gemspec
4
+ gemspec
5
+
6
+ gem "rake", "~> 13.0.6"
7
+ gem "minitest", "~> 5.16.3"
data/Gemfile.lock ADDED
@@ -0,0 +1,36 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ thecompaniesapi (1.0.1)
5
+ faraday (~> 2.0)
6
+ faraday-net_http (~> 3.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ dotenv (2.8.1)
12
+ faraday (2.13.3)
13
+ faraday-net_http (>= 2.0, < 3.5)
14
+ json
15
+ logger
16
+ faraday-net_http (3.4.1)
17
+ net-http (>= 0.5.0)
18
+ json (2.13.0)
19
+ logger (1.7.0)
20
+ minitest (5.16.3)
21
+ net-http (0.6.0)
22
+ uri
23
+ rake (13.0.6)
24
+ uri (1.0.3)
25
+
26
+ PLATFORMS
27
+ ruby
28
+
29
+ DEPENDENCIES
30
+ dotenv (~> 2.8)
31
+ minitest (~> 5.16.3)
32
+ rake (~> 13.0.6)
33
+ thecompaniesapi!
34
+
35
+ BUNDLED WITH
36
+ 2.3.26
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 The Companies API SARL
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.