fjords-client 1.1.0 → 1.1.1

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: 338cdb591c08705dcd7ad0a87cae0a60fe03703c
4
+ data.tar.gz: 934c358cba012b59a99c16cd5c169bbb67896ffa
5
+ SHA512:
6
+ metadata.gz: 107e661e421448f5020e1be761c089d15d26e89763964ec10d9fa7cd65c453dbe542d7676907b1ef7b2e1b55ac0993cfd841b6b933097143c8d78f58ed08748a
7
+ data.tar.gz: a5750a18f1adca8edf0e049a15bca7f7fae070fa559c30b688f01916cf779ccdf8835ba644d28e228d6749d683a85d2adeda68150385cae65668cccf29e7506f
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = Fjords::Client::VERSION
17
17
 
18
- gem.add_dependency("rest-client", "1.6.7")
19
- gem.add_dependency("addressable", "2.3.2")
18
+ gem.add_dependency("rest-client", "~> 1.6.7")
19
+ gem.add_dependency("addressable", "~> 2.3.2")
20
20
  gem.add_dependency("stripe")
21
21
  end
@@ -455,23 +455,13 @@ module Fjords
455
455
  end
456
456
 
457
457
  def read_file(file)
458
- File.open(file, File::RDONLY) {|f|
459
- f.flock(File::LOCK_EX)
460
- contents = f.read
461
- f.flock(File::LOCK_UN)
462
- contents
463
- }
458
+ File.read(file)
464
459
  end
465
460
 
466
461
  def write_file(file, contents)
467
- File.open(file, File::RDWR | File::CREAT, 0600) {|f|
468
- f.flock(File::LOCK_EX)
469
- f.rewind
470
- f.puts contents
471
- f.flush
472
- f.truncate(f.pos)
473
- f.flock(File::LOCK_UN)
474
- }
462
+ File.open(file, 'w', 0600) do |f|
463
+ f.write(contents)
464
+ end
475
465
  end
476
466
  end
477
467
  end
@@ -1,5 +1,5 @@
1
1
  module Fjords
2
2
  class Client
3
- VERSION = "1.1.0"
3
+ VERSION = "1.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,62 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fjords-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
5
- prerelease:
4
+ version: 1.1.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Thomas Reynolds
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-03-11 00:00:00.000000000 Z
11
+ date: 2013-12-09 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rest-client
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - '='
17
+ - - ~>
20
18
  - !ruby/object:Gem::Version
21
19
  version: 1.6.7
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - '='
24
+ - - ~>
28
25
  - !ruby/object:Gem::Version
29
26
  version: 1.6.7
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: addressable
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - '='
31
+ - - ~>
36
32
  - !ruby/object:Gem::Version
37
33
  version: 2.3.2
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - '='
38
+ - - ~>
44
39
  - !ruby/object:Gem::Version
45
40
  version: 2.3.2
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: stripe
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  description: Fjords.cc API
@@ -78,33 +71,26 @@ files:
78
71
  - spec/spec_helper.rb
79
72
  homepage: ''
80
73
  licenses: []
74
+ metadata: {}
81
75
  post_install_message:
82
76
  rdoc_options: []
83
77
  require_paths:
84
78
  - lib
85
79
  required_ruby_version: !ruby/object:Gem::Requirement
86
- none: false
87
80
  requirements:
88
- - - ! '>='
81
+ - - '>='
89
82
  - !ruby/object:Gem::Version
90
83
  version: '0'
91
- segments:
92
- - 0
93
- hash: -4162474409175055862
94
84
  required_rubygems_version: !ruby/object:Gem::Requirement
95
- none: false
96
85
  requirements:
97
- - - ! '>='
86
+ - - '>='
98
87
  - !ruby/object:Gem::Version
99
88
  version: '0'
100
- segments:
101
- - 0
102
- hash: -4162474409175055862
103
89
  requirements: []
104
90
  rubyforge_project:
105
- rubygems_version: 1.8.23
91
+ rubygems_version: 2.1.11
106
92
  signing_key:
107
- specification_version: 3
93
+ specification_version: 4
108
94
  summary: Fjords.cc API
109
95
  test_files:
110
96
  - spec/logged_in_spec.rb