snow_sync 1.7.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +46 -9
  3. data/lib/snow_sync/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46228ec0d0ab64919b8db11489a797e923a4c493
4
- data.tar.gz: 5e1c2a1a139d3be0b5950e4039b9ee3b0d71eb1d
3
+ metadata.gz: f8cc4574efc2b297fb679783ab7cc35759fa1ef3
4
+ data.tar.gz: 9bfa3aa40d3a34494339f6ff36b0e4c1c7f55da3
5
5
  SHA512:
6
- metadata.gz: 561d2e71609539c72987cc67b40a0a1b8b78fe6f20e005559626afc809810e7558946fe64b18d50cec5910b62fbe084734d50fdf2d57bfd30e4115fb90c980e9
7
- data.tar.gz: f8ad697ab1542095e1521b29afaf41f09af44a4aa5d9db97f6a2f9507d02bd669a84ed5136f6dbd1c0e42c436e0ec7fdfc111c12814e2a905de90385b21de0a2
6
+ metadata.gz: ea7199a441ef329944f482c76b3cb7581e5226edca667cd55951ac65e2bedfad7927e9600a0f22402f093a6803963a64a5fa55385027b82059286945d99ea6f7
7
+ data.tar.gz: a44f6f7efa5e3186d33e57408fa32497f56569c823da0625569efe15b411ef15b98793b6791a8a5d1c60067dc71216b171b4d2c5d9524fd4efd9c410adbdd4bd
data/README.md CHANGED
@@ -6,25 +6,62 @@ SnowSync syncronizes configured fields (scripts) for a ServiceNow instance local
6
6
 
7
7
  ## Installation
8
8
 
9
- Add this line to your application's Gemfile:
9
+ ```ruby
10
+ gem install --install-dir <path> snow_sync
11
+ ```
12
+
13
+ ## Setup & Usage
10
14
 
11
15
  ```ruby
12
- gem 'snow_sync'
16
+ gem install bundler
13
17
  ```
14
18
 
15
- And then execute:
19
+ ```bash
20
+ cd <path>/gems/snow_sync-<version>
21
+ touch Gemfile
22
+ vim Gemfile
23
+ ```
16
24
 
17
- $ bundle
25
+ ```ruby
26
+ source 'https://rubygems.org'
27
+ gem 'byebug', '~> 9.0.6'
28
+ gem 'facets', '~> 3.1.0'
29
+ gem 'guard', '~> 2.14.0'
30
+ gem 'guard-yield', '~> 0.1.0'
31
+ gem 'json', '>= 1.8.3', '~> 1.8.0'
32
+ gem 'libnotify', '~> 0.9.1'
33
+ gem 'rake', '~> 10.0.0'
34
+ gem 'rest-client', '~> 2.0.0'
35
+ gem 'rspec', '~> 3.5.0'
18
36
 
19
- Or install it yourself as:
37
+ bundle install
38
+ ```
20
39
 
21
- $ gem install snow_sync
40
+ ```bash
41
+ cd /lib/snow_sync
42
+ vim configs.yml
43
+ ```
22
44
 
23
- ## Setup & Usage
45
+ Add your configs -- be sure to append /api/now/table/ to the base_url
24
46
 
25
- Coming soon...
47
+ ```bash
48
+ guard -i
49
+ ```
50
+
51
+ ## Running the Tests
52
+
53
+ ```bash
54
+ cd <path>/gems/snow_sync-<version>
55
+ touch test_configs.yml
56
+ vim /spec/sync_util_spec.rb
57
+ ```
58
+ Add a test script record to your instance (ex: a script include)
59
+ Add your test configs sync_util_spec.rb
60
+
61
+ ```ruby
62
+ rspec spec/sync_util_spec.rb
63
+ ```
26
64
 
27
65
  ## License
28
66
 
29
67
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
30
-
@@ -1,3 +1,3 @@
1
1
  module SnowSync
2
- VERSION = "1.7.0"
2
+ VERSION = "1.8.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snow_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Wallace