berycoin-gem 0.1.0
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 +7 -0
- data/.gitignore +8 -0
- data/.idea/berycoin-gem.iml +14 -0
- data/.idea/misc.xml +7 -0
- data/.idea/modules.xml +8 -0
- data/.idea/workspace.xml +255 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +21 -0
- data/README.md +76 -0
- data/Rakefile +10 -0
- data/berycoin-gem.gemspec +36 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/berycoin/gem/version.rb +5 -0
- data/lib/berycoin/gem.rb +328 -0
- metadata +104 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 300b3232cbe7331ac7052cd505cc8a00dd347f12
|
4
|
+
data.tar.gz: 67a2a1adbf3439310a9ce2207bc5c9bd07a3071e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 28bed5a46f42d0d437c5213ad3fd7b931d2ac817ae2f165390897bb28f090b0754d21dc5e2426f07d8c5136af47f024e6c2a1cdccef450b8fc68244de4463bb0
|
7
|
+
data.tar.gz: 0600066fca019c78f9220580676db20d89c2e8353dd221234ee4c34a4a97121852b7a1a54542c05ea191a484b45f10f116f63c43bb408b9d5df5c17918b7c0af
|
data/.gitignore
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
3
|
+
<component name="ModuleRunConfigurationManager">
|
4
|
+
<shared />
|
5
|
+
</component>
|
6
|
+
<component name="NewModuleRootManager">
|
7
|
+
<content url="file://$MODULE_DIR$" />
|
8
|
+
<orderEntry type="jdk" jdkName="rbenv: 2.3.1" jdkType="RUBY_SDK" />
|
9
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
10
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.16.1, rbenv: 2.3.1) [gem]" level="application" />
|
11
|
+
<orderEntry type="library" scope="PROVIDED" name="minitest (v5.11.3, rbenv: 2.3.1) [gem]" level="application" />
|
12
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, rbenv: 2.3.1) [gem]" level="application" />
|
13
|
+
</component>
|
14
|
+
</module>
|
data/.idea/misc.xml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="JavaScriptSettings">
|
4
|
+
<option name="languageLevel" value="ES6" />
|
5
|
+
</component>
|
6
|
+
<component name="ProjectRootManager" version="2" project-jdk-name="rbenv: 2.4.1" project-jdk-type="RUBY_SDK" />
|
7
|
+
</project>
|
data/.idea/modules.xml
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ProjectModuleManager">
|
4
|
+
<modules>
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/berycoin-gem.iml" filepath="$PROJECT_DIR$/.idea/berycoin-gem.iml" />
|
6
|
+
</modules>
|
7
|
+
</component>
|
8
|
+
</project>
|
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,255 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="b440fbb4-d550-49f5-940a-af173ab9a7ce" name="Default" comment="">
|
5
|
+
<change afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
|
6
|
+
<change afterPath="$PROJECT_DIR$/.idea/berycoin-gem.iml" afterDir="false" />
|
7
|
+
<change afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
|
8
|
+
<change afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
|
9
|
+
<change afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
10
|
+
<change afterPath="$PROJECT_DIR$/.travis.yml" afterDir="false" />
|
11
|
+
<change afterPath="$PROJECT_DIR$/CODE_OF_CONDUCT.md" afterDir="false" />
|
12
|
+
<change afterPath="$PROJECT_DIR$/Gemfile" afterDir="false" />
|
13
|
+
<change afterPath="$PROJECT_DIR$/LICENSE.txt" afterDir="false" />
|
14
|
+
<change afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
|
15
|
+
<change afterPath="$PROJECT_DIR$/Rakefile" afterDir="false" />
|
16
|
+
<change afterPath="$PROJECT_DIR$/berycoin-gem.gemspec" afterDir="false" />
|
17
|
+
<change afterPath="$PROJECT_DIR$/bin/console" afterDir="false" />
|
18
|
+
<change afterPath="$PROJECT_DIR$/bin/setup" afterDir="false" />
|
19
|
+
<change afterPath="$PROJECT_DIR$/lib/berycoin/gem.rb" afterDir="false" />
|
20
|
+
<change afterPath="$PROJECT_DIR$/lib/berycoin/gem/version.rb" afterDir="false" />
|
21
|
+
<change afterPath="$PROJECT_DIR$/test/berycoin/gem_test.rb" afterDir="false" />
|
22
|
+
<change afterPath="$PROJECT_DIR$/test/test_helper.rb" afterDir="false" />
|
23
|
+
</list>
|
24
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
25
|
+
<option name="TRACKING_ENABLED" value="true" />
|
26
|
+
<option name="SHOW_DIALOG" value="false" />
|
27
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
28
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
29
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
30
|
+
</component>
|
31
|
+
<component name="CoverageDataManager">
|
32
|
+
<SUITE FILE_PATH="coverage/berycoin_gem@All_tests_in_lib__berycoin_gem.rcov" NAME="All tests in lib: berycoin-gem Coverage Results" MODIFIED="1525457461507" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="berycoin-gem" />
|
33
|
+
</component>
|
34
|
+
<component name="FileEditorManager">
|
35
|
+
<leaf>
|
36
|
+
<file leaf-file-name="berycoin-gem.gemspec" pinned="false" current-in-tab="true">
|
37
|
+
<entry file="file://$PROJECT_DIR$/berycoin-gem.gemspec">
|
38
|
+
<provider selected="true" editor-type-id="text-editor">
|
39
|
+
<state relative-caret-position="285">
|
40
|
+
<caret line="19" column="62" selection-start-line="19" selection-start-column="62" selection-end-line="19" selection-end-column="62" />
|
41
|
+
</state>
|
42
|
+
</provider>
|
43
|
+
</entry>
|
44
|
+
</file>
|
45
|
+
</leaf>
|
46
|
+
</component>
|
47
|
+
<component name="Git.Settings">
|
48
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
49
|
+
</component>
|
50
|
+
<component name="IdeDocumentHistory">
|
51
|
+
<option name="CHANGED_PATHS">
|
52
|
+
<list>
|
53
|
+
<option value="$PROJECT_DIR$/lib/berycoin/gem/layer_rpc.rb" />
|
54
|
+
<option value="$PROJECT_DIR$/LICENSE.txt" />
|
55
|
+
<option value="$PROJECT_DIR$/lib/berycoin/gem.rb" />
|
56
|
+
<option value="$PROJECT_DIR$/README.md" />
|
57
|
+
<option value="$PROJECT_DIR$/berycoin-gem.gemspec" />
|
58
|
+
</list>
|
59
|
+
</option>
|
60
|
+
</component>
|
61
|
+
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
|
62
|
+
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
|
63
|
+
<component name="JsGulpfileManager">
|
64
|
+
<detection-done>true</detection-done>
|
65
|
+
<sorting>DEFINITION_ORDER</sorting>
|
66
|
+
</component>
|
67
|
+
<component name="NodePackageJsonFileManager">
|
68
|
+
<packageJsonPaths />
|
69
|
+
</component>
|
70
|
+
<component name="ProjectFrameBounds" extendedState="6">
|
71
|
+
<option name="x" value="132" />
|
72
|
+
<option name="y" value="44" />
|
73
|
+
<option name="width" value="1400" />
|
74
|
+
<option name="height" value="836" />
|
75
|
+
</component>
|
76
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="true">
|
77
|
+
<ConfirmationsSetting value="1" id="Add" />
|
78
|
+
</component>
|
79
|
+
<component name="ProjectView">
|
80
|
+
<navigator proportions="" version="1">
|
81
|
+
<foldersAlwaysOnTop value="true" />
|
82
|
+
</navigator>
|
83
|
+
<panes>
|
84
|
+
<pane id="Scope" />
|
85
|
+
<pane id="ProjectPane">
|
86
|
+
<subPane>
|
87
|
+
<expand>
|
88
|
+
<path>
|
89
|
+
<item name="berycoin-gem" type="b2602c69:ProjectViewProjectNode" />
|
90
|
+
<item name="berycoin-gem" type="462c0819:PsiDirectoryNode" />
|
91
|
+
</path>
|
92
|
+
</expand>
|
93
|
+
<select />
|
94
|
+
</subPane>
|
95
|
+
</pane>
|
96
|
+
</panes>
|
97
|
+
</component>
|
98
|
+
<component name="PropertiesComponent">
|
99
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
100
|
+
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
|
101
|
+
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
|
102
|
+
</component>
|
103
|
+
<component name="RunDashboard">
|
104
|
+
<option name="ruleStates">
|
105
|
+
<list>
|
106
|
+
<RuleState>
|
107
|
+
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
|
108
|
+
</RuleState>
|
109
|
+
<RuleState>
|
110
|
+
<option name="name" value="StatusDashboardGroupingRule" />
|
111
|
+
</RuleState>
|
112
|
+
</list>
|
113
|
+
</option>
|
114
|
+
</component>
|
115
|
+
<component name="RunManager">
|
116
|
+
<configuration name="All tests in lib: berycoin-gem" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest" temporary="true">
|
117
|
+
<predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
|
118
|
+
<module name="berycoin-gem" />
|
119
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) -Ilib:test" />
|
120
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
121
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
122
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
123
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
124
|
+
<envs>
|
125
|
+
<env name="JRUBY_OPTS" value="-X+O" />
|
126
|
+
</envs>
|
127
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
128
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
129
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov">
|
130
|
+
<COVERAGE_PATTERN ENABLED="true">
|
131
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
132
|
+
</COVERAGE_PATTERN>
|
133
|
+
</EXTENSION>
|
134
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="$MODULE_DIR$/lib" />
|
135
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
136
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/{*_test,test_*,*_spec}.rb" />
|
137
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
|
138
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="ALL_IN_FOLDER" />
|
139
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
140
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
141
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
142
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
143
|
+
</configuration>
|
144
|
+
<recent_temporary>
|
145
|
+
<list>
|
146
|
+
<item itemvalue="Test::Unit/Shoulda/Minitest.All tests in lib: berycoin-gem" />
|
147
|
+
</list>
|
148
|
+
</recent_temporary>
|
149
|
+
</component>
|
150
|
+
<component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
|
151
|
+
<component name="SvnConfiguration">
|
152
|
+
<configuration />
|
153
|
+
</component>
|
154
|
+
<component name="TaskManager">
|
155
|
+
<task active="true" id="Default" summary="Default task">
|
156
|
+
<changelist id="b440fbb4-d550-49f5-940a-af173ab9a7ce" name="Default" comment="" />
|
157
|
+
<created>1525455821287</created>
|
158
|
+
<option name="number" value="Default" />
|
159
|
+
<option name="presentableId" value="Default" />
|
160
|
+
<updated>1525455821287</updated>
|
161
|
+
<workItem from="1525455822815" duration="1803000" />
|
162
|
+
</task>
|
163
|
+
<servers />
|
164
|
+
</component>
|
165
|
+
<component name="TestHistory">
|
166
|
+
<history-entry file="All_tests_in_lib__berycoin-gem - 2018.05.04 at 23h 11m 02s.xml">
|
167
|
+
<configuration name="All tests in lib: berycoin-gem" configurationId="TestUnitRunConfigurationType" />
|
168
|
+
</history-entry>
|
169
|
+
</component>
|
170
|
+
<component name="TimeTrackingManager">
|
171
|
+
<option name="totallyTimeSpent" value="1803000" />
|
172
|
+
</component>
|
173
|
+
<component name="ToolWindowManager">
|
174
|
+
<frame x="65" y="-4" width="1535" height="904" extended-state="6" />
|
175
|
+
<editor active="true" />
|
176
|
+
<layout>
|
177
|
+
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.22801302" />
|
178
|
+
<window_info anchor="bottom" id="TODO" order="6" />
|
179
|
+
<window_info anchor="bottom" id="Docker" show_stripe_button="false" />
|
180
|
+
<window_info anchor="bottom" id="Event Log" side_tool="true" />
|
181
|
+
<window_info anchor="right" id="Database" />
|
182
|
+
<window_info anchor="bottom" id="Database Changes" show_stripe_button="false" />
|
183
|
+
<window_info active="true" anchor="bottom" id="Run" order="2" visible="true" weight="0.30150753" />
|
184
|
+
<window_info anchor="bottom" id="Version Control" />
|
185
|
+
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
186
|
+
<window_info anchor="bottom" id="Terminal" />
|
187
|
+
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
188
|
+
<window_info id="Favorites" side_tool="true" />
|
189
|
+
<window_info anchor="bottom" id="Find" order="1" />
|
190
|
+
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
191
|
+
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
192
|
+
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
193
|
+
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
194
|
+
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
195
|
+
<window_info anchor="bottom" id="Message" order="0" />
|
196
|
+
</layout>
|
197
|
+
</component>
|
198
|
+
<component name="TypeScriptGeneratedFilesManager">
|
199
|
+
<option name="version" value="1" />
|
200
|
+
</component>
|
201
|
+
<component name="VcsContentAnnotationSettings">
|
202
|
+
<option name="myLimit" value="2678400000" />
|
203
|
+
</component>
|
204
|
+
<component name="editorHistoryManager">
|
205
|
+
<entry file="file://$PROJECT_DIR$/LICENSE.txt">
|
206
|
+
<provider selected="true" editor-type-id="text-editor">
|
207
|
+
<state relative-caret-position="30">
|
208
|
+
<caret line="2" column="58" selection-start-line="2" selection-start-column="58" selection-end-line="2" selection-end-column="58" />
|
209
|
+
</state>
|
210
|
+
</provider>
|
211
|
+
</entry>
|
212
|
+
<entry file="file://$PROJECT_DIR$/lib/berycoin/gem/layer_rpc.rb">
|
213
|
+
<provider selected="true" editor-type-id="text-editor">
|
214
|
+
<state relative-caret-position="390">
|
215
|
+
<caret line="26" column="3" selection-start-line="26" selection-start-column="3" selection-end-line="26" selection-end-column="3" />
|
216
|
+
</state>
|
217
|
+
</provider>
|
218
|
+
</entry>
|
219
|
+
<entry file="file://$PROJECT_DIR$/lib/berycoin/gem/version.rb">
|
220
|
+
<provider selected="true" editor-type-id="text-editor" />
|
221
|
+
</entry>
|
222
|
+
<entry file="file://$PROJECT_DIR$/lib/berycoin/gem.rb">
|
223
|
+
<provider selected="true" editor-type-id="text-editor">
|
224
|
+
<state relative-caret-position="-1995">
|
225
|
+
<caret line="5" lean-forward="true" selection-start-line="5" selection-end-line="5" />
|
226
|
+
</state>
|
227
|
+
</provider>
|
228
|
+
</entry>
|
229
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
230
|
+
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
231
|
+
<state split_layout="SPLIT">
|
232
|
+
<first_editor relative-caret-position="396">
|
233
|
+
<caret line="76" lean-forward="true" selection-start-line="76" selection-end-line="76" />
|
234
|
+
</first_editor>
|
235
|
+
<second_editor />
|
236
|
+
</state>
|
237
|
+
</provider>
|
238
|
+
</entry>
|
239
|
+
<entry file="file://$PROJECT_DIR$/CODE_OF_CONDUCT.md">
|
240
|
+
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
241
|
+
<state split_layout="SPLIT">
|
242
|
+
<first_editor relative-caret-position="-624" />
|
243
|
+
<second_editor />
|
244
|
+
</state>
|
245
|
+
</provider>
|
246
|
+
</entry>
|
247
|
+
<entry file="file://$PROJECT_DIR$/berycoin-gem.gemspec">
|
248
|
+
<provider selected="true" editor-type-id="text-editor">
|
249
|
+
<state relative-caret-position="285">
|
250
|
+
<caret line="19" column="62" selection-start-line="19" selection-start-column="62" selection-end-line="19" selection-end-column="62" />
|
251
|
+
</state>
|
252
|
+
</provider>
|
253
|
+
</entry>
|
254
|
+
</component>
|
255
|
+
</project>
|
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -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 ronald.n.mcatee@gmail.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 [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Bilal Haider (bilal_haider032@yahoo.com)
|
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
|
13
|
+
all 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
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,76 @@
|
|
1
|
+
# Berycoin::Gem
|
2
|
+
|
3
|
+
Welcome to Berycoin gem for Ruby and Rails developers, it helps you interact with Berycoin node,
|
4
|
+
It is really a wrapper for berycoin
|
5
|
+
|
6
|
+
```ruby
|
7
|
+
puts Berycoin::Blockchain::getnewaddress
|
8
|
+
bery_info = Berycoin::Control::getinfo
|
9
|
+
puts bery_info["version"]
|
10
|
+
puts bery_info["protocolversion"]
|
11
|
+
|
12
|
+
puts Berycoin::Wallet::listaccounts
|
13
|
+
@balance = Berycoin::Wallet::getbalance
|
14
|
+
```
|
15
|
+
|
16
|
+
## Installation
|
17
|
+
|
18
|
+
Add this line to your application's Gemfile:
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
gem 'berycoin-gem'
|
22
|
+
```
|
23
|
+
|
24
|
+
And then execute:
|
25
|
+
|
26
|
+
$ bundle
|
27
|
+
|
28
|
+
Or install it yourself as:
|
29
|
+
|
30
|
+
$ gem install berycoin-gem
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
##### Create Configuration file
|
36
|
+
|
37
|
+
cd to your data directory, e.g home/yourusername/.berycoin
|
38
|
+
|
39
|
+
```
|
40
|
+
sudo nano berycoin.conf
|
41
|
+
```
|
42
|
+
Create a configuration file with this information
|
43
|
+
|
44
|
+
that has this information
|
45
|
+
|
46
|
+
rpcuser=yourrpcusername
|
47
|
+
rpcpass=yourrpcpassword
|
48
|
+
rpchost=localhost
|
49
|
+
rpcport=4732
|
50
|
+
|
51
|
+
##### Create Environment Variables
|
52
|
+
|
53
|
+
```
|
54
|
+
export RPCUSER=<yourrpcusername>
|
55
|
+
export RPCPASS=<yourrpcpassword>
|
56
|
+
export RPCHOST=<localhost>
|
57
|
+
export RPCPORT=<rpcport>
|
58
|
+
```
|
59
|
+
|
60
|
+
## Development
|
61
|
+
|
62
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
63
|
+
|
64
|
+
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 tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
65
|
+
|
66
|
+
## Contributing
|
67
|
+
|
68
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/berycoin-project/berycoin-gem. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
69
|
+
|
70
|
+
## License
|
71
|
+
|
72
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
73
|
+
|
74
|
+
## Code of Conduct
|
75
|
+
|
76
|
+
Everyone interacting in the Berycoin::Gem project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/berycoin-gem/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "berycoin/gem/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "berycoin-gem"
|
8
|
+
spec.version = Berycoin::Gem::VERSION
|
9
|
+
spec.authors = ["Bilal Haider"]
|
10
|
+
spec.email = ["bilal_haider032@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Berycoin-gem is a ruby gem to interact with berycoin node}
|
13
|
+
spec.description = %q{Berycoin-gem helps you talk to berycoin node, you have access to all methods which bitcoin 0.13.3 }
|
14
|
+
spec.homepage = "http://www.github.com/berycoin-project/berycoin-gem"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
if spec.respond_to?(:metadata)
|
20
|
+
spec.metadata["allowed_push_host"] = 'https://rubygems.org'
|
21
|
+
else
|
22
|
+
raise "RubyGems 2.0 or newer is required to protect against " \
|
23
|
+
"public gem pushes."
|
24
|
+
end
|
25
|
+
|
26
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
27
|
+
f.match(%r{^(test|spec|features)/})
|
28
|
+
end
|
29
|
+
spec.bindir = "exe"
|
30
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
31
|
+
spec.require_paths = ["lib"]
|
32
|
+
|
33
|
+
spec.add_development_dependency "bundler", "~> 1.16"
|
34
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
35
|
+
spec.add_development_dependency "minitest", "~> 5.0"
|
36
|
+
end
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "berycoin/gem"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/lib/berycoin/gem.rb
ADDED
@@ -0,0 +1,328 @@
|
|
1
|
+
require "berycoin/gem/version"
|
2
|
+
require "berycoin/gem/layer_rpc"
|
3
|
+
|
4
|
+
module Berycoin
|
5
|
+
module Gem
|
6
|
+
|
7
|
+
RPCUSER = ENV['RPCUSER']
|
8
|
+
RPCPASS = ENV['RPCPASS']
|
9
|
+
RPCHOST = ENV['RPCHOST']
|
10
|
+
RPCPORT = ENV['RPCPORT']
|
11
|
+
LINK = "http://" + RPCUSER + ":" + RPCPASS + "@" + RPCHOST + ":" + RPCPORT
|
12
|
+
H = BerycoinRPC.new(LINK)
|
13
|
+
|
14
|
+
module Blockchain
|
15
|
+
def Blockchain.getnewaddress
|
16
|
+
H.getnewaddress
|
17
|
+
end
|
18
|
+
|
19
|
+
def Blockchain.getbestblockhash
|
20
|
+
H.getbestblockhash
|
21
|
+
end
|
22
|
+
|
23
|
+
def Blockchain.getblock(hash)
|
24
|
+
H.getblock hash
|
25
|
+
end
|
26
|
+
|
27
|
+
def Blockchain.getblockchaininfo
|
28
|
+
H.getblockchaininfo
|
29
|
+
end
|
30
|
+
def Blockchain.getblockcount
|
31
|
+
H.getblockcount
|
32
|
+
end
|
33
|
+
def Blockchain.getblockhash(index)
|
34
|
+
H.getblockhash(index)
|
35
|
+
end
|
36
|
+
def Blockchain.getblockheader(hash)
|
37
|
+
H.getblockheader(hash)
|
38
|
+
end
|
39
|
+
def Blockchain.getchaintips
|
40
|
+
H.getchaintips
|
41
|
+
end
|
42
|
+
def Blockchain.getdifficulty
|
43
|
+
H.getdifficulty
|
44
|
+
end
|
45
|
+
def Blockchain.getmempoolancestors(txid)
|
46
|
+
H.getmempoolancestors(txid)
|
47
|
+
end
|
48
|
+
def Blockchain.getmempooldescendants(txid)
|
49
|
+
H.getmempooldescendants(txid)
|
50
|
+
end
|
51
|
+
def Blockchain.getmempoolentry(txid)
|
52
|
+
H.getmempoolentry(txid)
|
53
|
+
end
|
54
|
+
def Blockchain.getmempoolinfo
|
55
|
+
H.getmempoolinfo
|
56
|
+
end
|
57
|
+
def Blockchain.getrawmempool
|
58
|
+
H.getrawmempool
|
59
|
+
end
|
60
|
+
def Blockchain.gettxout(txid)
|
61
|
+
H.gettxout(txid)
|
62
|
+
end
|
63
|
+
def Blockchain.gettxout(txid, n)
|
64
|
+
H.gettxout(txid, n)
|
65
|
+
end
|
66
|
+
def Blockchain.gettxoutproof
|
67
|
+
H.gettxoutproof
|
68
|
+
end
|
69
|
+
def Blockchain.gettxoutsetinfo
|
70
|
+
H.gettxoutsetinfo
|
71
|
+
end
|
72
|
+
def Blockchain.verifychain
|
73
|
+
H.verifychain
|
74
|
+
end
|
75
|
+
def Blockchain.verifytxoutproof(proof)
|
76
|
+
H.verifytxoutproof(proof)
|
77
|
+
end
|
78
|
+
end
|
79
|
+
module Control
|
80
|
+
def Control.getinfo
|
81
|
+
H.getinfo
|
82
|
+
end
|
83
|
+
def Control.help
|
84
|
+
H.help
|
85
|
+
end
|
86
|
+
def Control.stop
|
87
|
+
H.stop
|
88
|
+
end
|
89
|
+
end
|
90
|
+
module Generating
|
91
|
+
def Generating.generate(numblocks)
|
92
|
+
H.generate(numblocks)
|
93
|
+
end
|
94
|
+
def Generating.generatetoaddress(numblocks, address)
|
95
|
+
H.generatetoaddress(numblocks, address)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
module Mining
|
99
|
+
def Mining.getblocktemplate
|
100
|
+
H.getblocktemplate
|
101
|
+
end
|
102
|
+
def Mining.getmininginfo
|
103
|
+
H.getmininginfo
|
104
|
+
end
|
105
|
+
def Mining.getnetworkhashps
|
106
|
+
H.getnetworkhashps
|
107
|
+
end
|
108
|
+
def Mining.prioritisetransaction(*opt)
|
109
|
+
H.prioritisetransaction (opt)
|
110
|
+
end
|
111
|
+
def Mining.submitblock(hexdata)
|
112
|
+
H.submitblock(hexdata)
|
113
|
+
end
|
114
|
+
end
|
115
|
+
module Network
|
116
|
+
def Network.addnode(node)
|
117
|
+
H.addnode node
|
118
|
+
end
|
119
|
+
def Network.addnode(node, option)
|
120
|
+
H.addnode(node, option)
|
121
|
+
end
|
122
|
+
def Network.clearbanned
|
123
|
+
H.clearbanned
|
124
|
+
end
|
125
|
+
def Network.disconnectnode(node)
|
126
|
+
H.disconnectnode(node)
|
127
|
+
end
|
128
|
+
def Network.getaddednodeinfo(dummy)
|
129
|
+
H.getaddednodeinfo(dummy)
|
130
|
+
end
|
131
|
+
def Network.getconnectioncount
|
132
|
+
H.getconnectioncount
|
133
|
+
end
|
134
|
+
def Network.getnettotals
|
135
|
+
H.getnettotals
|
136
|
+
end
|
137
|
+
def Network.getnetworkinfo
|
138
|
+
H.getnetworkinfo
|
139
|
+
end
|
140
|
+
def Network.getpeerinfo
|
141
|
+
H.getpeerinfo
|
142
|
+
end
|
143
|
+
def Network.listbanned
|
144
|
+
H.listbanned
|
145
|
+
end
|
146
|
+
def Network.ping
|
147
|
+
H.ping
|
148
|
+
end
|
149
|
+
def Network.setban (ip)
|
150
|
+
H.setban(ip)
|
151
|
+
end
|
152
|
+
def Network.setban (ip, opt)
|
153
|
+
H.setban(ip, opt)
|
154
|
+
end
|
155
|
+
end
|
156
|
+
module RawTransactions
|
157
|
+
def RawTransactions.createrawtransaction(*opt)
|
158
|
+
H.createrawtransaction(opt)
|
159
|
+
end
|
160
|
+
def RawTransactions.decoderawtransaction(hexstring)
|
161
|
+
H.decoderawtransaction(hexstring)
|
162
|
+
end
|
163
|
+
def RawTransactions.decodescript(hex)
|
164
|
+
H.decodescript(hex)
|
165
|
+
end
|
166
|
+
def RawTransactions.fundrawtransaction(hex)
|
167
|
+
H.fundrawtransaction(hex)
|
168
|
+
end
|
169
|
+
def RawTransactions.getrawtransaction(txid)
|
170
|
+
H.getrawtransaction(txid)
|
171
|
+
end
|
172
|
+
def RawTransactions.sendrawtransaction(hex)
|
173
|
+
H.sendrawtransaction(hex)
|
174
|
+
end
|
175
|
+
def RawTransactions.signrawtransaction(hex)
|
176
|
+
H.signrawtransaction(hex)
|
177
|
+
end
|
178
|
+
end
|
179
|
+
module Util
|
180
|
+
def Util.createmultisig(nrequired)
|
181
|
+
H.createmultisig nrequired
|
182
|
+
end
|
183
|
+
def Util.estimatefee(nblocks)
|
184
|
+
H.estimatefee nblocks
|
185
|
+
end
|
186
|
+
def Util.estimatepriority(nblocks)
|
187
|
+
H.estimatepriority nblocks
|
188
|
+
end
|
189
|
+
def Util.estimatesmartfee(nblocks)
|
190
|
+
H.estimatesmartfee nblocks
|
191
|
+
end
|
192
|
+
def Util.estimatesmartpriority(nblocks)
|
193
|
+
H.estimatesmartpriority nblocks
|
194
|
+
end
|
195
|
+
def Util.signmessagewithprivkey(piv, msg)
|
196
|
+
H.signmessagewithprivkey(piv, msg)
|
197
|
+
end
|
198
|
+
def Util.validateaddress(berycoinaddress)
|
199
|
+
H.validateaddress berycoinaddress
|
200
|
+
end
|
201
|
+
def Util.verifymessage(berycoinaddress,signature,message)
|
202
|
+
H.verifymessage(berycoinaddress,signature,message)
|
203
|
+
end
|
204
|
+
end
|
205
|
+
module Wallet
|
206
|
+
def Wallet.abandontransaction(txid)
|
207
|
+
H.abandontransaction txid
|
208
|
+
end
|
209
|
+
def Wallet.addmultisigaddress(nrequired)
|
210
|
+
H.addmultisigaddress nrequired
|
211
|
+
end
|
212
|
+
def Wallet.addwitnessaddress(address)
|
213
|
+
H.addwitnessaddress address
|
214
|
+
end
|
215
|
+
def Wallet.backupwallet(destination)
|
216
|
+
H.backupwallet destination
|
217
|
+
end
|
218
|
+
def Wallet.dumpprivkey(berycoinaddress)
|
219
|
+
H.dumpprivkey berycoinaddress
|
220
|
+
end
|
221
|
+
def Wallet.dumpwallet(filename)
|
222
|
+
H.dumpwallet filename
|
223
|
+
end
|
224
|
+
def Wallet.encryptwallet(passphrase)
|
225
|
+
H.encryptwallet passphrase
|
226
|
+
end
|
227
|
+
def Wallet.getaccount(berycoinaddress)
|
228
|
+
H.getaccount berycoinaddress
|
229
|
+
end
|
230
|
+
def Wallet.getaccountaddress(account)
|
231
|
+
H.getaccountaddress account
|
232
|
+
end
|
233
|
+
def Wallet.getaddressesbyaccount(account)
|
234
|
+
H.getaddressesbyaccount(account)
|
235
|
+
end
|
236
|
+
def Wallet.getbalance
|
237
|
+
H.getbalance
|
238
|
+
end
|
239
|
+
def Wallet.getnewaddress
|
240
|
+
H.getnewaddress
|
241
|
+
end
|
242
|
+
def Wallet.getrawchangeaddress
|
243
|
+
H.getrawchangeaddress
|
244
|
+
end
|
245
|
+
def Wallet.getreceivedbyaccount(account)
|
246
|
+
H.getreceivedbyaccount account
|
247
|
+
end
|
248
|
+
def Wallet.getreceivedbyaddress(address)
|
249
|
+
H.getreceivedbyaddress address
|
250
|
+
end
|
251
|
+
def Wallet.gettransaction(txid)
|
252
|
+
H.gettransaction txid
|
253
|
+
end
|
254
|
+
def Wallet.getunconfirmedbalance
|
255
|
+
H.getunconfirmedbalance
|
256
|
+
end
|
257
|
+
def Wallet.getwalletinfo
|
258
|
+
H.getwalletinfo
|
259
|
+
end
|
260
|
+
def Wallet.importaddress(address)
|
261
|
+
H.importaddress address
|
262
|
+
end
|
263
|
+
def Wallet.importprivkey(berycoinprivkey)
|
264
|
+
H.importprivkey berycoinprivkey
|
265
|
+
end
|
266
|
+
def Wallet.importprunedfunds
|
267
|
+
H.importprunedfunds
|
268
|
+
end
|
269
|
+
def Wallet.importpubkey(pubkey)
|
270
|
+
H.importpubkey(pubkey)
|
271
|
+
end
|
272
|
+
def Wallet.importwallet(filename)
|
273
|
+
H.importwallet(filename)
|
274
|
+
end
|
275
|
+
def Wallet.keypoolrefill
|
276
|
+
H.keypoolrefill
|
277
|
+
end
|
278
|
+
def Wallet.listaccounts
|
279
|
+
H.listaccounts
|
280
|
+
end
|
281
|
+
def Wallet.listaddressgroupings
|
282
|
+
H.listaddressgroupings
|
283
|
+
end
|
284
|
+
def Wallet.listlockunspent
|
285
|
+
H.listlockunspent
|
286
|
+
end
|
287
|
+
def Wallet.listreceivedbyaccount
|
288
|
+
H.listreceivedbyaccount
|
289
|
+
end
|
290
|
+
def Wallet.listreceivedbyaddress
|
291
|
+
H.listreceivedbyaddress
|
292
|
+
end
|
293
|
+
def Wallet.listsinceblock
|
294
|
+
H.listsinceblock
|
295
|
+
end
|
296
|
+
def Wallet.listtransactions
|
297
|
+
H.listtransactions
|
298
|
+
end
|
299
|
+
def Wallet.listunspent
|
300
|
+
H.listunspent
|
301
|
+
end
|
302
|
+
def Wallet.lockunspent(unlock)
|
303
|
+
H.lockunspent unlock
|
304
|
+
end
|
305
|
+
def Wallet.move(fromaccount,toaccount, amount)
|
306
|
+
H.move(fromaccount, toaccount, amount)
|
307
|
+
end
|
308
|
+
def Wallet.sendfrom(fromaccount,toberycoinaddress,amount)
|
309
|
+
H.sendfrom(fromaccount,toberycoinaddress,amount)
|
310
|
+
end
|
311
|
+
def Wallet.sendmany(fromaccount, json)
|
312
|
+
H.sendmany(fromaccount, json)
|
313
|
+
end
|
314
|
+
def Wallet.sendtoaddress(berycoinaddress,account)
|
315
|
+
H.sendtoaddress(berycoinaddress,account)
|
316
|
+
end
|
317
|
+
def Wallet.setaccount(berycoinaddress,account)
|
318
|
+
H.setaccount(berycoinaddress,account)
|
319
|
+
end
|
320
|
+
def Wallet.settxfee(amount)
|
321
|
+
H.settxfee amount
|
322
|
+
end
|
323
|
+
def Wallet.signmessage(berycoinaddress,message)
|
324
|
+
H.signmessage(berycoinaddress,message)
|
325
|
+
end
|
326
|
+
end
|
327
|
+
end
|
328
|
+
end
|
metadata
ADDED
@@ -0,0 +1,104 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: berycoin-gem
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Bilal Haider
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-05-04 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.16'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.16'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '5.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.0'
|
55
|
+
description: 'Berycoin-gem helps you talk to berycoin node, you have access to all
|
56
|
+
methods which bitcoin 0.13.3 '
|
57
|
+
email:
|
58
|
+
- bilal_haider032@gmail.com
|
59
|
+
executables: []
|
60
|
+
extensions: []
|
61
|
+
extra_rdoc_files: []
|
62
|
+
files:
|
63
|
+
- ".gitignore"
|
64
|
+
- ".idea/berycoin-gem.iml"
|
65
|
+
- ".idea/misc.xml"
|
66
|
+
- ".idea/modules.xml"
|
67
|
+
- ".idea/workspace.xml"
|
68
|
+
- ".travis.yml"
|
69
|
+
- CODE_OF_CONDUCT.md
|
70
|
+
- Gemfile
|
71
|
+
- LICENSE.txt
|
72
|
+
- README.md
|
73
|
+
- Rakefile
|
74
|
+
- berycoin-gem.gemspec
|
75
|
+
- bin/console
|
76
|
+
- bin/setup
|
77
|
+
- lib/berycoin/gem.rb
|
78
|
+
- lib/berycoin/gem/version.rb
|
79
|
+
homepage: http://www.github.com/berycoin-project/berycoin-gem
|
80
|
+
licenses:
|
81
|
+
- MIT
|
82
|
+
metadata:
|
83
|
+
allowed_push_host: https://rubygems.org
|
84
|
+
post_install_message:
|
85
|
+
rdoc_options: []
|
86
|
+
require_paths:
|
87
|
+
- lib
|
88
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '0'
|
93
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0'
|
98
|
+
requirements: []
|
99
|
+
rubyforge_project:
|
100
|
+
rubygems_version: 2.5.1
|
101
|
+
signing_key:
|
102
|
+
specification_version: 4
|
103
|
+
summary: Berycoin-gem is a ruby gem to interact with berycoin node
|
104
|
+
test_files: []
|