shopify_cli 1.0.0 → 1.0.1

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: 91f855067fbd543f5249e89ef86aaf33ff42de42
4
- data.tar.gz: 120fb40fe1eb73fa650f17ca519494b4229b23c0
3
+ metadata.gz: e3f41eed2f27294a329e6f1ad6642af204d34de6
4
+ data.tar.gz: f60fc9ff7d67eb4ab3a6063b95a01d0adb2c0142
5
5
  SHA512:
6
- metadata.gz: c69b7e20cbf4e24738e913166edbed5239d51edde1df23e3f66b94b00923cb7525d3196cd34452fb6a13147a67cc4bd9417e7e3dbf08f2c0715dc0ac0f91768f
7
- data.tar.gz: 8e0f6add33df6a2bdc2a52cc0f74a9672793a5a1d69888e7b7dbe5ce43c5a40bbe7ba4bf11c9d0af5627b09edd1838ee82248dd023c29cb03b9f68048a1c9be8
6
+ metadata.gz: ca34c5e48d3c8d0d400dddbd5b337c3b22e23b4918014dc74ac3c96d273396de5b414de29b129ab76ec7a5323cf090ac847044e27f57e6e6645f91dbeb99933d
7
+ data.tar.gz: 747e593e948f79ebae834c621f349365f9e06cd17854670509a01f698bf6b96fcc38f6d944407bdc76b0e132ff295bace32aa8bfa3765b2918548c812b77cb76
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
4
+ - 2.1.6
5
+ - 2.2.2
@@ -1,7 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shopify_cli (1.0.0)
4
+ shopify_cli (1.0.1)
5
+ activemodel (>= 4.2.2)
6
+ activesupport (>= 4.2.2)
5
7
  pry (>= 0.9.12.6)
6
8
  shopify_api
7
9
  thor (~> 0.18.1)
@@ -9,29 +11,29 @@ PATH
9
11
  GEM
10
12
  remote: https://rubygems.org/
11
13
  specs:
12
- activemodel (4.0.13)
13
- activesupport (= 4.0.13)
14
- builder (~> 3.1.0)
14
+ activemodel (4.2.2)
15
+ activesupport (= 4.2.2)
16
+ builder (~> 3.1)
15
17
  activeresource (4.0.0)
16
18
  activemodel (~> 4.0)
17
19
  activesupport (~> 4.0)
18
20
  rails-observers (~> 0.1.1)
19
- activesupport (4.0.13)
20
- i18n (~> 0.6, >= 0.6.9)
21
- minitest (~> 4.2)
22
- multi_json (~> 1.3)
23
- thread_safe (~> 0.1)
24
- tzinfo (~> 0.3.37)
25
- builder (3.1.4)
21
+ activesupport (4.2.2)
22
+ i18n (~> 0.7)
23
+ json (~> 1.7, >= 1.7.7)
24
+ minitest (~> 5.1)
25
+ thread_safe (~> 0.3, >= 0.3.4)
26
+ tzinfo (~> 1.1)
27
+ builder (3.2.2)
26
28
  coderay (1.1.0)
27
29
  fakeweb (1.3.0)
28
30
  i18n (0.7.0)
31
+ json (1.8.3)
29
32
  metaclass (0.0.4)
30
33
  method_source (0.8.2)
31
- minitest (4.7.5)
34
+ minitest (5.7.0)
32
35
  mocha (1.1.0)
33
36
  metaclass (~> 0.0.1)
34
- multi_json (1.11.0)
35
37
  pry (0.10.1)
36
38
  coderay (~> 1.1.0)
37
39
  method_source (~> 0.8.1)
@@ -46,14 +48,18 @@ GEM
46
48
  slop (3.6.0)
47
49
  thor (0.18.1)
48
50
  thread_safe (0.3.5)
49
- tzinfo (0.3.43)
51
+ tzinfo (1.2.2)
52
+ thread_safe (~> 0.1)
50
53
 
51
54
  PLATFORMS
52
55
  ruby
53
56
 
54
57
  DEPENDENCIES
55
58
  fakeweb
56
- minitest (~> 4.0)
59
+ minitest (~> 5.0)
57
60
  mocha (>= 0.9.8)
58
61
  rake
59
62
  shopify_cli!
63
+
64
+ BUNDLED WITH
65
+ 1.10.2
data/README.md CHANGED
@@ -1,4 +1,6 @@
1
- = shopify_cli
1
+ #shopify_cli
2
+
3
+ [![Build Status](https://travis-ci.org/Shopify/shopify_cli.svg?branch=master)](https://travis-ci.org/Shopify/shopify_cli)
2
4
 
3
5
  This package also includes the ``shopify-cli`` executable to make it easy to open up an interactive console to use the API with a shop.
4
6
 
@@ -1,3 +1,3 @@
1
1
  module ShopifyCLI
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  $:.push File.expand_path("../lib", __FILE__)
3
2
  require 'shopify_cli'
4
3
 
@@ -24,12 +23,14 @@ Gem::Specification.new do |s|
24
23
  s.license = 'MIT'
25
24
 
26
25
  s.add_dependency("shopify_api")
26
+ s.add_dependency("activemodel", ">= 4.2.2")
27
+ s.add_dependency("activesupport", ">= 4.2.2")
27
28
  s.add_dependency("thor", "~> 0.18.1")
28
29
  s.add_dependency("pry", ">= 0.9.12.6")
29
30
 
30
31
  dev_dependencies = [['mocha', '>= 0.9.8'],
31
- ['fakeweb'],
32
- ['minitest', '~> 4.0'],
32
+ ['fakeweb'],
33
+ ['minitest', '~> 5.0'],
33
34
  ['rake']
34
35
  ]
35
36
 
@@ -1,8 +1,7 @@
1
1
  require 'test_helper'
2
2
  require 'shopify_cli/cli'
3
3
  require 'fileutils'
4
-
5
- class CliTest < Test::Unit::TestCase
4
+ class CliTest < Minitest::Test
6
5
  HOME_DIR = File.expand_path(File.dirname(__FILE__))
7
6
  TEST_HOME = File.join(HOME_DIR, 'files', 'home')
8
7
  CONFIG_DIR = File.join(TEST_HOME, '.shopify', 'shops')
@@ -10,17 +10,11 @@ require 'shopify_api'
10
10
 
11
11
  FakeWeb.allow_net_connect = false
12
12
 
13
- module Test
14
- module Unit
15
- class TestCase < MiniTest::Unit::TestCase
16
- end
17
- end
18
- end
19
13
  # setup ShopifyAPI with fake api_key and secret
20
14
 
21
- class Test::Unit::TestCase
15
+ class Minitest::Test
22
16
  def self.test(string, &block)
23
- define_method("test:#{string}", &block)
17
+ define_method("test_#{string}", &block)
24
18
  end
25
19
 
26
20
  def self.should(string, &block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-21 00:00:00.000000000 Z
11
+ date: 2015-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: shopify_api
@@ -24,6 +24,34 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: activemodel
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 4.2.2
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 4.2.2
41
+ - !ruby/object:Gem::Dependency
42
+ name: activesupport
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 4.2.2
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 4.2.2
27
55
  - !ruby/object:Gem::Dependency
28
56
  name: thor
29
57
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +114,14 @@ dependencies:
86
114
  requirements:
87
115
  - - "~>"
88
116
  - !ruby/object:Gem::Version
89
- version: '4.0'
117
+ version: '5.0'
90
118
  type: :development
91
119
  prerelease: false
92
120
  version_requirements: !ruby/object:Gem::Requirement
93
121
  requirements:
94
122
  - - "~>"
95
123
  - !ruby/object:Gem::Version
96
- version: '4.0'
124
+ version: '5.0'
97
125
  - !ruby/object:Gem::Dependency
98
126
  name: rake
99
127
  requirement: !ruby/object:Gem::Requirement
@@ -117,6 +145,7 @@ extra_rdoc_files:
117
145
  - LICENSE
118
146
  - README.md
119
147
  files:
148
+ - ".travis.yml"
120
149
  - Gemfile
121
150
  - Gemfile.lock
122
151
  - LICENSE