ocpi 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 1bc6dc9571b9e772195500c12e8ac0b43f4cadd18c5f47e4f6255918639d7447
4
+ data.tar.gz: 430c135aa049564c1476b94362b2b46b4ce995f141469579f2400b020f967179
5
+ SHA512:
6
+ metadata.gz: 98eb7d22322b6f5b28102da9c39e1f4d8c51ddae587546336a017b61aff39e13aff4d8f1bbf9556df356ae617095b7c5f7bd6f58aeed6bd5dd644205fa3b33d5
7
+ data.tar.gz: ab422d4c6991eb68942a862f7ddf7c0fc8d1820abbab14ea7901913186552428750a899e9ba83ab977de8425f643e73b9391400ff07431635af46dd389c1bd6f
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2024-06-14
4
+
5
+ - Initial release
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task default: :spec
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Ocpi
4
+ VERSION = "0.1.0"
5
+ end
data/lib/ocpi.rb ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "ocpi/version"
4
+
5
+ module Ocpi
6
+ class Error < StandardError; end
7
+ # Your code goes here...
8
+ end
data/readme.org ADDED
@@ -0,0 +1,40 @@
1
+ * OCPI
2
+
3
+ Introducing the OCPI gem, which will handle API calls for all the versions of the OCPI standard starting with 2.2.1.
4
+
5
+ Ref: https://evroaming.org/
6
+
7
+ ** Installation
8
+
9
+ Install the gem and add to the application's Gemfile by executing:
10
+
11
+ #+begin_example
12
+ $ bundle add ocpi
13
+ #+end_example
14
+
15
+ If bundler is not being used to manage dependencies, install the gem by
16
+ executing:
17
+
18
+ #+begin_example
19
+ $ gem install ocpi
20
+ #+end_example
21
+
22
+
23
+ ** Usage
24
+
25
+ ** Development
26
+
27
+ After checking out the repo, run =bin/setup= to install dependencies.
28
+ Then, run =rake spec= to run the tests. You can also run =bin/console=
29
+ for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run
32
+ =bundle exec rake install=. To release a new version, update the version
33
+ number in =version.rb=, and then run =bundle exec rake release=, which
34
+ will create a git tag for the version, push git commits and the created
35
+ tag, and push the =.gem= file to [[https://rubygems.org][rubygems.org]].
36
+
37
+ ** Contributing
38
+
39
+ Bug reports and pull requests are welcome on GitHub at
40
+ https://github.com/map7/ocpi.
data/sig/ocpi.rbs ADDED
@@ -0,0 +1,4 @@
1
+ module Ocpi
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,53 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ocpi
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Michael Pope
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-06-14 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Offers a standard interface for OCPI roaming services for EV, charging
14
+ locations and prices
15
+ email:
16
+ - map7@fastmail.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - ".rspec"
22
+ - CHANGELOG.md
23
+ - Rakefile
24
+ - lib/ocpi.rb
25
+ - lib/ocpi/version.rb
26
+ - readme.org
27
+ - sig/ocpi.rbs
28
+ homepage: https://github.com/map7/ocpi
29
+ licenses: []
30
+ metadata:
31
+ homepage_uri: https://github.com/map7/ocpi
32
+ source_code_uri: https://github.com/map7/ocpi
33
+ changelog_uri: https://github.com/map7/ocpi/CHANGELOG.md
34
+ post_install_message:
35
+ rdoc_options: []
36
+ require_paths:
37
+ - lib
38
+ required_ruby_version: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 3.0.0
43
+ required_rubygems_version: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ requirements: []
49
+ rubygems_version: 3.5.7
50
+ signing_key:
51
+ specification_version: 4
52
+ summary: Open Charge Point Interface (OCPI) for EV Chargers
53
+ test_files: []