Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow software_versions to accept and parse version range Strings #149

Closed
postmodern opened this issue Nov 24, 2024 · 1 comment
Closed
Assignees
Labels
Milestone

Comments

@postmodern
Copy link
Member

postmodern commented Nov 24, 2024

Allow software_versions to accept version range strings (ex: >= 1.2.3, < 2.0.0). It should automatically parse the version range strings into a Ronin::Support::Software::VersionRange object.

Depends on ronin-rb/ronin-support#546

Example

software_versions '>= 1.2.3, < 2.0.0'
software_versions [
  '>= 1.2.3, < 2.0.0',
  '>= 2.1.0'
]
@postmodern postmodern added this to the 1.2.0 milestone Nov 24, 2024
@postmodern postmodern self-assigned this Dec 9, 2024
@postmodern postmodern changed the title Allow software_versions to accept a String representing a version range Allow software_versions to accept version range Strings Dec 9, 2024
@postmodern postmodern changed the title Allow software_versions to accept version range Strings Allow software_versions to accept and parse version range Strings Dec 9, 2024
postmodern added a commit that referenced this issue Dec 9, 2024
 #149).

* Use the new `Ronin::Support::Software::VersionRange` class in
  `ronin-support` 1.2.0.
* `software_versions` now accepts both a single String and an Array of
  Strings.
* `software_versions` will now return an Array of parsed
  `Ronin::Support::Software::VersionRange` objects.
postmodern added a commit that referenced this issue Dec 9, 2024
 #149).

* Use the new `Ronin::Support::Software::VersionRange` class in
  `ronin-support` 1.2.0.
* `software_versions` now accepts both a single String and an Array of
  Strings.
* `software_versions` will now return an Array of parsed
  `Ronin::Support::Software::VersionRange` objects.
postmodern added a commit that referenced this issue Dec 9, 2024
 #149).

* Use the new `Ronin::Support::Software::VersionRange` class in
  `ronin-support` 1.2.0.
* `software_versions` now accepts both a single String and an Array of
  Strings.
* `software_versions` will now return an Array of parsed
  `Ronin::Support::Software::VersionRange` objects.
@postmodern
Copy link
Member Author

Implemented by 8c7d90b.

postmodern added a commit that referenced this issue Dec 10, 2024
 #149).

* Use the new `Ronin::Support::Software::VersionRange` class in
  `ronin-support` 1.2.0.
* `software_versions` now accepts both a single String and an Array of
  Strings.
* `software_versions` will now return an Array of parsed
  `Ronin::Support::Software::VersionRange` objects.
postmodern added a commit that referenced this issue Dec 10, 2024
 #149).

* Use the new `Ronin::Support::Software::VersionRange` class in
  `ronin-support` 1.2.0.
* `software_versions` now accepts both a single String and an Array of
  Strings.
* `software_versions` will now return an Array of parsed
  `Ronin::Support::Software::VersionRange` objects.
postmodern added a commit that referenced this issue Dec 13, 2024
 #149).

* Use the new `Ronin::Support::Software::VersionRange` class in
  `ronin-support` 1.2.0.
* `software_versions` now accepts both a single String and an Array of
  Strings.
* `software_versions` will now return an Array of parsed
  `Ronin::Support::Software::VersionRange` objects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant