ofsys 0.0.6 → 0.0.7

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: b156d499ef641aa42ea6c882af38fe9f405c9fd0
4
- data.tar.gz: 6b802b28f90cca910ec164bda18cc9dd803ccd0e
3
+ metadata.gz: 6fda9e5f441109d73abe7a7793b566e451df3295
4
+ data.tar.gz: a57b5955f43f2d3f174082bc8814677c615397d0
5
5
  SHA512:
6
- metadata.gz: dedf529e253fd1b269ed9957e7860f61a18cddd14787206262669a7fe98929bc094152d73e124869c1e00af9a66a08d6eb73d4ae14185a9c826d593984aab943
7
- data.tar.gz: 547075eee7f3c61667b8c4fdbe54e0f42fbeb87965e8fb69a80eb2365f2b005acf8e1ce08b95f54356bd54b3cd8429dc9c944d43afc2cffebc8f12431417c0dd
6
+ metadata.gz: 1bce9adb0c4dfdc33f64f2997649fa49214e4654321b663990be6b9d3b63fc06f81518f60b4349f1e512095e782bb8887c230405520ac317953be67e8f061577
7
+ data.tar.gz: dd2cfb48f75a6d94424b4eb8d8e96b054d499a6d126e4bb7f14ff01acd2413044f3a58e3e4a3be1282f3e132ede2a9b74edf76b358f18ddca75b9926391cffbf
@@ -5,12 +5,8 @@ module Ofsys
5
5
  class Base
6
6
  class FailedError < RuntimeError; end
7
7
 
8
- class << self
9
- @suppress_id_project = false
10
-
11
- def suppress_id_project
12
- @id_project = true
13
- end
8
+ def self.suppress_id_project
9
+ @suppress_id_project = true
14
10
  end
15
11
 
16
12
  def initialize(config = Ofsys.config)
@@ -71,7 +67,7 @@ module Ofsys
71
67
  end
72
68
 
73
69
  def suppress_id_project?
74
- self.class.instance_variable_get(:@suppress_id_project)
70
+ self.class.instance_variable_get(:@suppress_id_project) || false
75
71
  end
76
72
 
77
73
  def decode_result(body)
data/lib/ofsys/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ofsys
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ofsys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandr Borisov
@@ -123,6 +123,20 @@ dependencies:
123
123
  - - ">="
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: pry
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ type: :development
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
126
140
  description: Ofsys.com API wrapper for Ruby language
127
141
  email:
128
142
  - aishek@gmail.com