ecm-blockchain-api 1.1.2 → 1.1.3

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: 93a0df1e9fc9e65f7ec379b5fc911c74c26942fb78c419ae640238d12e686d28
4
- data.tar.gz: dd2d7d7f65d3ad179844529dd5c5e74e1cf82ad47da82bb217f1316dbb8d8349
3
+ metadata.gz: daa9f40990e779bf5525925813901857d249626aa400e2ef9037fd1e4b527d17
4
+ data.tar.gz: 77cd800a10413a0c39ea86bcbf60568006a3954b38960b20b06d3255d2020dfc
5
5
  SHA512:
6
- metadata.gz: a1da828650924b734f9aaecbbaafac6d637f2f90fc96053eb1b1d831748ead745fe94cfa17fe9ba422bf11ee89f4ba3cf188523e638d88436ea96a625937f8e4
7
- data.tar.gz: 0c37b022609dcbcf17ccaa4e95de7d5be3a42f0c4e693308c3efc3147777674cf6cc31e993aae52642b8b4d4d9ccaac9759ff3d3fac2a46ceb2949d78d3f1395
6
+ metadata.gz: a53419646bfb377680c98f975fd72a2aa75526cbec05b293aafff5b1d51f34469551e9f792632be5f21dbdc79faf59d2af5a8b9bb482a928dbb4901d7f640ba9
7
+ data.tar.gz: 1f6ce937d72e248e256333f505653b9ac771ad2e9fcd4e32d270423c055df4cdce9a91712a90e7711a4a556c5aa802cdbea9bf20b9be41a5f210b59806fc520e
data/.DS_Store ADDED
Binary file
@@ -0,0 +1 @@
1
+ ./bin/console
data/Dockerfile ADDED
@@ -0,0 +1,18 @@
1
+ ARG PLATFORM=linux/arm64
2
+ FROM --platform=$PLATFORM ruby:3.2.5-slim
3
+
4
+ RUN apt-get update -qq && apt-get install -y build-essential git
5
+
6
+ WORKDIR '/gem'
7
+ COPY . /gem
8
+
9
+
10
+ RUN gem install bundler -v '2.5.18'
11
+ RUN gem update --system
12
+
13
+ RUN bundle install
14
+
15
+ # COPY .docker/entrypoint.sh /usr/bin/
16
+ # RUN chmod +x /usr/bin/entrypoint.sh
17
+ # ENTRYPOINT ["entrypoint.sh"]
18
+ CMD ["./bin/console"]
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ecm-blockchain-api (1.1.1)
4
+ ecm-blockchain-api (1.1.2)
5
5
  activemodel (~> 7.0, >= 7.0.4.3)
6
6
  httparty (~> 0.22.0)
7
7
 
@@ -106,6 +106,7 @@ GEM
106
106
  hashdiff (>= 0.4.0, < 2.0.0)
107
107
 
108
108
  PLATFORMS
109
+ aarch64-linux
109
110
  arm64-darwin-23
110
111
  x86_64-darwin-19
111
112
 
data/README.md CHANGED
@@ -7,7 +7,7 @@ Client library to connect and transact with your [ECM Blockchain network](https:
7
7
  Add this line to your application's Gemfile:
8
8
 
9
9
  ```ruby
10
- gem 'ecm_blockchain_api'
10
+ gem 'ecm-blockchain-api'
11
11
  ```
12
12
 
13
13
  And then execute:
@@ -16,7 +16,7 @@ And then execute:
16
16
 
17
17
  Or install through a CLI with:
18
18
 
19
- $ gem install ecm_blockchain_api
19
+ $ gem install ecm-blockchain-api
20
20
 
21
21
  ## Usage
22
22
  Configure the library by initializing it with your access token.
data/bin/console CHANGED
@@ -10,9 +10,9 @@ require "ecm-blockchain-api"
10
10
  # (If you use this, don't forget to add pry to your Gemfile!)
11
11
  # require "pry"
12
12
  # Pry.start
13
- ECMBlockchain.base_url = "http://localhost:3002/v1"
13
+ ECMBlockchain.base_url = ""
14
14
  # ECMBlockchain.access_token = ""
15
- ECMBlockchain.access_token = "W4nd3rl4nds!"
15
+ ECMBlockchain.access_token = ""
16
16
 
17
17
  require "pry"
18
18
  Pry.start
data/compose.yaml ADDED
@@ -0,0 +1,13 @@
1
+ services:
2
+ ecm-blockchain-api:
3
+ build: .
4
+ volumes:
5
+ - .:/gem
6
+ tty: true
7
+ stdin_open: true
8
+ networks:
9
+ - ecmnet
10
+ networks:
11
+ ecmnet:
12
+ name: ecmnet
13
+ external: true
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ECMBlockchain
4
- VERSION = "1.1.2"
4
+ VERSION = "1.1.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm-blockchain-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wardy
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-11-15 00:00:00.000000000 Z
10
+ date: 2025-04-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: httparty
@@ -80,18 +79,22 @@ executables: []
80
79
  extensions: []
81
80
  extra_rdoc_files: []
82
81
  files:
82
+ - ".DS_Store"
83
+ - ".docker/entrypoint.sh"
83
84
  - ".gitignore"
84
85
  - ".gitlab-ci.yml"
85
86
  - ".rspec"
86
87
  - ".rubocop.yml"
87
88
  - ".tool-versions"
88
89
  - CHANGELOG.md
90
+ - Dockerfile
89
91
  - Gemfile
90
92
  - Gemfile.lock
91
93
  - README.md
92
94
  - Rakefile
93
95
  - bin/console
94
96
  - bin/setup
97
+ - compose.yaml
95
98
  - ecm-blockchain-api.gemspec
96
99
  - lib/ecm-blockchain-api.rb
97
100
  - lib/ecm-blockchain-api/asset.rb
@@ -118,7 +121,6 @@ metadata:
118
121
  homepage_uri: https://www.ecmsecure.com
119
122
  source_code_uri: https://github.com/ecmsecure/ecm-blockchain-api
120
123
  changelog_uri: https://github.com/ecmsecure/ecm-blockchain-api/blob/main/CHANGELOG.md
121
- post_install_message:
122
124
  rdoc_options: []
123
125
  require_paths:
124
126
  - lib
@@ -133,8 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
135
  - !ruby/object:Gem::Version
134
136
  version: '0'
135
137
  requirements: []
136
- rubygems_version: 3.2.33
137
- signing_key:
138
+ rubygems_version: 3.6.3
138
139
  specification_version: 4
139
140
  summary: ECM Distributed Ledger & Blockchain API
140
141
  test_files: []