scenic_sqlserver_adapter 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: c57ef647fc7f3a65c5e756389ad90b5c2e2c6671
4
- data.tar.gz: d1a6481067480d51589969b90d38955e9b6e5578
3
+ metadata.gz: 6f1c5e77699d543d8f107e42e79dc5705586cc83
4
+ data.tar.gz: 63c4c60c5c8a5ecae5253f92b449356069673c3c
5
5
  SHA512:
6
- metadata.gz: 5e531f99ba267b41687587c1b52154d94f82847bebe1753c72986d9689d4b7e674ac23f056a445d611128b50dae2bb29810bc24e386847e20398071980f1ee90
7
- data.tar.gz: f0be7d662b7906dd05b116a8a6976d71e7f5a02be6c72ad59710979c425151adc65290215882e8ec1cd6f683366e534dffa384e0c2303f808dbb4aaa322fd1ec
6
+ metadata.gz: 21a1a069ffdca84955a1f7b80b27085e4c6ceb1cce4a05f6edc4eedc3614e6f8e9637449c41248b5923018d5a86882eeb4a9ad6281ca8fd4157927a8c9988cc6
7
+ data.tar.gz: 9bb4a52b676d44051e9834fc47df3b648e1dd54af355e21bd736311bc23a1108f07d38ce876a6a2d29fc56a7918a8217e3c6a6ea576977362ecbd6ef3488127e
@@ -0,0 +1,49 @@
1
+ # Ruby CircleCI 2.0 configuration file
2
+ #
3
+ # Check https://circleci.com/docs/2.0/language-ruby/ for more details
4
+ #
5
+ version: 2
6
+ jobs:
7
+ build:
8
+ docker:
9
+ - image: circleci/ruby:2.4-node
10
+
11
+ steps:
12
+ - checkout
13
+
14
+ # Download and cache dependencies
15
+ - restore_cache:
16
+ keys:
17
+ - v1-dependencies-{{ checksum "Gemfile.lock" }}
18
+ # fallback to using the latest cache if no exact match is found
19
+ - v1-dependencies-
20
+
21
+ - run:
22
+ name: install dependencies
23
+ command: |
24
+ bundle install --jobs=4 --retry=3 --path vendor/bundle
25
+
26
+ - save_cache:
27
+ paths:
28
+ - ./vendor/bundle
29
+ key: v1-dependencies-{{ checksum "Gemfile.lock" }}
30
+
31
+ # run tests!
32
+ - run:
33
+ name: run tests
34
+ command: |
35
+ mkdir /tmp/test-results
36
+ TEST_FILES="$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)"
37
+
38
+ bundle exec rspec --format progress \
39
+ --format RspecJunitFormatter \
40
+ --out /tmp/test-results/rspec.xml \
41
+ --format progress \
42
+ ${TEST_FILES}
43
+
44
+ # collect reports
45
+ - store_test_results:
46
+ path: /tmp/test-results
47
+ - store_artifacts:
48
+ path: /tmp/test-results
49
+ destination: test-results
data/.gitignore CHANGED
@@ -6,6 +6,7 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ *.gem
9
10
 
10
11
  # rspec failure tracking
11
12
  .rspec_status
data/Gemfile.lock CHANGED
@@ -2,7 +2,7 @@ PATH
2
2
  remote: .
3
3
  specs:
4
4
  scenic_sqlserver_adapter (0.1.0)
5
- activerecord (>= 4.0.0)
5
+ activerecord (>= 4.0)
6
6
  scenic (~> 1.4)
7
7
 
8
8
  GEM
@@ -20,7 +20,7 @@ module Scenic
20
20
  end
21
21
 
22
22
  def drop_view(name)
23
- execute "DROP VIEW IF EXISTS #{quote_table_name(name)};"
23
+ execute "IF OBJECT_ID('#{quote_table_name(name)}') IS NOT NULL DROP VIEW #{quote_table_name(name)};"
24
24
  end
25
25
 
26
26
  class NotSupportedError < StandardError
@@ -1,3 +1,3 @@
1
1
  module ScenicSqlserverAdapter
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -32,4 +32,5 @@ Gem::Specification.new do |spec|
32
32
  spec.add_development_dependency "bundler", "~> 1.16"
33
33
  spec.add_development_dependency "rake", "~> 10.0"
34
34
  spec.add_development_dependency "rspec", "~> 3.0"
35
+ spec.add_development_dependency 'rspec_junit_formatter'
35
36
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scenic_sqlserver_adapter
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
  - Ben Forrest
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-22 00:00:00.000000000 Z
11
+ date: 2018-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: scenic
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '3.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec_junit_formatter
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
83
97
  description:
84
98
  email:
85
99
  - ben@clickmechanic.com
@@ -87,6 +101,7 @@ executables: []
87
101
  extensions: []
88
102
  extra_rdoc_files: []
89
103
  files:
104
+ - ".circleci/config.yml"
90
105
  - ".gitignore"
91
106
  - ".rspec"
92
107
  - ".travis.yml"