shopify-sinatra-app 0.2.0 → 0.3.0

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
  SHA1:
3
- metadata.gz: 72cdd06c5ebe172600536e29a0043fd0ddbf02b5
4
- data.tar.gz: 86216e56a91dcd10c944b1892e6cb63fb4aa08dc
3
+ metadata.gz: 8eb803c14a147fef3795d5597e87493010740082
4
+ data.tar.gz: d859264f939678dcfa015ed39c4eec2603285900
5
5
  SHA512:
6
- metadata.gz: 8c2501035a0d5668e4931384214c8f147f732abe352ce2cae22e6271ae270688364e320958aeef0251553a00ee7d9cbaa8fd130d01550bfa70b769c0056e0e2d
7
- data.tar.gz: 4ff8f7249009cd3fbe8d55d5ad6be65892a70cf2c725d85f48bd4c692db4b9e9bd68566c5e90b86d641833bec72a36c6190703952a31516b9eb71ba226a5ac89
6
+ metadata.gz: 08194ed5b3a72721ec0330d067d105733c7ef4ab7e699914d0ca402cce0dff7d38446691ae61717521d914735db2ecb7c57ad7b07b39abf1affd0e3d64014dc3
7
+ data.tar.gz: b76b46a294aaa30621da6edd4cb0022c1d5c58307e9b87a28696ce4c07d06adf42564fa0afb015f0883ee436639de66e0f64c30d89d403ce1edfb1dd9337f04d
@@ -3,7 +3,6 @@ language: ruby
3
3
  rvm:
4
4
  - 2.1.5
5
5
 
6
- gemfile:
7
- - Gemfile
6
+ gemfile: example/Gemfile
8
7
 
9
8
  script: "./test.sh"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shopify-sinatra-app (0.1.5)
4
+ shopify-sinatra-app (0.2.0)
5
5
  activesupport (~> 4.1.1)
6
6
  attr_encrypted (~> 1.3.2)
7
7
  omniauth-shopify-oauth2 (~> 1.1.11)
@@ -11,7 +11,6 @@ PATH
11
11
  sinatra (~> 1.4.6)
12
12
  sinatra-activerecord (~> 2.0.9)
13
13
  sinatra-redis (~> 0.3.0)
14
- sinatra-twitter-bootstrap (~> 2.3.3)
15
14
 
16
15
  GEM
17
16
  remote: https://rubygems.org/
@@ -59,24 +58,24 @@ GEM
59
58
  multi_json (~> 1.3)
60
59
  multi_xml (~> 0.5)
61
60
  rack (~> 1.2)
62
- omniauth (1.2.2)
61
+ omniauth (1.3.1)
63
62
  hashie (>= 1.2, < 4)
64
- rack (~> 1.0)
63
+ rack (>= 1.0, < 3)
65
64
  omniauth-oauth2 (1.4.0)
66
65
  oauth2 (~> 1.0)
67
66
  omniauth (~> 1.2)
68
67
  omniauth-shopify-oauth2 (1.1.11)
69
68
  omniauth-oauth2 (~> 1.2)
70
- rack (1.5.2)
69
+ rack (1.6.4)
71
70
  rack-flash3 (1.0.5)
72
71
  rack
73
72
  rack-protection (1.5.3)
74
73
  rack
75
- rack-test (0.6.2)
74
+ rack-test (0.6.3)
76
75
  rack (>= 1.0)
77
76
  rails-observers (0.1.2)
78
77
  activemodel (~> 4.0)
79
- rake (10.3.2)
78
+ rake (10.4.2)
80
79
  redis (3.2.2)
81
80
  redis-namespace (1.5.2)
82
81
  redis (~> 3.0, >= 3.0.4)
@@ -99,10 +98,9 @@ GEM
99
98
  sinatra-redis (0.3.0)
100
99
  redis
101
100
  sinatra (>= 0.9.4)
102
- sinatra-twitter-bootstrap (2.3.4)
103
101
  sqlite3 (1.3.11)
104
102
  thread_safe (0.3.5)
105
- tilt (2.0.1)
103
+ tilt (2.0.2)
106
104
  tzinfo (1.2.2)
107
105
  thread_safe (~> 0.1)
108
106
  vegas (0.1.11)
@@ -121,4 +119,4 @@ DEPENDENCIES
121
119
  sqlite3
122
120
 
123
121
  BUNDLED WITH
124
- 1.10.6
122
+ 1.11.2
@@ -1,9 +1,8 @@
1
1
  source 'https://rubygems.org'
2
- ruby "2.1.5"
2
+ ruby "2.2.2"
3
3
 
4
- gem 'shopify-sinatra-app', github: 'kevinhughes27/shopify-sinatra-app', branch: 'master'
4
+ gem 'shopify-sinatra-app', '~> 0.2.0'
5
5
  gem 'sinatra-activerecord'
6
- gem 'sinatra-twitter-bootstrap', require: 'sinatra/twitter-bootstrap'
7
6
  gem 'rack-flash3', require: 'rack-flash'
8
7
 
9
8
  group :production do
@@ -1,20 +1,3 @@
1
- GIT
2
- remote: git://github.com/kevinhughes27/shopify-sinatra-app.git
3
- revision: fbc7e6e51ad48cf68fa4434ab34d80ec59e90b52
4
- branch: master
5
- specs:
6
- shopify-sinatra-app (0.2.0)
7
- activesupport (~> 4.1.1)
8
- attr_encrypted (~> 1.3.2)
9
- omniauth-shopify-oauth2 (~> 1.1.11)
10
- rack-flash3 (~> 1.0.5)
11
- resque (~> 1.25.2)
12
- shopify_api (~> 4.0.2)
13
- sinatra (~> 1.4.6)
14
- sinatra-activerecord (~> 2.0.9)
15
- sinatra-redis (~> 0.3.0)
16
- sinatra-twitter-bootstrap (~> 2.3.3)
17
-
18
1
  GEM
19
2
  remote: https://rubygems.org/
20
3
  specs:
@@ -39,19 +22,14 @@ GEM
39
22
  attr_encrypted (1.3.4)
40
23
  encryptor (>= 1.3.0)
41
24
  builder (3.2.2)
42
- byebug (3.1.2)
43
- columnize (~> 0.8)
44
- debugger-linecache (~> 1.2)
45
- columnize (0.8.9)
46
- debugger-linecache (1.2.0)
47
- dotenv (0.7.0)
25
+ byebug (8.2.1)
26
+ dotenv (2.0.2)
48
27
  encryptor (1.3.0)
49
28
  fakeweb (1.3.0)
50
29
  faraday (0.9.2)
51
30
  multipart-post (>= 1.2, < 3)
52
- foreman (0.64.0)
53
- dotenv (~> 0.7.0)
54
- thor (>= 0.13.6)
31
+ foreman (0.78.0)
32
+ thor (~> 0.19.1)
55
33
  hashie (3.4.3)
56
34
  i18n (0.7.0)
57
35
  json (1.8.3)
@@ -78,7 +56,7 @@ GEM
78
56
  omniauth (~> 1.2)
79
57
  omniauth-shopify-oauth2 (1.1.11)
80
58
  omniauth-oauth2 (~> 1.2)
81
- pg (0.17.1)
59
+ pg (0.18.4)
82
60
  rack (1.6.4)
83
61
  rack-flash3 (1.0.5)
84
62
  rack
@@ -88,7 +66,7 @@ GEM
88
66
  rack (>= 1.0)
89
67
  rails-observers (0.1.2)
90
68
  activemodel (~> 4.0)
91
- rake (10.3.2)
69
+ rake (10.4.2)
92
70
  redis (3.2.2)
93
71
  redis-namespace (1.5.2)
94
72
  redis (~> 3.0, >= 3.0.4)
@@ -98,6 +76,17 @@ GEM
98
76
  redis-namespace (~> 1.3)
99
77
  sinatra (>= 0.9.2)
100
78
  vegas (~> 0.1.2)
79
+ shopify-sinatra-app (0.2.0)
80
+ activesupport (~> 4.1.1)
81
+ attr_encrypted (~> 1.3.2)
82
+ omniauth-shopify-oauth2 (~> 1.1.11)
83
+ rack-flash3 (~> 1.0.5)
84
+ resque (~> 1.25.2)
85
+ shopify_api (~> 4.0.2)
86
+ sinatra (~> 1.4.6)
87
+ sinatra-activerecord (~> 2.0.9)
88
+ sinatra-redis (~> 0.3.0)
89
+ sinatra-twitter-bootstrap (~> 2.3.3)
101
90
  shopify_api (4.0.7)
102
91
  activeresource
103
92
  rack
@@ -112,7 +101,7 @@ GEM
112
101
  redis
113
102
  sinatra (>= 0.9.4)
114
103
  sinatra-twitter-bootstrap (2.3.4)
115
- sqlite3 (1.3.9)
104
+ sqlite3 (1.3.11)
116
105
  thor (0.19.1)
117
106
  thread_safe (0.3.5)
118
107
  tilt (2.0.1)
@@ -135,10 +124,9 @@ DEPENDENCIES
135
124
  rack-flash3
136
125
  rack-test
137
126
  rake
138
- shopify-sinatra-app!
127
+ shopify-sinatra-app (~> 0.2.0)
139
128
  sinatra-activerecord
140
- sinatra-twitter-bootstrap
141
129
  sqlite3
142
130
 
143
131
  BUNDLED WITH
144
- 1.10.6
132
+ 1.11.2
@@ -1,20 +1,20 @@
1
- <%= bootstrap_assets %>
1
+ <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" integrity="sha256-7s5uDGW3AHqw6xtJmNNtr+OBRJUlgkNJEo78P4b0yRw= sha512-nNo+yCHEyn0smMxSswnf/OnX6/KwJuZTlNZBjauKhTK0c+zT+q5JOCx0UFhXQ6rJR9jg6Es8gPuD2uZcYDLqSw==" crossorigin="anonymous">
2
2
 
3
3
  <style>
4
- body {
5
- background: #fff url(<%="#{base_url}/legend.gif"%>) no-repeat fixed right 130px;
6
- }
4
+ body {
5
+ background: #fff url(<%="#{base_url}/legend.gif"%>) no-repeat fixed right 130px;
6
+ }
7
7
 
8
- .form-large input {
9
- font-size: 18px;
10
- padding: 8px;
11
- height: auto;
12
- line-height: normal;
13
- }
8
+ .form-large input {
9
+ font-size: 18px;
10
+ padding: 8px;
11
+ height: auto;
12
+ line-height: normal;
13
+ }
14
14
 
15
- .form-wide {
16
- width: 480px;
17
- }
15
+ .form-wide {
16
+ width: 480px;
17
+ }
18
18
  </style>
19
19
 
20
20
  <body>
@@ -9,8 +9,7 @@
9
9
  debug: true
10
10
  });
11
11
  </script>
12
-
13
- <%= bootstrap_assets %>
12
+ <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" integrity="sha256-7s5uDGW3AHqw6xtJmNNtr+OBRJUlgkNJEo78P4b0yRw= sha512-nNo+yCHEyn0smMxSswnf/OnX6/KwJuZTlNZBjauKhTK0c+zT+q5JOCx0UFhXQ6rJR9jg6Es8gPuD2uZcYDLqSw==" crossorigin="anonymous">
14
13
  </head>
15
14
 
16
15
  <body>
@@ -1,7 +1,6 @@
1
1
  require 'sinatra/base'
2
2
  require 'sinatra/redis'
3
3
  require 'sinatra/activerecord'
4
- require 'sinatra/twitter-bootstrap'
5
4
 
6
5
  require 'resque'
7
6
  require 'rack-flash'
@@ -144,7 +143,6 @@ module Sinatra
144
143
  def self.registered(app)
145
144
  app.helpers Shopify::Methods
146
145
  app.register Sinatra::ActiveRecordExtension
147
- app.register Sinatra::Twitter::Bootstrap::Assets
148
146
 
149
147
  app.set :database_file, File.expand_path('config/database.yml')
150
148
  app.set :views, File.expand_path('views')
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'shopify-sinatra-app'
3
- s.version = '0.2.0'
3
+ s.version = '0.3.0'
4
4
 
5
5
  s.summary = 'A classy shopify app'
6
6
  s.description = 'A Sinatra extension for building Shopify Apps. Akin to the shopify_app gem but for Sinatra'
@@ -16,7 +16,6 @@ Gem::Specification.new do |s|
16
16
  s.add_runtime_dependency 'sinatra', '~> 1.4.6'
17
17
  s.add_runtime_dependency 'sinatra-redis', '~> 0.3.0'
18
18
  s.add_runtime_dependency 'sinatra-activerecord', '~> 2.0.9'
19
- s.add_runtime_dependency 'sinatra-twitter-bootstrap', '~> 2.3.3'
20
19
  s.add_runtime_dependency 'rack-flash3', '~> 1.0.5'
21
20
  s.add_runtime_dependency 'activesupport', '~> 4.1.1'
22
21
  s.add_runtime_dependency 'attr_encrypted', '~> 1.3.2'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify-sinatra-app
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Hughes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-16 00:00:00.000000000 Z
11
+ date: 2016-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 2.0.9
55
- - !ruby/object:Gem::Dependency
56
- name: sinatra-twitter-bootstrap
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: 2.3.3
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: 2.3.3
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: rack-flash3
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -296,7 +282,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
296
282
  version: '0'
297
283
  requirements: []
298
284
  rubyforge_project:
299
- rubygems_version: 2.2.2
285
+ rubygems_version: 2.4.5
300
286
  signing_key:
301
287
  specification_version: 4
302
288
  summary: A classy shopify app