sitediff 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1113cf29b633160c7556d52da5e7109bb76c1362
4
+ data.tar.gz: '04118bf895870a85cd83cc94d3c674520e24e36c'
5
+ SHA512:
6
+ metadata.gz: 192c737e7eefa45055de28c34fc59377e93017393bd4ae212b64d67e645a26509427bec7365c5b95f803c5d269a6dfd94aceddfc8277d578b4b3ce8335a8acc9
7
+ data.tar.gz: e7f8e5673f4919b0fabf2af1a379b84059beae6b01c7dcded0b335af2db83c7de9b2d52e975c67095c33e84ec16bca33c5fd849bd8d6c022c669c1ad1b2ca931
@@ -35,7 +35,7 @@ class SiteDiff
35
35
  option 'paths',
36
36
  :type => :array,
37
37
  :aliases => '-p',
38
- :desc => "Fetch only these specific paths"
38
+ :desc => "Specific path or paths to fetch"
39
39
  option 'before',
40
40
  :type => :string,
41
41
  :desc => "URL used to fetch the before HTML. Acts as a prefix to specified paths",
@@ -61,7 +61,7 @@ class SiteDiff
61
61
  :type => :boolean,
62
62
  :aliases => '-q',
63
63
  :default => false,
64
- :desc => "Show the difference between versions for each page"
64
+ :desc => "Do not show differences between versions for each page"
65
65
  desc "diff [OPTIONS] [CONFIGFILES]", "Perform systematic diff on given URLs"
66
66
  def diff(*config_files)
67
67
  config = chdir(config_files)
@@ -140,7 +140,7 @@ class SiteDiff
140
140
  option :output,
141
141
  :type => :string,
142
142
  :default => 'sitediff',
143
- :desc => 'Where to place the configuration',
143
+ :desc => 'Directory in which to place the configuration',
144
144
  :aliases => ['-o']
145
145
  option :depth,
146
146
  :type => :numeric,
@@ -5,29 +5,29 @@ sanitization:
5
5
  - title: Strip form build ID
6
6
  selector: input
7
7
  pattern: 'name="form_build_id" value="form-[-\w]{43}"'
8
- substitution: 'name="form_build_id" value="form-DRUPAL_FORM_BUILD_ID"'
8
+ substitute: 'name="form_build_id" value="form-DRUPAL_FORM_BUILD_ID"'
9
9
  - title: Strip view DOM ID
10
10
  pattern: '(class="view .*) view-dom-id-[a-f0-9]{32}"'
11
- substitution: '\1 view-dom-id-DRUPAL_VIEW_DOM_ID"'
11
+ substitute: '\1 view-dom-id-DRUPAL_VIEW_DOM_ID"'
12
12
  - title: Strip CSS aggregation filenames
13
13
  selector: link[rel=stylesheet]
14
14
  pattern: '(href="[^"]*/files/css/css_)[-\w]{43}\.css"'
15
- substitution: '\1DRUPAL_AGGREGATED_CSS.css"'
15
+ substitute: '\1DRUPAL_AGGREGATED_CSS.css"'
16
16
  - title: Strip JS aggregation filenames
17
17
  selector: script
18
18
  pattern: '(src="[^"]*/files/js/js_)[-\w]{43}\.js"'
19
- substitution: '\1DRUPAL_AGGREGATED_JS.js"'
19
+ substitute: '\1DRUPAL_AGGREGATED_JS.js"'
20
20
  - title: Strip CSS/JS cache IDs
21
21
  selector: style, script
22
22
  pattern: '("[^"]*\.(js|css))\?[a-z0-9]{6}"'
23
- substitution: '\1'
23
+ substitute: '\1'
24
24
  - title: Strip IE CSS/JS cache IDs
25
25
  pattern: '("[^"]*ie\d?\.(js|css))\?[a-z0-9]{6}"'
26
- substitution: '\1'
26
+ substitute: '\1'
27
27
  - title: Strip Drupal JS version tags
28
28
  selector: script
29
29
  pattern: '(src="[^"]*/misc/\w+\.js)?v=\d+\.\d+"'
30
- substitution: '\1'
30
+ substitute: '\1'
31
31
  - title: Strip domain names from absolute URLs
32
32
  pattern: 'http:\/\/[a-zA-Z0-9.:-]+'
33
33
  substitute: '__domain__'
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sitediff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
5
- prerelease:
4
+ version: 0.0.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Alex Dergachev
@@ -11,106 +10,118 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2015-05-05 00:00:00.000000000 Z
13
+ date: 2017-02-10 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: thor
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
- - - ! '>='
19
+ - - "~>"
22
20
  - !ruby/object:Gem::Version
23
- version: '0'
21
+ version: 0.19.0
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
- - - ! '>='
26
+ - - "~>"
30
27
  - !ruby/object:Gem::Version
31
- version: '0'
28
+ version: 0.19.0
32
29
  - !ruby/object:Gem::Dependency
33
- name: nokogiri
30
+ name: typhoeus
34
31
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
32
  requirements:
37
- - - ! '>='
33
+ - - "~>"
38
34
  - !ruby/object:Gem::Version
39
- version: '0'
35
+ version: '1.0'
40
36
  type: :runtime
41
37
  prerelease: false
42
38
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
39
  requirements:
45
- - - ! '>='
40
+ - - "~>"
46
41
  - !ruby/object:Gem::Version
47
- version: '0'
42
+ version: '1.0'
48
43
  - !ruby/object:Gem::Dependency
49
- name: diffy
44
+ name: rainbow
50
45
  requirement: !ruby/object:Gem::Requirement
51
- none: false
52
46
  requirements:
53
- - - ! '>='
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '2.0'
50
+ - - "<"
54
51
  - !ruby/object:Gem::Version
55
- version: '0'
52
+ version: '2.2'
56
53
  type: :runtime
57
54
  prerelease: false
58
55
  version_requirements: !ruby/object:Gem::Requirement
59
- none: false
60
56
  requirements:
61
- - - ! '>='
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '2.0'
60
+ - - "<"
62
61
  - !ruby/object:Gem::Version
63
- version: '0'
62
+ version: '2.2'
64
63
  - !ruby/object:Gem::Dependency
65
- name: typhoeus
64
+ name: nokogiri
66
65
  requirement: !ruby/object:Gem::Requirement
67
- none: false
68
66
  requirements:
69
- - - ! '>='
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '1.0'
70
+ - - "<"
70
71
  - !ruby/object:Gem::Version
71
- version: '0'
72
+ version: '1.7'
72
73
  type: :runtime
73
74
  prerelease: false
74
75
  version_requirements: !ruby/object:Gem::Requirement
75
- none: false
76
76
  requirements:
77
- - - ! '>='
77
+ - - "~>"
78
78
  - !ruby/object:Gem::Version
79
- version: '0'
79
+ version: '1.0'
80
+ - - "<"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.7'
80
83
  - !ruby/object:Gem::Dependency
81
- name: rainbow
84
+ name: diffy
82
85
  requirement: !ruby/object:Gem::Requirement
83
- none: false
84
86
  requirements:
85
- - - ! '>='
87
+ - - "~>"
86
88
  - !ruby/object:Gem::Version
87
- version: '0'
89
+ version: '3.0'
90
+ - - "<"
91
+ - !ruby/object:Gem::Version
92
+ version: 3.0.5
88
93
  type: :runtime
89
94
  prerelease: false
90
95
  version_requirements: !ruby/object:Gem::Requirement
91
- none: false
92
96
  requirements:
93
- - - ! '>='
97
+ - - "~>"
98
+ - !ruby/object:Gem::Version
99
+ version: '3.0'
100
+ - - "<"
94
101
  - !ruby/object:Gem::Version
95
- version: '0'
102
+ version: 3.0.5
96
103
  - !ruby/object:Gem::Dependency
97
104
  name: addressable
98
105
  requirement: !ruby/object:Gem::Requirement
99
- none: false
100
106
  requirements:
101
- - - ! '>='
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '2.0'
110
+ - - "<"
102
111
  - !ruby/object:Gem::Version
103
- version: '0'
112
+ version: '2.5'
104
113
  type: :runtime
105
114
  prerelease: false
106
115
  version_requirements: !ruby/object:Gem::Requirement
107
- none: false
108
116
  requirements:
109
- - - ! '>='
117
+ - - "~>"
110
118
  - !ruby/object:Gem::Version
111
- version: '0'
112
- description: ! 'SiteDiff makes it easy to see differences between two versions of
113
- a website. It accepts a set of paths to compare two versions of the site together
119
+ version: '2.0'
120
+ - - "<"
121
+ - !ruby/object:Gem::Version
122
+ version: '2.5'
123
+ description: 'SiteDiff makes it easy to see differences between two versions of a
124
+ website. It accepts a set of paths to compare two versions of the site together
114
125
  with potential normalization/sanitization rules. From the provided paths and configuration
115
126
  SiteDiff generates an HTML report of all the status of HTML comparison between the
116
127
  given paths together with a readable diff-like HTML for each specified path containing
@@ -124,53 +135,52 @@ executables:
124
135
  extensions: []
125
136
  extra_rdoc_files: []
126
137
  files:
138
+ - bin/sitediff
127
139
  - lib/sitediff.rb
128
- - lib/sitediff/crawler.rb
129
- - lib/sitediff/sanitize/dom_transform.rb
130
- - lib/sitediff/sanitize/regexp.rb
131
- - lib/sitediff/config/creator.rb
132
- - lib/sitediff/cli.rb
133
- - lib/sitediff/fetch.rb
134
- - lib/sitediff/exception.rb
135
140
  - lib/sitediff/cache.rb
141
+ - lib/sitediff/cli.rb
136
142
  - lib/sitediff/config.rb
137
- - lib/sitediff/uriwrapper.rb
138
- - lib/sitediff/result.rb
139
- - lib/sitediff/sanitize.rb
140
- - lib/sitediff/webserver/resultserver.rb
141
- - lib/sitediff/rules.rb
142
- - lib/sitediff/webserver.rb
143
+ - lib/sitediff/config/creator.rb
144
+ - lib/sitediff/crawler.rb
143
145
  - lib/sitediff/diff.rb
146
+ - lib/sitediff/exception.rb
147
+ - lib/sitediff/fetch.rb
144
148
  - lib/sitediff/files/diff.html.erb
145
- - lib/sitediff/files/sidebyside.html.erb
146
- - lib/sitediff/files/sitediff.css
147
149
  - lib/sitediff/files/html_report.html.erb
148
150
  - lib/sitediff/files/pretty_print.xsl
149
151
  - lib/sitediff/files/rules/drupal.yaml
150
- - bin/sitediff
152
+ - lib/sitediff/files/sidebyside.html.erb
153
+ - lib/sitediff/files/sitediff.css
154
+ - lib/sitediff/result.rb
155
+ - lib/sitediff/rules.rb
156
+ - lib/sitediff/sanitize.rb
157
+ - lib/sitediff/sanitize/dom_transform.rb
158
+ - lib/sitediff/sanitize/regexp.rb
159
+ - lib/sitediff/uriwrapper.rb
160
+ - lib/sitediff/webserver.rb
161
+ - lib/sitediff/webserver/resultserver.rb
151
162
  homepage: https://github.com/evolvingweb/sitediff/
152
163
  licenses:
153
- - GPL-2
164
+ - GPL-2.0
165
+ metadata: {}
154
166
  post_install_message:
155
167
  rdoc_options: []
156
168
  require_paths:
157
169
  - lib
158
170
  required_ruby_version: !ruby/object:Gem::Requirement
159
- none: false
160
171
  requirements:
161
- - - ! '>='
172
+ - - ">="
162
173
  - !ruby/object:Gem::Version
163
174
  version: 1.9.3
164
175
  required_rubygems_version: !ruby/object:Gem::Requirement
165
- none: false
166
176
  requirements:
167
- - - ! '>='
177
+ - - ">="
168
178
  - !ruby/object:Gem::Version
169
179
  version: '0'
170
180
  requirements: []
171
181
  rubyforge_project:
172
- rubygems_version: 1.8.23
182
+ rubygems_version: 2.5.2
173
183
  signing_key:
174
- specification_version: 3
184
+ specification_version: 4
175
185
  summary: Compare two versions of a site with ease!
176
186
  test_files: []