snow_sync 1.7.0 → 1.8.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 +4 -4
- data/README.md +46 -9
- data/lib/snow_sync/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8cc4574efc2b297fb679783ab7cc35759fa1ef3
|
4
|
+
data.tar.gz: 9bfa3aa40d3a34494339f6ff36b0e4c1c7f55da3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
9
|
+
```ruby
|
10
|
+
gem install --install-dir <path> snow_sync
|
11
|
+
```
|
12
|
+
|
13
|
+
## Setup & Usage
|
10
14
|
|
11
15
|
```ruby
|
12
|
-
gem
|
16
|
+
gem install bundler
|
13
17
|
```
|
14
18
|
|
15
|
-
|
19
|
+
```bash
|
20
|
+
cd <path>/gems/snow_sync-<version>
|
21
|
+
touch Gemfile
|
22
|
+
vim Gemfile
|
23
|
+
```
|
16
24
|
|
17
|
-
|
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
|
-
|
37
|
+
bundle install
|
38
|
+
```
|
20
39
|
|
21
|
-
|
40
|
+
```bash
|
41
|
+
cd /lib/snow_sync
|
42
|
+
vim configs.yml
|
43
|
+
```
|
22
44
|
|
23
|
-
|
45
|
+
Add your configs -- be sure to append /api/now/table/ to the base_url
|
24
46
|
|
25
|
-
|
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
|
-
|
data/lib/snow_sync/version.rb
CHANGED