safecrow 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d687db09d7b23752c09c08b63dd237ffb4ab5ba778b682a72d76c4783d4b61b9
4
- data.tar.gz: cddb226c3be1939c4957d663b0c4cd07a80740f119b1bd82a1f766815372d9af
3
+ metadata.gz: 1d00c17f8ad5c6277482edd4cd0042ccd8897556604e971c970ea4c52f5cd4b0
4
+ data.tar.gz: b8318e120c36dfec6ec56c43026b75a7836b606bc2b8676b52aae16e3572b692
5
5
  SHA512:
6
- metadata.gz: 6c23e958609ee71ec0b512e27d8e27ee7b2b4468e3771932ed06b3211b7cac55461c301307f57b94af31489bbae2ef79f7bbeda7d6f3fe173361c8492b1d6617
7
- data.tar.gz: 14f558f1f281b6c78e5a652decba2f3b4503d94922caa74a2cb476f5ff0f1796f15144e1c53bc953a2b6f4d3a26d1e4ab81b39bbb8b340a84b0d8f836085e227
6
+ metadata.gz: 7a8d42b0fbb531492727f676315fa9f2fd0ea0f97068bd518219358151850f0a0bc0ce0a63b71072ec9e69ca91c3a51314b57afb0ede45371e5d58d5fb191e5c
7
+ data.tar.gz: 041f909b9fe922c342805c5a912f6591af04932463995e75fc46c81c1de2579475a4948ac8960f1c65fa1bd7c9389835d99506893bbebfb7535caf7a95d3ff79
data/README.md CHANGED
@@ -1,3 +1,6 @@
1
+ [![Gem Version](https://badge.fury.io/rb/safecrow.svg)](https://badge.fury.io/rb/safecrow)
2
+ [![License](https://img.shields.io/github/license/dcrtit/safecrow.svg)](https://github.com/dcrtit/safecrow/blob/master/LICENSE.txt)
3
+ [![Maintainability](https://api.codeclimate.com/v1/badges/9f6f4b46171fae32a948/maintainability)](https://codeclimate.com/github/dcrtit/safecrow/maintainability)
1
4
  # Safecrow
2
5
 
3
6
  This is SDK for Safecrow API
@@ -20,12 +23,16 @@ Or install it yourself as:
20
23
 
21
24
  ## Usage
22
25
 
23
- First, configure api-key and api-secret in config/initializers/safecrow.rb
24
-
26
+ First, configure api-key and api-secret in config/initializers/safecrow.rb after running this:
27
+ ```ruby
28
+ rails g safecrow:install
29
+ ```
30
+ Now yo can do smothing like this:
25
31
  ```ruby
26
- Safecrow.method_name(params).
32
+ Safecrow.method_name(params)
27
33
  ```
28
- To all availible methods see lib/safecrow.rb and https://github.com/safecrow/docs-apiv3
34
+
35
+ To all availible methods see https://www.rubydoc.info/gems/safecrow/0.1.0/Safecrow and https://github.com/safecrow/docs-apiv3
29
36
 
30
37
 
31
38
  ## Development
@@ -36,8 +43,8 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
36
43
 
37
44
  ## Contributing
38
45
 
39
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/safecrow. 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.
46
+ Bug reports and pull requests are welcome on GitHub at https://github.com/dcrtit/safecrow. 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.
40
47
 
41
48
  ## License
42
49
 
43
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
50
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -1,5 +1,7 @@
1
1
  module Safecrow
2
2
  class Configuration
3
+
4
+ # @api private
3
5
  attr_accessor :url, :apikey, :apisecret, :prefix
4
6
 
5
7
  def initialize
@@ -9,6 +11,4 @@ module Safecrow
9
11
  @prefix = nil
10
12
  end
11
13
  end
12
- end
13
-
14
- #URL='https://dev.safecrow.ru' APIKEY='414b7881-cf46-4af5-8c08-66e1f383cfa3' APISECRET='238f922e7bbbae58cec3d4774611a2fe70de31bec3068c0c5d6784800ee88c67' PREFIX='/api/v3' rspec
14
+ end
@@ -1,3 +1,3 @@
1
1
  module Safecrow
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: safecrow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - McAlex
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-08-20 00:00:00.000000000 Z
11
+ date: 2018-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler