saper 0.5.2 → 0.5.3

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.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -3
  3. data/Rakefile +7 -5
  4. data/bin/saper +51 -1
  5. data/lib/saper/actions/create_atom.rb +0 -5
  6. data/lib/saper/actions/nothing.rb +2 -0
  7. data/lib/saper/actions/remove_matching.rb +1 -1
  8. data/lib/saper/actions/run_recipe.rb +5 -5
  9. data/lib/saper/actions/run_recipe_and_save.rb +5 -5
  10. data/lib/saper/actions/select_matching.rb +1 -1
  11. data/lib/saper/actions/set_input.rb +0 -5
  12. data/lib/saper/core/action.rb +69 -53
  13. data/lib/saper/core/argument.rb +3 -0
  14. data/lib/saper/core/browser.rb +3 -2
  15. data/lib/saper/core/error.rb +4 -1
  16. data/lib/saper/core/keychain.rb +2 -2
  17. data/lib/saper/core/logger.rb +9 -54
  18. data/lib/saper/core/recipe.rb +36 -5
  19. data/lib/saper/core/result.rb +36 -5
  20. data/lib/saper/core/runtime.rb +17 -11
  21. data/lib/saper/core/stack.rb +17 -1
  22. data/lib/saper/items/html.rb +1 -1
  23. data/lib/saper/items/nothing.rb +9 -0
  24. data/lib/saper/items/xml.rb +5 -1
  25. data/lib/saper/version.rb +1 -1
  26. data/lib/tungsten/lib/README +5 -0
  27. data/lib/tungsten/lib/test.rb +18 -0
  28. data/lib/tungsten/lib/tungsten.rb +33 -0
  29. data/lib/tungsten/lib/tungsten/headers.rb +37 -0
  30. data/lib/tungsten/lib/tungsten/jar.rb +17 -0
  31. data/lib/tungsten/lib/tungsten/request.rb +102 -0
  32. data/lib/tungsten/lib/tungsten/response.rb +101 -0
  33. data/spec/actions/append_with_spec.rb +144 -21
  34. data/spec/actions/convert_to_html_spec.rb +126 -11
  35. data/spec/actions/convert_to_json_spec.rb +126 -11
  36. data/spec/actions/convert_to_markdown_spec.rb +126 -11
  37. data/spec/actions/convert_to_time_spec.rb +150 -15
  38. data/spec/actions/convert_to_xml_spec.rb +136 -11
  39. data/spec/actions/create_atom_spec.rb +116 -7
  40. data/spec/actions/fetch_spec.rb +110 -3
  41. data/spec/actions/find_first_spec.rb +149 -24
  42. data/spec/actions/find_spec.rb +167 -19
  43. data/spec/actions/get_attribute_spec.rb +145 -15
  44. data/spec/actions/get_contents_spec.rb +125 -4
  45. data/spec/actions/get_text_spec.rb +125 -4
  46. data/spec/actions/nothing_spec.rb +119 -4
  47. data/spec/actions/prepend_with_spec.rb +148 -22
  48. data/spec/actions/remove_after_spec.rb +160 -4
  49. data/spec/actions/remove_before_spec.rb +160 -4
  50. data/spec/actions/remove_matching_spec.rb +164 -4
  51. data/spec/actions/remove_tags_spec.rb +1 -1
  52. data/spec/actions/replace_spec.rb +1 -1
  53. data/spec/actions/run_recipe_and_save_spec.rb +1 -1
  54. data/spec/actions/run_recipe_spec.rb +1 -1
  55. data/spec/actions/save_spec.rb +1 -1
  56. data/spec/actions/select_matching_spec.rb +164 -4
  57. data/spec/actions/set_input_spec.rb +1 -1
  58. data/spec/actions/skip_tags_spec.rb +1 -1
  59. data/spec/actions/split_spec.rb +1 -1
  60. data/spec/arguments/attribute_spec.rb +1 -1
  61. data/spec/arguments/recipe_spec.rb +1 -1
  62. data/spec/arguments/text_spec.rb +1 -1
  63. data/spec/arguments/timezone_spec.rb +1 -1
  64. data/spec/arguments/variable_spec.rb +1 -1
  65. data/spec/arguments/xpath_spec.rb +1 -1
  66. data/spec/core/action_spec.rb +25 -13
  67. data/spec/core/argument_spec.rb +55 -31
  68. data/spec/core/browser_spec.rb +21 -11
  69. data/spec/core/dsl_spec.rb +1 -1
  70. data/spec/core/item_spec.rb +1 -1
  71. data/spec/core/keychain_spec.rb +1 -1
  72. data/spec/core/logger_spec.rb +1 -1
  73. data/spec/core/namespace_spec.rb +1 -1
  74. data/spec/core/recipe_spec.rb +85 -51
  75. data/spec/core/result_spec.rb +1 -1
  76. data/spec/core/runtime_spec.rb +45 -27
  77. data/spec/core/stack_spec.rb +1 -1
  78. data/spec/core/type_spec.rb +1 -1
  79. data/spec/integration/simple_invalid_spec.rb +46 -9
  80. data/spec/integration/simple_valid_spec.rb +9 -9
  81. data/spec/items/atom_spec.rb +7 -7
  82. data/spec/items/document_spec.rb +29 -29
  83. data/spec/items/html_spec.rb +80 -48
  84. data/spec/items/json_spec.rb +17 -11
  85. data/spec/items/markdown_spec.rb +30 -18
  86. data/spec/items/nothing_spec.rb +1 -1
  87. data/spec/items/text_spec.rb +12 -10
  88. data/spec/items/time_spec.rb +35 -21
  89. data/spec/items/url_spec.rb +1 -1
  90. data/spec/items/xml_spec.rb +75 -42
  91. data/spec/spec_helper.rb +90 -2
  92. metadata +51 -16
@@ -1,17 +1,23 @@
1
1
  require './spec/spec_helper'
2
2
 
3
- describe Saper::Items::JSON do
4
- it "::new(nil) raises InvalidItem" do
5
- lambda { Saper::Items::JSON.new(nil) }.must_raise(Saper::InvalidItem)
3
+ RSpec.describe Saper::Items::JSON do
4
+ context ".new(nil)" do
5
+ it "raises InvalidItem" do
6
+ expect { Saper::Items::JSON.new(nil) }.to raise_error Saper::InvalidItem
7
+ end
6
8
  end
7
- it "::new('') raises InvalidItem" do
8
- lambda { Saper::Items::JSON.new("") }.must_raise(Saper::InvalidItem)
9
+ context ".new('')" do
10
+ it "raises InvalidItem" do
11
+ expect { Saper::Items::JSON.new("") }.to raise_error Saper::InvalidItem
12
+ end
9
13
  end
10
- it "::new(invalid String) raises InvalidItem" do
11
- lambda { Saper::Items::JSON.new("not json") }.must_raise(Saper::InvalidItem)
14
+ context ".new(invalid String)" do
15
+ it "raises InvalidItem" do
16
+ expect { Saper::Items::JSON.new("not json") }.to raise_error Saper::InvalidItem
17
+ end
12
18
  end
13
- it "#find" # TODO
14
- it "#find_all" # TODO
15
- it "#to_native" # TODO
16
- it "#to_s" # TODO
19
+ context "#find" # TODO
20
+ context "#find_all" # TODO
21
+ context "#to_native" # TODO
22
+ context "#to_s" # TODO
17
23
  end
@@ -1,28 +1,40 @@
1
1
  require './spec/spec_helper'
2
2
 
3
- describe Saper::Items::Markdown do
3
+ RSpec.describe Saper::Items::Markdown do
4
4
  let :html do
5
5
  Saper::Items::HTML.new('<p>test</p>')
6
6
  end
7
7
  let :subject do
8
8
  Saper::Items::Markdown.new(html)
9
9
  end
10
- it "::new(nil) raises InvalidItem" do
11
- lambda { Saper::Items::Markdown.new(nil) }.must_raise(Saper::InvalidItem)
12
- end
13
- it "::new('') raises InvalidItem" do
14
- lambda { Saper::Items::Markdown.new("") }.must_raise(Saper::InvalidItem)
15
- end
16
- it "::new(String) returns Markdown" do
17
- lambda { Saper::Items::Markdown.new("string") }.must_raise(Saper::InvalidItem)
18
- end
19
- it "#to_native returns underlying String" do
20
- subject.to_native.must_equal 'test'
21
- end
22
- it "#to_s returns underlying String" do
23
- subject.to_s.must_equal 'test'
24
- end
25
- it "#== returns true for a matching string" do
26
- subject.to_native.must_equal "test"
10
+ context ".new(nil)" do
11
+ it "raises InvalidItem" do
12
+ expect { Saper::Items::Markdown.new(nil) }.to raise_error Saper::InvalidItem
13
+ end
14
+ end
15
+ context "new('')" do
16
+ it "raises InvalidItem" do
17
+ expect { Saper::Items::Markdown.new("") }.to raise_error Saper::InvalidItem
18
+ end
19
+ end
20
+ context ".new(String)" do
21
+ it "returns Markdown" do
22
+ expect { Saper::Items::Markdown.new("string") }.to raise_error Saper::InvalidItem
23
+ end
24
+ end
25
+ context "#to_native" do
26
+ it "returns underlying String" do
27
+ expect(subject.to_native).to eq 'test'
28
+ end
29
+ end
30
+ context "#to_s" do
31
+ it "returns underlying String" do
32
+ expect(subject.to_s).to eq 'test'
33
+ end
34
+ end
35
+ context "#==" do
36
+ it "returns true for a matching string" do
37
+ expect(subject.to_native).to eq "test"
38
+ end
27
39
  end
28
40
  end
@@ -1,6 +1,6 @@
1
1
  require './spec/spec_helper'
2
2
 
3
- describe Saper::Items::Nothing do
3
+ RSpec.describe Saper::Items::Nothing do
4
4
 
5
5
  it #TODO
6
6
 
@@ -1,17 +1,19 @@
1
1
  require './spec/spec_helper'
2
2
 
3
- describe Saper::Items::Text do
3
+ RSpec.describe Saper::Items::Text do
4
4
  subject do
5
5
  Saper::Items::Text.new("text")
6
6
  end
7
- it "#== returns true for comparable String" do
8
- subject.must_be :==, "text"
7
+ context "#==" do
8
+ it "returns true for comparable String" do
9
+ expect(subject).to eq "text"
10
+ end
9
11
  end
10
- it "#gsub" # TODO
11
- it "#split" # TODO
12
- it "#to_json" # TODO
13
- it "#to_html" # TODO
14
- it "#to_s" # TODO
15
- it "#to_time" # TODO
16
- it "#to_xml" # TODO
12
+ context "#gsub" # TODO
13
+ context "#split" # TODO
14
+ context "#to_json" # TODO
15
+ context "#to_html" # TODO
16
+ context "#to_s" # TODO
17
+ context "#to_time" # TODO
18
+ context "#to_xml" # TODO
17
19
  end
@@ -1,28 +1,42 @@
1
1
  require './spec/spec_helper'
2
2
 
3
- describe Saper::Items::Time do
3
+ RSpec.describe Saper::Items::Time do
4
4
  let(:input) do
5
5
  '19-04-2014 18:56'
6
6
  end
7
- it ".new(nil) raises InvalidItem" do
8
- lambda { Saper::Items::Time.new(nil) }.must_raise(Saper::InvalidItem)
9
- end
10
- it ".new('') raises InvalidItem" do
11
- lambda { Saper::Items::Time.new('') }.must_raise(Saper::InvalidItem)
12
- end
13
- it ".new(invalid) raises InvalidItem" do
14
- lambda { Saper::Items::Time.new(input, '%H:%M') }.must_raise(Saper::InvalidItem)
15
- end
16
- it ".new(valid) returns Time instance" do
17
- Saper::Items::Time.new(input, '%d-%m-%Y %H:%M').must_be_instance_of(Saper::Items::Time)
18
- end
19
- it ".new(valid) returns valid time" do
20
- Saper::Items::Time.new(input, '%d-%m-%Y %H:%M').to_s.must_be :==, '2014-04-19T18:56:00+00:00'
21
- end
22
- it ".new(valid, tz) returns Time instance" do
23
- Saper::Items::Time.new(input, '%d-%m-%Y %H:%M', 'Europe/Moscow').to_s.must_be :==, '2014-04-19T18:56:00+04:00'
24
- end
25
- it "#to_native returns native Time instance" do
26
- Saper::Items::Time.new(input, '%d-%m-%Y %H:%M').to_native.must_be_instance_of(Time)
7
+ context ".new(nil)" do
8
+ it "raises InvalidItem" do
9
+ expect { Saper::Items::Time.new(nil) }.to raise_error Saper::InvalidItem
10
+ end
11
+ end
12
+ context ".new('')" do
13
+ it "raises InvalidItem" do
14
+ expect { Saper::Items::Time.new('') }.to raise_error Saper::InvalidItem
15
+ end
16
+ end
17
+ context ".new(invalid)" do
18
+ it "raises InvalidItem" do
19
+ expect { Saper::Items::Time.new(input, '%H:%M') }.to raise_error Saper::InvalidItem
20
+ end
21
+ end
22
+ context ".new(valid)" do
23
+ it "returns Time instance" do
24
+ expect(Saper::Items::Time.new(input, '%d-%m-%Y %H:%M')).to be_a Saper::Items::Time
25
+ end
26
+ end
27
+ context ".new(valid)" do
28
+ it "returns valid time" do
29
+ expect(Saper::Items::Time.new(input, '%d-%m-%Y %H:%M').to_s).to eq '2014-04-19T18:56:00+00:00'
30
+ end
31
+ end
32
+ context ".new(valid, tz)" do
33
+ it "returns Time instance" do
34
+ expect(Saper::Items::Time.new(input, '%d-%m-%Y %H:%M', 'Europe/Moscow').to_s).to eq '2014-04-19T18:56:00+04:00'
35
+ end
36
+ end
37
+ context "#to_native" do
38
+ it "returns native Time instance" do
39
+ expect(Saper::Items::Time.new(input, '%d-%m-%Y %H:%M').to_native).to be_a Time
40
+ end
27
41
  end
28
42
  end
@@ -1,6 +1,6 @@
1
1
  require './spec/spec_helper'
2
2
 
3
- describe Saper::Items::URL do
3
+ RSpec.describe Saper::Items::URL do
4
4
 
5
5
  it # TODO
6
6
 
@@ -1,52 +1,85 @@
1
1
  require './spec/spec_helper'
2
2
 
3
- describe Saper::Items::XML do
3
+ RSpec.describe Saper::Items::XML do
4
4
  let :xml do
5
5
  "<response><item name=\"Google\"><host>google.com</host></item><item name=\"Yandex\"><host>yandex.ru</host></item></response>"
6
6
  end
7
7
  let :subject do
8
8
  Saper::Items::XML.new xml
9
9
  end
10
- it "::new(nil) raises InvalidItem" do
11
- lambda { Saper::Items::XML.new(nil) }.must_raise(Saper::InvalidItem)
12
- end
13
- it "::new('') raises InvalidItem" do
14
- lambda { Saper::Items::XML.new("") }.must_raise(Saper::InvalidItem)
15
- end
16
- it "::new(String) returns XML" do
17
- Saper::Items::XML.new("string").must_be_instance_of(Saper::Items::XML)
18
- end
19
- it "#find(valid) returns XML" do
20
- subject.find("host").must_be_kind_of(Saper::Items::XML)
21
- end
22
- it "#find(invalid) returns nil" do
23
- subject.find("smth").must_be_nil
24
- end
25
- it "#find_all(valid) returns an Array of XML instances" do
26
- subject.find_all("host").first.must_be_kind_of(Saper::Items::XML)
27
- end
28
- it "#find_all(invalid) returns an empty Array" do
29
- subject.find_all("smth").must_be_empty
30
- end
31
- it "#[](valid) returns Text" do
32
- subject.find("item")["name"].must_be_kind_of(Saper::Items::Text)
33
- end
34
- it "#[](invalid) returns nil" do
35
- subject.find("item")["unknown"].must_be_nil
36
- end
37
- it "#inner_xml returns Text" do
38
- subject.inner_xml.must_be_kind_of(Saper::Items::Text)
39
- end
40
- it "#inner_xml returns valid contents" do
41
- subject.inner_xml.must_be :==, xml
42
- end
43
- it "#inner_text returns Text" do
44
- subject.inner_text.must_be_kind_of(Saper::Items::Text)
45
- end
46
- it "#remove_children_preserving_content returns modified HTML" do
47
- subject.remove_children_preserving_content("host").to_native.must_equal "<response><item name=\"Google\">google.com</item><item name=\"Yandex\">yandex.ru</item></response>"
48
- end
49
- it "#remove_children_with_content returns modified HTML" do
50
- subject.remove_children_with_content("host").to_native.must_equal "<response><item name=\"Google\"></item><item name=\"Yandex\"></item></response>"
10
+ context ".new(nil)" do
11
+ it "raises InvalidItem" do
12
+ expect { Saper::Items::XML.new(nil) }.to raise_error Saper::InvalidItem
13
+ end
14
+ end
15
+ context ".new('')" do
16
+ it "raises InvalidItem" do
17
+ expect { Saper::Items::XML.new("") }.to raise_error Saper::InvalidItem
18
+ end
19
+ end
20
+ context ".new(invalid String)" do
21
+ it "raises InvalidItem" do
22
+ expect { Saper::Items::XML.new("string") }.to raise_error Saper::InvalidItem
23
+ end
24
+ end
25
+ context ".new(valid String)" do
26
+ it "returns XML" do
27
+ expect(Saper::Items::XML.new("<node>string</node>")).to be_a Saper::Items::XML
28
+ end
29
+ end
30
+ context "#find(valid)" do
31
+ it "returns XML" do
32
+ expect(subject.find("host")).to be_a Saper::Items::XML
33
+ end
34
+ end
35
+ context "#find(invalid)" do
36
+ it "returns nil" do
37
+ expect(subject.find("smth")).to be_nil
38
+ end
39
+ end
40
+ context "#find_all(valid)" do
41
+ it "returns an Array of XML instances" do
42
+ expect(subject.find_all("host").first).to be_a Saper::Items::XML
43
+ end
44
+ end
45
+ context "#find_all(invalid)" do
46
+ it "returns an empty Array" do
47
+ expect(subject.find_all("smth")).to be_empty
48
+ end
49
+ end
50
+ context "#[](valid)" do
51
+ it "returns Text" do
52
+ expect(subject.find("item")["name"]).to be_a Saper::Items::Text
53
+ end
54
+ end
55
+ context "#[](invalid)" do
56
+ it "returns nil" do
57
+ expect(subject.find("item")["unknown"]).to be_nil
58
+ end
59
+ end
60
+ context "#inner_xml" do
61
+ it "returns Text" do
62
+ expect(subject.inner_xml).to be_a Saper::Items::Text
63
+ end
64
+ end
65
+ context "#inner_xml" do
66
+ it "returns valid contents" do
67
+ expect(subject.inner_xml).to eq xml
68
+ end
69
+ end
70
+ context "#inner_text" do
71
+ it "returns Text" do
72
+ expect(subject.inner_text).to be_a Saper::Items::Text
73
+ end
74
+ end
75
+ context "#remove_children_preserving_content" do
76
+ it "returns modified HTML" do
77
+ expect(subject.remove_children_preserving_content("host").to_native).to eq "<response><item name=\"Google\">google.com</item><item name=\"Yandex\">yandex.ru</item></response>"
78
+ end
79
+ end
80
+ context "#remove_children_with_content" do
81
+ it "returns modified HTML" do
82
+ expect(subject.remove_children_with_content("host").to_native).to eq "<response><item name=\"Google\"></item><item name=\"Yandex\"></item></response>"
83
+ end
51
84
  end
52
85
  end
@@ -1,3 +1,91 @@
1
- require 'minitest/spec'
2
- require 'minitest/autorun'
1
+ # This file was generated by the `rspec --init` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # The generated `.rspec` file contains `--require spec_helper` which will cause this
4
+ # file to always be loaded, without a need to explicitly require it in any files.
5
+ #
6
+ # Given that it is always loaded, you are encouraged to keep this file as
7
+ # light-weight as possible. Requiring heavyweight dependencies from this file
8
+ # will add to the boot time of your test suite on EVERY test run, even for an
9
+ # individual file that may not need all of that loaded. Instead, consider making
10
+ # a separate helper file that requires the additional dependencies and performs
11
+ # the additional setup, and require it from the spec files that actually need it.
12
+ #
13
+ # The `.rspec` file also contains a few flags that are not defaults but that
14
+ # users commonly want.
15
+ #
3
16
  require 'saper'
17
+
18
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
19
+ RSpec.configure do |config|
20
+ # rspec-expectations config goes here. You can use an alternate
21
+ # assertion/expectation library such as wrong or the stdlib/minitest
22
+ # assertions if you prefer.
23
+ config.expect_with :rspec do |expectations|
24
+ # This option will default to `true` in RSpec 4. It makes the `description`
25
+ # and `failure_message` of custom matchers include text for helper methods
26
+ # defined using `chain`, e.g.:
27
+ # be_bigger_than(2).and_smaller_than(4).description
28
+ # # => "be bigger than 2 and smaller than 4"
29
+ # ...rather than:
30
+ # # => "be bigger than 2"
31
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
32
+ end
33
+
34
+ # rspec-mocks config goes here. You can use an alternate test double
35
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
36
+ config.mock_with :rspec do |mocks|
37
+ # Prevents you from mocking or stubbing a method that does not exist on
38
+ # a real object. This is generally recommended, and will default to
39
+ # `true` in RSpec 4.
40
+ mocks.verify_partial_doubles = true
41
+ end
42
+
43
+ # The settings below are suggested to provide a good initial experience
44
+ # with RSpec, but feel free to customize to your heart's content.
45
+ =begin
46
+ # These two settings work together to allow you to limit a spec run
47
+ # to individual examples or groups you care about by tagging them with
48
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
49
+ # get run.
50
+ config.filter_run :focus
51
+ config.run_all_when_everything_filtered = true
52
+
53
+ # Limits the available syntax to the non-monkey patched syntax that is recommended.
54
+ # For more details, see:
55
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
56
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
57
+ # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
58
+ config.disable_monkey_patching!
59
+
60
+ # This setting enables warnings. It's recommended, but in some cases may
61
+ # be too noisy due to issues in dependencies.
62
+ config.warnings = true
63
+
64
+ # Many RSpec users commonly either run the entire suite or an individual
65
+ # file, and it's useful to allow more verbose output when running an
66
+ # individual spec file.
67
+ if config.files_to_run.one?
68
+ # Use the documentation formatter for detailed output,
69
+ # unless a formatter has already been configured
70
+ # (e.g. via a command-line flag).
71
+ config.default_formatter = 'doc'
72
+ end
73
+
74
+ # Print the 10 slowest examples and example groups at the
75
+ # end of the spec run, to help surface which specs are running
76
+ # particularly slow.
77
+ config.profile_examples = 10
78
+
79
+ # Run specs in random order to surface order dependencies. If you find an
80
+ # order dependency and want to debug it, you can fix the order by providing
81
+ # the seed, which is printed after each run.
82
+ # --seed 1234
83
+ config.order = :random
84
+
85
+ # Seed global randomization in this process using the `--seed` CLI option.
86
+ # Setting this allows you to use `--seed` to deterministically reproduce
87
+ # test failures related to randomization by passing the same `--seed` value
88
+ # as the one that triggered the failure.
89
+ Kernel.srand config.seed
90
+ =end
91
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Serebryakov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-05 00:00:00.000000000 Z
11
+ date: 2015-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mechanize
@@ -30,56 +30,70 @@ dependencies:
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 1.6.1
33
+ version: 1.6.6
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: 1.6.1
40
+ version: 1.6.6
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: json
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: 1.8.1
47
+ version: 1.8.2
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: 1.8.1
54
+ version: 1.8.2
55
+ - !ruby/object:Gem::Dependency
56
+ name: vremya
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 1.0.2
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: 1.0.2
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: reverse_markdown
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
73
  - - ~>
60
74
  - !ruby/object:Gem::Version
61
- version: 0.5.1
75
+ version: 0.7.0
62
76
  type: :runtime
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - ~>
67
81
  - !ruby/object:Gem::Version
68
- version: 0.5.1
82
+ version: 0.7.0
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: trollop
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
87
  - - ~>
74
88
  - !ruby/object:Gem::Version
75
- version: 2.0.0
89
+ version: 2.1.1
76
90
  type: :runtime
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - ~>
81
95
  - !ruby/object:Gem::Version
82
- version: 2.0.0
96
+ version: 2.1.1
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: jpath
85
99
  requirement: !ruby/object:Gem::Requirement
@@ -95,33 +109,47 @@ dependencies:
95
109
  - !ruby/object:Gem::Version
96
110
  version: 0.1.0
97
111
  - !ruby/object:Gem::Dependency
98
- name: vremya
112
+ name: rspec
99
113
  requirement: !ruby/object:Gem::Requirement
100
114
  requirements:
101
115
  - - ~>
102
116
  - !ruby/object:Gem::Version
103
- version: 1.0.0
104
- type: :runtime
117
+ version: 3.2.0
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ~>
123
+ - !ruby/object:Gem::Version
124
+ version: 3.2.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: guard-rspec
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ~>
130
+ - !ruby/object:Gem::Version
131
+ version: 4.5.0
132
+ type: :development
105
133
  prerelease: false
106
134
  version_requirements: !ruby/object:Gem::Requirement
107
135
  requirements:
108
136
  - - ~>
109
137
  - !ruby/object:Gem::Version
110
- version: 1.0.0
138
+ version: 4.5.0
111
139
  - !ruby/object:Gem::Dependency
112
140
  name: rake
113
141
  requirement: !ruby/object:Gem::Requirement
114
142
  requirements:
115
143
  - - ~>
116
144
  - !ruby/object:Gem::Version
117
- version: 10.3.2
145
+ version: 10.4.2
118
146
  type: :development
119
147
  prerelease: false
120
148
  version_requirements: !ruby/object:Gem::Requirement
121
149
  requirements:
122
150
  - - ~>
123
151
  - !ruby/object:Gem::Version
124
- version: 10.3.2
152
+ version: 10.4.2
125
153
  - !ruby/object:Gem::Dependency
126
154
  name: yard
127
155
  requirement: !ruby/object:Gem::Requirement
@@ -209,6 +237,13 @@ files:
209
237
  - lib/saper/patches/nokogiri.rb
210
238
  - lib/saper/version.rb
211
239
  - lib/saper.rb
240
+ - lib/tungsten/lib/README
241
+ - lib/tungsten/lib/test.rb
242
+ - lib/tungsten/lib/tungsten/headers.rb
243
+ - lib/tungsten/lib/tungsten/jar.rb
244
+ - lib/tungsten/lib/tungsten/request.rb
245
+ - lib/tungsten/lib/tungsten/response.rb
246
+ - lib/tungsten/lib/tungsten.rb
212
247
  - Rakefile
213
248
  - README.md
214
249
  - LICENSE