solidus_print_invoice 1.0.1 → 1.0.2

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: b0efac47fbe5deb8b20609cdf6a748a17a77dd59
4
- data.tar.gz: 5cf6bdb63c870299e86e3bab44c33d134999397a
3
+ metadata.gz: ee3c934b3dcc7841a2575feb40f251ac800461ab
4
+ data.tar.gz: be3e9d0778a37d7bd4371d194506b41a5e87a5e6
5
5
  SHA512:
6
- metadata.gz: 2e0031aaf90b0e2617c86de1f9d09506ac2d4a5611137295e27932691eabc95d7e02398460db084a17bed032463f879b1db452065eb74820671fe1991fb7a986
7
- data.tar.gz: 79ac861977a962db6f7bc76f8ba239eea7363de41a4e940477443784d574b992478689c9f11c04615a2d1781618ca68da9a23d20e96cf8b74d4d2b38e04a5060
6
+ metadata.gz: b0cd32aba8d9ec95458f58789980a5f7965fe21d340f0c77e4157785771395d216e0b1624126a1f31097eb9c9b61532e114d8d1dfdd0255654c02a49ebf0268d
7
+ data.tar.gz: ebbb9f3f9b925a7c75d2a36ed700c2c3c9c105c20f3c4b74a0b7cc2b13c098946098b35f1fc2c41705e90f68838b5f2ece89352d39c2d760fe846adcdcf4234f
@@ -1,11 +1,21 @@
1
1
  sudo: false
2
+ cache: bundler
2
3
  language: ruby
3
4
  rvm:
4
- - 2.1.8
5
+ - 2.3.1
5
6
  env:
6
7
  matrix:
7
- - SOLIDUS_BRANCH=v1.0
8
- - SOLIDUS_BRANCH=v1.1
9
- - SOLIDUS_BRANCH=v1.2
10
- - SOLIDUS_BRANCH=v1.3
11
- - SOLIDUS_BRANCH=master
8
+ - SOLIDUS_BRANCH=v1.0 DB=postgres
9
+ - SOLIDUS_BRANCH=v1.1 DB=postgres
10
+ - SOLIDUS_BRANCH=v1.2 DB=postgres
11
+ - SOLIDUS_BRANCH=v1.3 DB=postgres
12
+ - SOLIDUS_BRANCH=v1.4 DB=postgres
13
+ - SOLIDUS_BRANCH=v2.0 DB=postgres
14
+ - SOLIDUS_BRANCH=master DB=postgres
15
+ - SOLIDUS_BRANCH=v1.0 DB=mysql
16
+ - SOLIDUS_BRANCH=v1.1 DB=mysql
17
+ - SOLIDUS_BRANCH=v1.2 DB=mysql
18
+ - SOLIDUS_BRANCH=v1.3 DB=mysql
19
+ - SOLIDUS_BRANCH=v1.4 DB=mysql
20
+ - SOLIDUS_BRANCH=v2.0 DB=mysql
21
+ - SOLIDUS_BRANCH=master DB=mysql
data/Gemfile CHANGED
@@ -1,7 +1,18 @@
1
- source 'https://rubygems.org'
1
+ source "https://rubygems.org"
2
2
 
3
- branch = ENV.fetch("SOLIDUS_BRANCH", "master")
4
- gem 'solidus', github: "solidusio/solidus", branch: branch
5
- gem 'solidus_auth_devise'
3
+ branch = ENV.fetch('SOLIDUS_BRANCH', 'master')
4
+ gem "solidus", github: "solidusio/solidus", branch: branch
5
+ gem "solidus_auth_devise"
6
+
7
+ if branch == 'master' || branch >= "v2.0"
8
+ gem "rails-controller-testing", group: :test
9
+ end
10
+
11
+ gem 'pg'
12
+ gem 'mysql2'
13
+
14
+ group :development, :test do
15
+ gem "pry-rails"
16
+ end
6
17
 
7
18
  gemspec
@@ -1,5 +1,5 @@
1
1
  module Spree
2
2
  module PrintInvoice
3
- VERSION = "1.0.1".freeze
3
+ VERSION = "1.0.2".freeze
4
4
  end
5
5
  end
@@ -17,16 +17,16 @@ Gem::Specification.new do |s|
17
17
  s.require_path = 'lib'
18
18
  s.authors = 'Spree & Solidus Community'
19
19
 
20
- s.add_dependency('prawn', '1.0.0')
21
- s.add_dependency('solidus', '~> 1.0')
20
+ s.add_dependency 'prawn', '1.0.0'
21
+ s.add_dependency 'solidus', ['>= 1.0', '< 3']
22
22
  s.add_dependency 'deface'
23
23
 
24
24
  s.add_development_dependency 'rspec-rails', '~> 3.4'
25
25
  s.add_development_dependency 'capybara'
26
+ s.add_development_dependency 'capybara-screenshot'
26
27
  s.add_development_dependency 'selenium-webdriver'
27
28
  s.add_development_dependency 'poltergeist'
28
29
  s.add_development_dependency 'database_cleaner'
29
- s.add_development_dependency 'pry'
30
30
  s.add_development_dependency 'factory_girl_rails'
31
31
  s.add_development_dependency 'sqlite3'
32
32
  end
@@ -12,7 +12,6 @@ RSpec.feature "Print Invoice Settings", js: true do
12
12
  click_button "Login"
13
13
 
14
14
  click_link "Settings"
15
- click_link "General"
16
15
 
17
16
  select "Times Roman", from: "print_invoice_font_face"
18
17
  fill_in "print_invoice_next_number", with: "150"
@@ -4,6 +4,7 @@ require File.expand_path("../dummy/config/environment.rb", __FILE__)
4
4
 
5
5
  require "rspec/rails"
6
6
  require 'capybara/poltergeist'
7
+ require 'capybara-screenshot/rspec'
7
8
  require 'database_cleaner'
8
9
  require 'factory_girl_rails'
9
10
  require 'ffaker'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_print_invoice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Spree & Solidus Community
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-24 00:00:00.000000000 Z
11
+ date: 2016-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prawn
@@ -28,16 +28,22 @@ dependencies:
28
28
  name: solidus
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.0'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '3'
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - "~>"
41
+ - - ">="
39
42
  - !ruby/object:Gem::Version
40
43
  version: '1.0'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '3'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: deface
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +87,7 @@ dependencies:
81
87
  - !ruby/object:Gem::Version
82
88
  version: '0'
83
89
  - !ruby/object:Gem::Dependency
84
- name: selenium-webdriver
90
+ name: capybara-screenshot
85
91
  requirement: !ruby/object:Gem::Requirement
86
92
  requirements:
87
93
  - - ">="
@@ -95,7 +101,7 @@ dependencies:
95
101
  - !ruby/object:Gem::Version
96
102
  version: '0'
97
103
  - !ruby/object:Gem::Dependency
98
- name: poltergeist
104
+ name: selenium-webdriver
99
105
  requirement: !ruby/object:Gem::Requirement
100
106
  requirements:
101
107
  - - ">="
@@ -109,7 +115,7 @@ dependencies:
109
115
  - !ruby/object:Gem::Version
110
116
  version: '0'
111
117
  - !ruby/object:Gem::Dependency
112
- name: database_cleaner
118
+ name: poltergeist
113
119
  requirement: !ruby/object:Gem::Requirement
114
120
  requirements:
115
121
  - - ">="
@@ -123,7 +129,7 @@ dependencies:
123
129
  - !ruby/object:Gem::Version
124
130
  version: '0'
125
131
  - !ruby/object:Gem::Dependency
126
- name: pry
132
+ name: database_cleaner
127
133
  requirement: !ruby/object:Gem::Requirement
128
134
  requirements:
129
135
  - - ">="