bridge_blueprint 0.0.01 → 0.0.02

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: a335bce024ef1829056001ce04b79c9b9f720b55
4
- data.tar.gz: d7fafab5ea5ed44fdbf480b5c02f24a95f72d3b5
3
+ metadata.gz: 2a919a7ae24b12e0f7a49f087803bbca748e15fa
4
+ data.tar.gz: 2b89ad3236fc9ac1ac62c25ba54d59c2d24fa9b2
5
5
  SHA512:
6
- metadata.gz: 45086fe9e2386f37c082168f820f9c4744fa720f6dbdff5b3b308725eae98817539445b920077218ca787d883f6766a6c076ff2a6db8bb3495ab9e71f213eef4
7
- data.tar.gz: 4a60a49104d9e8e2ce45369c30b5f5b222bfce51c5633df5ed4e195a2f8353c1d31d018b34a2ba02c963a33247d4c00f01eb9fceb2df465acf7cf3fd8b5932d1
6
+ metadata.gz: d749808a293264f44ebcabd6a55afd5afc656bffec3a627ddf3156d6a50e067b514dd3562bd66ff9a2e619239ee13c780e133f91927df5f4a231259cdc0c2d79
7
+ data.tar.gz: 57f057fded56144ab50797883c7f2cd108f2b33ef65b8fb6a457c5a95053907fa946188dfacfd35d5eb2a62ecc3a4ab348b6dd608ab77a73263e835a2de75592
data/Gemfile.lock CHANGED
@@ -4,11 +4,12 @@ PATH
4
4
  bridge_blueprint (0.0.01)
5
5
  bridge_api (~> 0.0.12)
6
6
  open_uri_redirections (~> 0.2.1)
7
+ rubyzip (~> 1.2.1)
7
8
 
8
9
  GEM
9
10
  remote: https://rubygems.org/
10
11
  specs:
11
- activesupport (5.0.2)
12
+ activesupport (5.1.0)
12
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
14
  i18n (~> 0.7)
14
15
  minitest (~> 5.1)
@@ -33,7 +34,7 @@ GEM
33
34
  activesupport (>= 3.0.0)
34
35
  faraday (~> 0.9.0)
35
36
  link_header (>= 0.0.7)
36
- hashdiff (0.3.2)
37
+ hashdiff (0.3.4)
37
38
  i18n (0.8.1)
38
39
  link_header (0.0.8)
39
40
  method_source (0.8.2)
@@ -57,7 +58,7 @@ GEM
57
58
  rspec-expectations (2.99.2)
58
59
  diff-lcs (>= 1.1.3, < 2.0)
59
60
  rspec-mocks (2.99.4)
60
- rubyzip (1.0.0)
61
+ rubyzip (1.2.1)
61
62
  safe_yaml (1.0.4)
62
63
  sinatra (1.4.8)
63
64
  rack (~> 1.5)
@@ -68,7 +69,7 @@ GEM
68
69
  tilt (1.4.1)
69
70
  tzinfo (1.2.3)
70
71
  thread_safe (~> 0.1)
71
- webmock (1.22.6)
72
+ webmock (2.3.2)
72
73
  addressable (>= 2.3.6)
73
74
  crack (>= 0.3.2)
74
75
  hashdiff
@@ -83,10 +84,9 @@ DEPENDENCIES
83
84
  pry (~> 0)
84
85
  rake (~> 0)
85
86
  rspec (~> 2.6)
86
- rubyzip (~> 1.0.0)
87
87
  sinatra (~> 1.0)
88
88
  tilt (~> 1.3, >= 1.3.4)
89
- webmock (~> 1.22.6)
89
+ webmock (~> 2.3.1)
90
90
 
91
91
  BUNDLED WITH
92
92
  1.14.6
@@ -20,14 +20,14 @@ Gem::Specification.new do |gem|
20
20
 
21
21
  gem.add_runtime_dependency 'bridge_api', '~> 0.0.12'
22
22
  gem.add_runtime_dependency 'open_uri_redirections', '~> 0.2.1'
23
+ gem.add_runtime_dependency 'rubyzip', '~> 1.2.1'
23
24
 
24
25
  gem.add_development_dependency 'rake', '~> 0'
25
26
  gem.add_development_dependency 'bundler', '~> 1.0', '>= 1.0.0'
26
27
  gem.add_development_dependency 'rspec', '~> 2.6'
27
- gem.add_development_dependency 'webmock', '~>1.22.6'
28
+ gem.add_development_dependency 'webmock', '~>2.3.1'
28
29
  gem.add_development_dependency 'pry', '~> 0'
29
30
  gem.add_development_dependency 'tilt', '>= 1.3.4', '~> 1.3'
30
31
  gem.add_development_dependency 'sinatra', '~> 1.0'
31
32
  gem.add_development_dependency 'byebug', '~> 8.2.2'
32
- gem.add_development_dependency 'rubyzip', '~> 1.0.0'
33
33
  end
@@ -1,4 +1,5 @@
1
1
  require 'csv'
2
+ require 'zip'
2
3
 
3
4
  module BridgeBlueprint
4
5
  class DataDump
@@ -1,3 +1,3 @@
1
1
  module BridgeBlueprint
2
- VERSION = '0.0.01' unless defined?(BridgeBlueprint::VERSION)
2
+ VERSION = '0.0.02' unless defined?(BridgeBlueprint::VERSION)
3
3
  end
@@ -31,7 +31,7 @@ describe BridgeBlueprint::DataDump do
31
31
  file.each_row('custom_fields') do |custom_field|
32
32
  custom_field_count += 1
33
33
  end
34
- expect(user_count).to(eq(8))
34
+ expect(user_count).to(eq(2))
35
35
  expect(custom_field_count).to(eq(5))
36
36
  end
37
37
  end
@@ -19,7 +19,7 @@ describe BridgeBlueprint::RemoteData do
19
19
  end
20
20
  end
21
21
 
22
- WebMock.stub_request(:get, "https://example.com/fake-file-url").
22
+ stub_request(:get, "https://example.com/fake-file-url").
23
23
  with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
24
24
  to_return(:status => 200, :body => lambda{|request| File.open(@zipfile_name)}, :headers => {})
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bridge_blueprint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.01
4
+ version: 0.0.02
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jay Shaffer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-27 00:00:00.000000000 Z
11
+ date: 2017-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bridge_api
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.2.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: rubyzip
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 1.2.1
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 1.2.1
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rake
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -92,14 +106,14 @@ dependencies:
92
106
  requirements:
93
107
  - - "~>"
94
108
  - !ruby/object:Gem::Version
95
- version: 1.22.6
109
+ version: 2.3.1
96
110
  type: :development
97
111
  prerelease: false
98
112
  version_requirements: !ruby/object:Gem::Requirement
99
113
  requirements:
100
114
  - - "~>"
101
115
  - !ruby/object:Gem::Version
102
- version: 1.22.6
116
+ version: 2.3.1
103
117
  - !ruby/object:Gem::Dependency
104
118
  name: pry
105
119
  requirement: !ruby/object:Gem::Requirement
@@ -162,20 +176,6 @@ dependencies:
162
176
  - - "~>"
163
177
  - !ruby/object:Gem::Version
164
178
  version: 8.2.2
165
- - !ruby/object:Gem::Dependency
166
- name: rubyzip
167
- requirement: !ruby/object:Gem::Requirement
168
- requirements:
169
- - - "~>"
170
- - !ruby/object:Gem::Version
171
- version: 1.0.0
172
- type: :development
173
- prerelease: false
174
- version_requirements: !ruby/object:Gem::Requirement
175
- requirements:
176
- - - "~>"
177
- - !ruby/object:Gem::Version
178
- version: 1.0.0
179
179
  description: Tools for consuming bridge data dumps
180
180
  email:
181
181
  - jshaffer@instructure.com