moysklad 0.1.4 → 0.1.5

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: 7ce9d5b8b1a5f1edb130458f589bc42a2a528785
4
- data.tar.gz: 6e3d6bcccc02fe6d70b35fa1fb53776860130580
3
+ metadata.gz: 60b1773384cb062bd5ba282688d93547178fc33a
4
+ data.tar.gz: c01d5f3812455b4b96d1f03d32fd95bba8ec77e6
5
5
  SHA512:
6
- metadata.gz: 011d7e2405fdd727a6546f52618ab3be16d06858c6f581f2f7ebef1ec0a51a9621c9ab88f338c7ffc137f471ffa392a06fdbe58f743a21dc9e5ae916fe17653c
7
- data.tar.gz: bd7eebe8792ae0c4ddd0b5af4515ccbc792157d03a1c405e4477c70bdbd80c707435a36db1a2dffc53a5925c753a6318f5976b40c2e0196997c9028c99e54afc
6
+ metadata.gz: 1e5b2f3edddbc94ccc9c21b252cb2fd8321a7a5b6ccb9fd683cee3e18b5ac860c7636fdab3ccc9fe6d25df12da2291f3493721f8fee97f2640357bd631458ce4
7
+ data.tar.gz: e3cbdc929452013f2333cb186f12148f828c7cb3624c53f65a8a6578503cd3ae7826c2b8bcb1d1be4392c84158c0c9aa8c4ffffffebf25d0ce013de0db56be8b
data/Gemfile CHANGED
@@ -1,7 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'nokogiri-happymapper'
4
- gem 'faraday'
5
- gem 'activesupport', '>=3.0.0'
6
3
  # Specify your gem's dependencies in moysklad.gemspec
7
4
  gemspec
data/README.md CHANGED
@@ -88,7 +88,7 @@ universe.goods.get $uuid
88
88
 
89
89
  Например загрузка заказа покупателя:
90
90
 
91
- ```
91
+ ```ruby
92
92
  co = Moysklad::Entities::CustomerOrder.new
93
93
  co.vatIncluded = true
94
94
  co.applicable = true
data/lib/moysklad.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  require 'happymapper'
2
2
  require 'active_support'
3
3
  require "moysklad/version"
4
+
4
5
  require 'logger'
5
6
 
6
7
  module Moysklad
@@ -1,3 +1,5 @@
1
+ require 'faraday'
2
+
1
3
  require_relative 'client/errors'
2
4
 
3
5
  class Moysklad::Client
@@ -1,3 +1,3 @@
1
1
  module Moysklad
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
data/moysklad.gemspec CHANGED
@@ -20,6 +20,10 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.required_ruby_version = '>= 2.0.0'
22
22
 
23
+ spec.add_runtime_dependency 'faraday'
24
+ spec.add_runtime_dependency 'nokogiri-happymapper'
25
+ spec.add_runtime_dependency 'activesupport', '>=3.0.0'
26
+
23
27
  spec.add_development_dependency "bundler", "~> 1.6"
24
28
  spec.add_development_dependency "rake"
25
29
  spec.add_development_dependency "rspec"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moysklad
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danil Pismenny
@@ -10,6 +10,48 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2014-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: nokogiri-happymapper
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: activesupport
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: 3.0.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: 3.0.0
13
55
  - !ruby/object:Gem::Dependency
14
56
  name: bundler
15
57
  requirement: !ruby/object:Gem::Requirement