@@ -113,7 +113,7 @@ def target_arch
113113 it 'adds empty strings' do
114114 document [ :client ] [ :driver ] [ :name ] . should == 'mongo-ruby-driver|'
115115 document [ :client ] [ :driver ] [ :version ] . should == "#{ Mongo ::VERSION } |"
116- document [ :client ] [ :platform ] . should =~ /\A J?Ruby [^|]+\| \z /
116+ document [ :client ] [ :platform ] . should =~ /\A j?[Rr]uby [^|]+\| \z /
117117 end
118118 end
119119
@@ -125,7 +125,7 @@ def target_arch
125125 it 'adds the fields' do
126126 document [ :client ] [ :driver ] [ :name ] . should == 'mongo-ruby-driver|Mongoid'
127127 document [ :client ] [ :driver ] [ :version ] . should == "#{ Mongo ::VERSION } |"
128- document [ :client ] [ :platform ] . should =~ /\A J?Ruby [^|]+\| \z /
128+ document [ :client ] [ :platform ] . should =~ /\A j?[Rr]uby [^|]+\| \z /
129129 end
130130 end
131131
@@ -137,7 +137,7 @@ def target_arch
137137 it 'adds the fields' do
138138 document [ :client ] [ :driver ] [ :name ] . should == 'mongo-ruby-driver|Mongoid'
139139 document [ :client ] [ :driver ] [ :version ] . should == "#{ Mongo ::VERSION } |7.1.2"
140- document [ :client ] [ :platform ] . should =~ /\A J?Ruby [^|]+\| OS9000\z /
140+ document [ :client ] [ :platform ] . should =~ /\A j?[Rr]uby [^|]+\| OS9000\z /
141141 end
142142 end
143143 end
@@ -156,7 +156,7 @@ def target_arch
156156 it 'adds the fields' do
157157 document [ :client ] [ :driver ] [ :name ] . should == 'mongo-ruby-driver|Mongoid|'
158158 document [ :client ] [ :driver ] [ :version ] . should == "#{ Mongo ::VERSION } |42|4.0"
159- document [ :client ] [ :platform ] . should =~ /\A J?Ruby [^|]+\| \| OS9000\z /
159+ document [ :client ] [ :platform ] . should =~ /\A j?[Rr]uby [^|]+\| \| OS9000\z /
160160 end
161161 end
162162
@@ -171,7 +171,7 @@ def target_arch
171171 it 'adds the fields' do
172172 document [ :client ] [ :driver ] [ :name ] . should == 'mongo-ruby-driver|Mongoid|Rails'
173173 document [ :client ] [ :driver ] [ :version ] . should == "#{ Mongo ::VERSION } |7.1.2|6.0.3"
174- document [ :client ] [ :platform ] . should =~ /\A J?Ruby [^|]+\| \| \z /
174+ document [ :client ] [ :platform ] . should =~ /\A j?[Rr]uby [^|]+\| \| \z /
175175 end
176176 end
177177 end
0 commit comments