dubai 0.1.0 → 0.1.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: f8098b50c32ada7d33d4b1b135386dc907b80e1b
4
- data.tar.gz: 2ba44aee639724055359acb068bfe39c96e24469
3
+ metadata.gz: 0c5bdc200101db47c3541c991aad639e892413f4
4
+ data.tar.gz: 88d7cd18f2240a4caf29e42000d06befc87aa634
5
5
  SHA512:
6
- metadata.gz: f3f15cbc18e7fced062db005c4418b9eb7c7385ab4ea0f7f6486c7d69ae248a01c229e77a1a43c98014f3f978f59878b28ae7da4daaaba11a9ad6056be837a77
7
- data.tar.gz: dafac00dc23d7dd2475a7ae0efff9897e3a49e6b964cc5707dca935d8959ab035a8c9a0eae565718a442cef8a3d69f5eebee1102322836faccf17e316c0fbd21
6
+ metadata.gz: f9c85cca38e21758123c5ae00d8325df699eec6735554bfa844b6766b7da2b7eeba9bbb49fa948163beea0bc5c2dfa50e01229a65d99a5d3158ba0aadd28c820
7
+ data.tar.gz: 154e17fb83054a27955abf8a5c625cfb10819bfa3f6ae8f59b40c944f7015201c7d1d87f586cc2ec5fe55fec87ded8376ae9cf0fb0b1684d6450692c8db2e65d
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013 Mattt Thompson (http://mattt.me/)
1
+ Copyright (c) 2013–2015 Mattt Thompson (http://mattt.me/)
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -53,13 +53,9 @@ Specify a `-H` / `--host` option to bind the server to a particular host. Bindin
53
53
 
54
54
  $ pk serve Example.pass -H 0.0.0.0
55
55
 
56
- ## Contact
56
+ ## Creator
57
57
 
58
- Mattt Thompson
59
-
60
- - http://github.com/mattt
61
- - http://twitter.com/mattt
62
- - m@mattt.me
58
+ Mattt Thompson ([@mattt](https://twitter.com/mattt))
63
59
 
64
60
  ## License
65
61
 
data/Rakefile CHANGED
@@ -1,9 +1,6 @@
1
- require "bundler/setup"
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
2
3
 
3
- gemspec = eval(File.read("dubai.gemspec"))
4
+ RSpec::Core::RakeTask.new(:spec)
4
5
 
5
- task :build => "#{gemspec.full_name}.gem"
6
-
7
- file "#{gemspec.full_name}.gem" => gemspec.files + ["dubai.gemspec"] do
8
- system "gem build dubai.gemspec"
9
- end
6
+ task default: :spec
@@ -1,6 +1,6 @@
1
1
  command :serve do |c|
2
2
  c.syntax = 'pk serve [PASSNAME]'
3
- c.summary = 'Creates a .pkpass archive'
3
+ c.summary = 'Serves a .pkpass archive from a webserver'
4
4
  c.description = ''
5
5
 
6
6
  c.example 'description', 'pk archive mypass'
@@ -8,29 +8,29 @@ module Dubai
8
8
  module Passbook
9
9
  WWDR_CERTIFICATE = <<-EOF
10
10
  -----BEGIN CERTIFICATE-----
11
- MIIEIzCCAwugAwIBAgIBGTANBgkqhkiG9w0BAQUFADBiMQswCQYDVQQGEwJVUzET
12
- MBEGA1UEChMKQXBwbGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlmaWNhdGlv
13
- biBBdXRob3JpdHkxFjAUBgNVBAMTDUFwcGxlIFJvb3QgQ0EwHhcNMDgwMjE0MTg1
14
- NjM1WhcNMTYwMjE0MTg1NjM1WjCBljELMAkGA1UEBhMCVVMxEzARBgNVBAoMCkFw
15
- cGxlIEluYy4xLDAqBgNVBAsMI0FwcGxlIFdvcmxkd2lkZSBEZXZlbG9wZXIgUmVs
16
- YXRpb25zMUQwQgYDVQQDDDtBcHBsZSBXb3JsZHdpZGUgRGV2ZWxvcGVyIFJlbGF0
17
- aW9ucyBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTCCASIwDQYJKoZIhvcNAQEBBQAD
18
- ggEPADCCAQoCggEBAMo4VKbLVqrIJDlI6Yzu7F+4fyaRvDRTes58Y4Bhd2RepQcj
19
- tjn+U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UAA4IBAQBPz+9Zviz1smwv
28
+ j+4ThzLoBTWobot9yWkMudkXvHcs1Gfi/ZptOllc34MBvbKuKmFysa/Nw0Uwj6OD
29
+ Dc4dR7Txk4qjdJukw5hyhzs+r0ULklS5MruQGFNrCk4QttkdUGwhgAqJTleMa1s8
30
+ Pab93vcNIx0LSiaHP7qRkkykGRIZbVf1eliHe2iK5IaMSuviSRSqpd1VAKmuu0sw
31
+ ruGgsbwpgOYJd+W+NKIByn/c4grmO7i77LpilfMFY0GCzQ87HUyVpNur+cmV6U/k
32
+ TecmmYHpvPm0KdIBembhLoz2IYrF+Hjhga6/05Cdqa3zr/04GpZnMBxRpVzscYqC
33
+ tGwPDBUf
34
34
  -----END CERTIFICATE-----
35
35
  EOF
36
36
 
@@ -1,3 +1,3 @@
1
1
  module Dubai
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,125 +1,125 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dubai
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
  - Mattt Thompson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-14 00:00:00.000000000 Z
11
+ date: 2017-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: commander
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '4.1'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '4.1'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: terminal-table
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.4'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.4'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sinatra
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.3'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.3'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubyzip
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '1.0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rake
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: simplecov
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  description: Passbook pass generation and preview.
@@ -129,30 +129,26 @@ executables:
129
129
  extensions: []
130
130
  extra_rdoc_files: []
131
131
  files:
132
- - ./dubai-0.0.4.gem
133
- - ./dubai-0.0.5.gem
134
- - ./dubai-0.0.6.gem
135
- - ./dubai.gemspec
136
- - ./Gemfile
137
- - ./Gemfile.lock
138
- - ./lib/dubai/commands/build.rb
139
- - ./lib/dubai/commands/generate.rb
140
- - ./lib/dubai/commands/serve.rb
141
- - ./lib/dubai/commands.rb
142
- - ./lib/dubai/pass.rb
143
- - ./lib/dubai/server.rb
144
- - ./lib/dubai/templates/boarding-pass.json
145
- - ./lib/dubai/templates/coupon.json
146
- - ./lib/dubai/templates/event-ticket.json
147
- - ./lib/dubai/templates/generic.json
148
- - ./lib/dubai/templates/store-card.json
149
- - ./lib/dubai/version.rb
150
- - ./lib/dubai.rb
151
- - ./LICENSE
152
- - ./Rakefile
153
- - ./README.md
154
- - spec/spec_helper.rb
132
+ - "./Gemfile"
133
+ - "./LICENSE"
134
+ - "./README.md"
135
+ - "./Rakefile"
136
+ - "./dubai.gemspec"
137
+ - "./lib/dubai.rb"
138
+ - "./lib/dubai/commands.rb"
139
+ - "./lib/dubai/commands/build.rb"
140
+ - "./lib/dubai/commands/generate.rb"
141
+ - "./lib/dubai/commands/serve.rb"
142
+ - "./lib/dubai/pass.rb"
143
+ - "./lib/dubai/server.rb"
144
+ - "./lib/dubai/templates/boarding-pass.json"
145
+ - "./lib/dubai/templates/coupon.json"
146
+ - "./lib/dubai/templates/event-ticket.json"
147
+ - "./lib/dubai/templates/generic.json"
148
+ - "./lib/dubai/templates/store-card.json"
149
+ - "./lib/dubai/version.rb"
155
150
  - bin/pk
151
+ - spec/spec_helper.rb
156
152
  homepage: http://nomad-cli.com
157
153
  licenses:
158
154
  - MIT
@@ -163,17 +159,17 @@ require_paths:
163
159
  - lib
164
160
  required_ruby_version: !ruby/object:Gem::Requirement
165
161
  requirements:
166
- - - '>='
162
+ - - ">="
167
163
  - !ruby/object:Gem::Version
168
164
  version: '0'
169
165
  required_rubygems_version: !ruby/object:Gem::Requirement
170
166
  requirements:
171
- - - '>='
167
+ - - ">="
172
168
  - !ruby/object:Gem::Version
173
169
  version: '0'
174
170
  requirements: []
175
171
  rubyforge_project:
176
- rubygems_version: 2.1.11
172
+ rubygems_version: 2.6.8
177
173
  signing_key:
178
174
  specification_version: 4
179
175
  summary: Dubai
@@ -1,53 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- dubai (0.1.0)
5
- commander (~> 4.1)
6
- json
7
- rubyzip (~> 1.0)
8
- sinatra (~> 1.3)
9
- terminal-table (~> 1.4)
10
-
11
- GEM
12
- remote: https://rubygems.org/
13
- specs:
14
- commander (4.2.0)
15
- highline (~> 1.6.11)
16
- diff-lcs (1.2.5)
17
- docile (1.1.3)
18
- highline (1.6.21)
19
- json (1.8.1)
20
- multi_json (1.9.2)
21
- rack (1.5.2)
22
- rack-protection (1.5.3)
23
- rack
24
- rake (10.2.1)
25
- rspec (2.14.1)
26
- rspec-core (~> 2.14.0)
27
- rspec-expectations (~> 2.14.0)
28
- rspec-mocks (~> 2.14.0)
29
- rspec-core (2.14.8)
30
- rspec-expectations (2.14.5)
31
- diff-lcs (>= 1.1.3, < 2.0)
32
- rspec-mocks (2.14.6)
33
- rubyzip (1.1.6)
34
- simplecov (0.8.2)
35
- docile (~> 1.1.0)
36
- multi_json
37
- simplecov-html (~> 0.8.0)
38
- simplecov-html (0.8.0)
39
- sinatra (1.4.5)
40
- rack (~> 1.4)
41
- rack-protection (~> 1.4)
42
- tilt (~> 1.3, >= 1.3.4)
43
- terminal-table (1.4.5)
44
- tilt (1.4.1)
45
-
46
- PLATFORMS
47
- ruby
48
-
49
- DEPENDENCIES
50
- dubai!
51
- rake
52
- rspec
53
- simplecov
Binary file
Binary file
Binary file