slurper 1.1.0 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/lib/cacert.pem +3509 -0
  2. data/lib/slurper.rb +3 -0
  3. data/spec/story_spec.rb +4 -5
  4. metadata +63 -61
data/lib/slurper.rb CHANGED
@@ -1,4 +1,7 @@
1
+ require 'yaml'
1
2
  require 'story'
3
+ YAML::ENGINE.yamler='syck'
4
+
2
5
 
3
6
  class Slurper
4
7
 
data/spec/story_spec.rb CHANGED
@@ -25,14 +25,13 @@ describe Story do
25
25
  end
26
26
 
27
27
  it "uses https if set in the config" do
28
- Story.stub!(:yaml).and_return({"ssl" => true})
29
- # Need these two method calls to set up the class vars correctly
30
- Story.yaml['ssl'].should be_true
28
+ Story.stub(:yaml => {"ssl" => true})
31
29
  Story.config['ssl'].should be_true
32
-
33
30
  Story.site.scheme.should == "https"
34
31
  Story.ssl_options[:verify_mode].should == 1
35
- File.open(File.expand_path('lib/cacert.pem')).readlines.find_all{ |l| l =~ /^Equifax/ }.count.should == 4
32
+
33
+ # Not sure what this next line is testing
34
+ File.open(File.expand_path('lib/cacert.pem')).readlines.find_all{ |l| l.starts_with?("Equifax") }.count.should == 4
36
35
  end
37
36
  end
38
37
 
metadata CHANGED
@@ -1,14 +1,10 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: slurper
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 1
7
- - 1
8
- - 0
9
- version: 1.1.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.7
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Wes Gibbs
13
9
  - Adam Lowe
14
10
  - Stephen Caudill
@@ -16,89 +12,95 @@ authors:
16
12
  autorequire:
17
13
  bindir: bin
18
14
  cert_chain: []
19
-
20
- date: 2010-08-31 00:00:00 -04:00
21
- default_executable: slurp
22
- dependencies:
23
- - !ruby/object:Gem::Dependency
15
+ date: 2011-07-26 00:00:00.000000000Z
16
+ dependencies:
17
+ - !ruby/object:Gem::Dependency
24
18
  name: activeresource
25
- requirement: &id001 !ruby/object:Gem::Requirement
19
+ requirement: &70139127366620 !ruby/object:Gem::Requirement
26
20
  none: false
27
- requirements:
28
- - - "="
29
- - !ruby/object:Gem::Version
30
- segments:
31
- - 3
32
- - 0
33
- - 0
34
- version: 3.0.0
21
+ requirements:
22
+ - - ~>
23
+ - !ruby/object:Gem::Version
24
+ version: 3.0.9
35
25
  type: :runtime
36
26
  prerelease: false
37
- version_requirements: *id001
38
- - !ruby/object:Gem::Dependency
27
+ version_requirements: *70139127366620
28
+ - !ruby/object:Gem::Dependency
39
29
  name: rspec
40
- requirement: &id002 !ruby/object:Gem::Requirement
30
+ requirement: &70139127365940 !ruby/object:Gem::Requirement
41
31
  none: false
42
- requirements:
43
- - - "="
44
- - !ruby/object:Gem::Version
45
- segments:
46
- - 1
47
- - 3
48
- - 0
32
+ requirements:
33
+ - - ~>
34
+ - !ruby/object:Gem::Version
49
35
  version: 1.3.0
50
36
  type: :development
51
37
  prerelease: false
52
- version_requirements: *id002
53
- description: "\n Slurps stories from the given file (stories.slurper by default) and creates\n Pivotal Tracker stories from them. Useful during story carding sessions\n when you want to capture a number of stories quickly without clicking\n your way through the Tracker UI.\n "
38
+ version_requirements: *70139127365940
39
+ - !ruby/object:Gem::Dependency
40
+ name: ruby-debug19
41
+ requirement: &70139127365280 !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ~>
45
+ - !ruby/object:Gem::Version
46
+ version: 0.11.6
47
+ type: :development
48
+ prerelease: false
49
+ version_requirements: *70139127365280
50
+ - !ruby/object:Gem::Dependency
51
+ name: configuration
52
+ requirement: &70139127364620 !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ~>
56
+ - !ruby/object:Gem::Version
57
+ version: 1.2.0
58
+ type: :development
59
+ prerelease: false
60
+ version_requirements: *70139127364620
61
+ description: ! "\n Slurps stories from the given file (storiegem.slurper by default)
62
+ and creates\n Pivotal Tracker stories from them. Useful during story carding
63
+ sessions\n when you want to capture a number of stories quickly without clicking\n
64
+ \ your way through the Tracker UI.\n "
54
65
  email: dev@hashrocket.com
55
- executables:
66
+ executables:
56
67
  - slurp
57
68
  extensions: []
58
-
59
- extra_rdoc_files:
69
+ extra_rdoc_files:
60
70
  - README.rdoc
61
- files:
71
+ files:
62
72
  - bin/slurp
63
73
  - lib/slurper.rb
64
74
  - lib/story.rb
75
+ - lib/cacert.pem
65
76
  - README.rdoc
66
77
  - spec/slurper_spec.rb
67
78
  - spec/story_spec.rb
68
- has_rdoc: true
69
79
  homepage: http://github.com/hashrocket/slurper
70
80
  licenses: []
71
-
72
81
  post_install_message:
73
- rdoc_options:
82
+ rdoc_options:
74
83
  - --charset=UTF-8
75
- require_paths:
84
+ require_paths:
76
85
  - lib
77
- required_ruby_version: !ruby/object:Gem::Requirement
86
+ required_ruby_version: !ruby/object:Gem::Requirement
78
87
  none: false
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- segments:
83
- - 0
84
- version: "0"
85
- required_rubygems_version: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ! '>='
90
+ - !ruby/object:Gem::Version
91
+ version: '0'
92
+ required_rubygems_version: !ruby/object:Gem::Requirement
86
93
  none: false
87
- requirements:
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- segments:
91
- - 1
92
- - 3
93
- - 6
94
+ requirements:
95
+ - - ! '>='
96
+ - !ruby/object:Gem::Version
94
97
  version: 1.3.6
95
98
  requirements: []
96
-
97
99
  rubyforge_project:
98
- rubygems_version: 1.3.7
100
+ rubygems_version: 1.8.6
99
101
  signing_key:
100
102
  specification_version: 3
101
103
  summary: takes a formatted story file and puts it on Pivotal Tracker
102
- test_files:
104
+ test_files:
103
105
  - spec/slurper_spec.rb
104
106
  - spec/story_spec.rb