spike-ruby 0.1.1 → 0.1.2
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 +4 -4
- data/.gitignore +1 -0
- data/.rubocop.yml +2 -1
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/lib/spike.rb +1 -1
- data/lib/spike/version.rb +1 -0
- data/spec/spec_helper.rb +1 -1
- data/spike-ruby.gemspec +1 -1
- metadata +5 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 473a5eb1a350819008d301fa68c4aeaeda4b4c03
|
4
|
+
data.tar.gz: 4840084cb592f28bfa8aa4e01f5f267b649dbcd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e7da6981f5863e845a5408641d95442aeb79b163e8f316f9b16050d921cedab60e32761fc6a3457a44ab9a881563789ada11d4c4671f323e5723f5816345040
|
7
|
+
data.tar.gz: e007ef02a376f6bea8083cf2168f50727338afe70f1955fd8296e5e0612d4a8ba6d452f288375779b6fecbb107407ff65298c4289d3a943953680de57228819c
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -9,7 +9,7 @@ LineLength:
|
|
9
9
|
Max: 120
|
10
10
|
ClassAndModuleChildren:
|
11
11
|
EnforcedStyle: compact
|
12
|
-
|
12
|
+
Metrics/MethodLength:
|
13
13
|
Max: 20
|
14
14
|
Style/PredicateName:
|
15
15
|
Enabled: false
|
@@ -18,4 +18,5 @@ AllCops:
|
|
18
18
|
TargetRubyVersion: 2.2
|
19
19
|
Exclude:
|
20
20
|
- 'bin/test.rb'
|
21
|
+
- 'vendor/**/*'
|
21
22
|
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'spike'
|
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
|
data/bin/setup
ADDED
data/lib/spike.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'spike/version'
|
1
2
|
require 'spike/error'
|
2
3
|
require 'spike/object'
|
3
4
|
require 'spike/charge'
|
@@ -8,7 +9,6 @@ require 'curb'
|
|
8
9
|
# Main class
|
9
10
|
#
|
10
11
|
class Spike
|
11
|
-
VERSION = '0.1.1'.freeze
|
12
12
|
API_BASE = 'https://api.spike.cc'.freeze
|
13
13
|
API_VERSION = '/v1'.freeze
|
14
14
|
API_URL = API_BASE + API_VERSION
|
data/lib/spike/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
data/spike-ruby.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spike-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- AKAMATSU Yuki
|
@@ -142,6 +142,8 @@ email:
|
|
142
142
|
- y.akamatsu@ukstudio.jp
|
143
143
|
- matsubokkuri@gmail.com
|
144
144
|
executables:
|
145
|
+
- console
|
146
|
+
- setup
|
145
147
|
- test.rb
|
146
148
|
extensions: []
|
147
149
|
extra_rdoc_files: []
|
@@ -153,6 +155,8 @@ files:
|
|
153
155
|
- LICENSE.txt
|
154
156
|
- README.md
|
155
157
|
- Rakefile
|
158
|
+
- bin/console
|
159
|
+
- bin/setup
|
156
160
|
- bin/test.rb
|
157
161
|
- circle.yml
|
158
162
|
- lib/spike.rb
|