Skip to content
This repository was archived by the owner on Oct 9, 2020. It is now read-only.

Commit 7a536b0

Browse files
author
Martin Liberg
committed
added newline at the end of files
1 parent 0093c91 commit 7a536b0

29 files changed

+29
-29
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ log/*.log
33
pkg/
44
*.gem
55
.idea
6-
*.iml
6+
*.iml

.rspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
--color
2-
--format progress
2+
--format progress

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ rvm:
44
- 2.0.0
55
- 2.1.1
66
- 2.1.0
7-
script: bundle exec rspec spec
7+
script: bundle exec rspec spec

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
source "https://rubygems.org"
22

3-
gemspec
3+
gemspec

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,4 +263,4 @@ ApiModel::HttpRequest.class_eval do
263263
end
264264
end
265265
end
266-
```
266+
```

lib/api-model.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ class Base
5151
include InstanceMethods
5252
end
5353

54-
end
54+
end

lib/api_model/assignment.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ def update_attributes(values={})
1717
end
1818

1919
end
20-
end
20+
end

lib/api_model/builder/hash.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ def build(response)
88

99
end
1010
end
11-
end
11+
end

lib/api_model/cache_stategy/no_cache.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ def cache(&block)
1111

1212
end
1313
end
14-
end
14+
end

lib/api_model/class_methods.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ def cache(path, &block)
4545
end
4646

4747
end
48-
end
48+
end

lib/api_model/configuration.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ def api_config
5555

5656
end
5757
end
58-
end
58+
end

lib/api_model/http_request.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ def set_default_options
4545
end
4646

4747
end
48-
end
48+
end

lib/api_model/initializer.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ def initialize(values={})
1515
end
1616

1717
end
18-
end
18+
end

lib/api_model/instance_methods.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@ def properties_hash
8282
end
8383

8484
end
85-
end
85+
end

lib/api_model/response.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,4 @@ def response_build_hash
106106
end
107107

108108
end
109-
end
109+
end

lib/api_model/response_parser/json.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ def parse(body)
1111

1212
end
1313
end
14-
end
14+
end

spec/api-model/api_model_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,4 +348,4 @@ def initialized; end
348348
end
349349
end
350350

351-
end
351+
end

spec/api-model/configuration_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,4 +140,4 @@ def build(response)
140140
Banana.api_model_configuration.host.should eq "new-host.com"
141141
end
142142

143-
end
143+
end

spec/api-model/http_request_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@ def do_something_before_run; end
8282
request.api_call.success?.should eq true
8383
end
8484
end
85-
end
85+
end

spec/api-model/initializer_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@
3131
Banana.new foo: "bar"
3232
end
3333

34-
end
34+
end

spec/api-model/json_response_parser_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
}.to_not raise_error
1515
end
1616

17-
end
17+
end

spec/api-model/response_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,4 +211,4 @@
211211
end
212212
end
213213

214-
end
214+
end

spec/spec_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
ApiModel::Base.reset_api_configuration
2222
end
2323

24-
end
24+
end

spec/support/fixtures/cookies.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ http_interactions:
2727
encoding: UTF-8
2828
string: "{}"
2929
http_version:
30-
recorded_at: Thu, 28 Nov 2013 16:02:20 GMT
30+
recorded_at: Thu, 28 Nov 2013 16:02:20 GMT

spec/support/mock_models/banana.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ class Banana < ApiModel::Base
22
attribute :color, String
33
attribute :size, String
44
attribute :ripe, Boolean
5-
end
5+
end

spec/support/mock_models/blog_post.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ def build(hash)
88
end
99
end
1010

11-
end
11+
end

spec/support/mock_models/car.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ def is_fast?
1616
top_speed > 300
1717
end
1818

19-
end
19+
end

spec/support/mock_models/multiple_hosts.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ class MultipleHostsBar < ApiModel::Base
1111
end
1212

1313
class MultipleHostsNone < ApiModel::Base
14-
end
14+
end

spec/support/mock_models/user.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
class User < ApiModel::Base
22
attribute :name, String
33
attribute :email_address, String
4-
end
4+
end

0 commit comments

Comments
 (0)