genba-ruby 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec93ba5a3b120e995614d4fc869cacac8c0f3722
4
- data.tar.gz: 6c507669a8ac148f031ed113c42e6530abc5f5cd
3
+ metadata.gz: 2e99dbb1f55b724834d4c840f90996c2eb86c0d1
4
+ data.tar.gz: 63cc23761d42d2d1b348132162191e0726f09d85
5
5
  SHA512:
6
- metadata.gz: 130e8c65d54d05fe52f4fbb919d0c9ff6db190ff33b984945fbeb68263c28eb027ad91c9ca1be895f2acc5d8b83dab487205d05fea564f28b796c3ff375fe61e
7
- data.tar.gz: 54732fd798c9c3aaee36dd038e3fc73088ea17119a1ac9ab518cb773972084e6c690f8ce4f17a8756a071caa000e8e3b0a9b39f270ff616dd735f8c023b17ad4
6
+ metadata.gz: 4b8768b0c971dc99c510cc7bf924723cb56bd6a2df11308550f4c730122b1277e0a03338fedab4e6065ac3a3a43d4cd2b5f6a236f5b7c2ede123ab1cf7bd4e2f
7
+ data.tar.gz: ae8bcb761b18971fa5ea8254dc6db40e3e66b0d83dbcfed3e24c57e47fd2bbfcfc62cc38d260c98bc2a9697e5b3581270ef84ba53a72da695d2aa911c26432d5
data/.travis.yml CHANGED
@@ -3,3 +3,7 @@ language: ruby
3
3
  rvm:
4
4
  - 2.4.1
5
5
  before_install: gem install bundler -v 1.16.1
6
+ bundler_args: --without production
7
+ before_install:
8
+ - gem update --system
9
+ - gem --version
@@ -0,0 +1,5 @@
1
+ module Genba
2
+ class Engine < ::Rails::Engine
3
+ isolate_namespace Genba
4
+ end
5
+ end
data/lib/genba/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Genba
2
- VERSION = '0.1.3'.freeze
2
+ VERSION = '0.1.4'.freeze
3
3
  end
data/lib/genba.rb CHANGED
@@ -5,6 +5,9 @@ require 'rest-client'
5
5
  require 'oj'
6
6
  require 'active_model'
7
7
 
8
+ # Engine (for rails)
9
+ require 'genba/engine' if defined?(Rails)
10
+
8
11
  require 'genba/version'
9
12
  require 'genba/key_black_list_request'
10
13
  require 'genba/key_report_request'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: genba-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dean Lin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-07 00:00:00.000000000 Z
11
+ date: 2018-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -120,6 +120,7 @@ files:
120
120
  - lib/genba/client/prices.rb
121
121
  - lib/genba/client/products.rb
122
122
  - lib/genba/client/restrictions.rb
123
+ - lib/genba/engine.rb
123
124
  - lib/genba/key_black_list_request.rb
124
125
  - lib/genba/key_report_request.rb
125
126
  - lib/genba/version.rb