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 +4 -4
- data/lib/ofsys/request/base.rb +3 -7
- data/lib/ofsys/version.rb +1 -1
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6fda9e5f441109d73abe7a7793b566e451df3295
|
4
|
+
data.tar.gz: a57b5955f43f2d3f174082bc8814677c615397d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bce9adb0c4dfdc33f64f2997649fa49214e4654321b663990be6b9d3b63fc06f81518f60b4349f1e512095e782bb8887c230405520ac317953be67e8f061577
|
7
|
+
data.tar.gz: dd2cfb48f75a6d94424b4eb8d8e96b054d499a6d126e4bb7f14ff01acd2413044f3a58e3e4a3be1282f3e132ede2a9b74edf76b358f18ddca75b9926391cffbf
|
data/lib/ofsys/request/base.rb
CHANGED
@@ -5,12 +5,8 @@ module Ofsys
|
|
5
5
|
class Base
|
6
6
|
class FailedError < RuntimeError; end
|
7
7
|
|
8
|
-
|
9
|
-
@suppress_id_project =
|
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
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.
|
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
|